* kgdb support
@ 1999-11-24 19:00 Jeff Harrell
1999-11-24 19:43 ` Ulf Carlsson
0 siblings, 1 reply; 6+ messages in thread
From: Jeff Harrell @ 1999-11-24 19:00 UTC (permalink / raw)
To: linux, linux-mips, linux-mips; +Cc: bbrown, mhassler, vwells, kmcdonald
In the process of looking through the MIPS/Linux code base, I noticed that the
kgdb interface seems to support the ZS85C30 (see the function rs_kgdb_hook)
but do not see where the generic serial interface (i.e. /drivers/char/serial.c)
is supported. Is the kgdb support provided through the file gdb-stub.c? Any
help would be greatly appreciated.
Thanks,
Jeff Harrell
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jeff Harrell Work: (801) 984-0183
Broadband Access group/TI
jharrell@ti.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: kgdb support
1999-11-24 19:00 kgdb support Jeff Harrell
@ 1999-11-24 19:43 ` Ulf Carlsson
1999-11-24 20:50 ` Jeff Harrell
0 siblings, 1 reply; 6+ messages in thread
From: Ulf Carlsson @ 1999-11-24 19:43 UTC (permalink / raw)
To: Jeff Harrell; +Cc: linux, linux-mips
On Wed, Nov 24, 1999 at 12:00:56PM -0700, Jeff Harrell wrote:
> In the process of looking through the MIPS/Linux code base, I noticed that
> the kgdb interface seems to support the ZS85C30 (see the function
> rs_kgdb_hook) but do not see where the generic serial interface (i.e.
> /drivers/char/serial.c) is supported. Is the kgdb support provided through
> the file gdb-stub.c? Any help would be greatly appreciated.
The kgdb that comes from ftp.gcom.com:/pub/linux/src provides support for normal
serial ports if that's what you're looking for. You may be able to use that
serial driver with the gdb-stub.c that we have in arch/mips/kernel provided
enough time to get the things together. What are you trying to do?
Ulf
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: kgdb support
1999-11-24 19:43 ` Ulf Carlsson
@ 1999-11-24 20:50 ` Jeff Harrell
1999-11-24 22:24 ` Ulf Carlsson
0 siblings, 1 reply; 6+ messages in thread
From: Jeff Harrell @ 1999-11-24 20:50 UTC (permalink / raw)
To: Ulf Carlsson
Cc: linux, linux-mips, linux-mips, bbrown, mhassler, vwells,
kmcdonald
Ulf Carlsson wrote:
> On Wed, Nov 24, 1999 at 12:00:56PM -0700, Jeff Harrell wrote:
> > In the process of looking through the MIPS/Linux code base, I noticed that
> > the kgdb interface seems to support the ZS85C30 (see the function
> > rs_kgdb_hook) but do not see where the generic serial interface (i.e.
> > /drivers/char/serial.c) is supported. Is the kgdb support provided through
> > the file gdb-stub.c? Any help would be greatly appreciated.
>
> The kgdb that comes from ftp.gcom.com:/pub/linux/src provides support for normal
> serial ports if that's what you're looking for. You may be able to use that
> serial driver with the gdb-stub.c that we have in arch/mips/kernel provided
> enough time to get the things together. What are you trying to do?
>
> Ulf
I am porting the MIPS/Linux version of the Linux kernel to a IDT79S145 evaluation
board. This board has a
IDT64475 (MIPS). I would like to use a standard serial port as a kgdb port. I
will use my other serial port for the
console port. Could you provide any additional information regarding the kgdb
interface? Is kgdb a standalone
application that would need to be built on the host to access a target board or is
it a patch to the kernel files that needs
to built into the kernel running on the host?
Jeff
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jeff Harrell Work: (801) 984-0183
Broadband Access group/TI
jharrell@ti.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: kgdb support
1999-11-24 20:50 ` Jeff Harrell
@ 1999-11-24 22:24 ` Ulf Carlsson
1999-11-26 10:04 ` X-Window Server Fernando Cela Diaz
0 siblings, 1 reply; 6+ messages in thread
From: Ulf Carlsson @ 1999-11-24 22:24 UTC (permalink / raw)
To: Jeff Harrell
Cc: linux, linux-mips, linux-mips, bbrown, mhassler, vwells,
kmcdonald
> I am porting the MIPS/Linux version of the Linux kernel to a IDT79S145
> evaluation board. This board has a IDT64475 (MIPS). I would like to use a
> standard serial port as a kgdb port. I will use my other serial port for the
> console port. Could you provide any additional information regarding the kgdb
> interface? Is kgdb a standalone application that would need to be built on
> the host to access a target board or is it a patch to the kernel files that
> needs to built into the kernel running on the host?
I think kgdb basically is the same thing as gdb-stubs was, they just renamed it
for some reason. There is a program that comes with gdb-stubs that will let you
drop into kgdb over the serial line if you run it on the target. You don't need
anything else than gdb to actually run the stuff once the kernel on the target
machine is in the kgdb mode. If you get a kernel fault, it will automatically
drop into kgdb. Read the patch and you'll see.
Scott Lurndal is currently working on support for kdb on MIPS, and that will
make things a bit easier when it's working. Do not exchange kgdb and kdb, they
are two different things :-).
Ulf
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1999-11-26 15:20 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-11-24 19:00 kgdb support Jeff Harrell
1999-11-24 19:43 ` Ulf Carlsson
1999-11-24 20:50 ` Jeff Harrell
1999-11-24 22:24 ` Ulf Carlsson
1999-11-26 10:04 ` X-Window Server Fernando Cela Diaz
1999-11-26 10:04 ` Fernando Cela Diaz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox