Re: lan based kgdb

From: Stelian Pop (
Date: Fri Nov 15 2002 - 17:59:32 EST

On Fri, Nov 15, 2002 at 02:51:11PM -0800, Andrew Morton wrote:

> > Using USB instead of the serial line or the network card would be
> > the best IMHO, because:
> Here is the kgdb stub's "send a byte" function:
> static void
> write_char(int chr)
> {
> while (!(inb(gdb_port + UART_LSR) & UART_LSR_THRE)) ;
> outb(chr, gdb_port + UART_TX);
> }
> Need I say more?

I already know that, but this is not the point. The point is that
more and more boxes have no serial (or paralel) ports.

But even on those boxes, sometimes I'd just love to be able to use
kgdb. And I can't.

Ok, it will have to be at a higher level than the inb/outb serial
transport implementation (with possible bad effects on what can
and what cannot be debugged), but still, I feel there is a need
for that.

USB (with USB-to-serial adapter), network, ieee1394 would be
acceptable replacements for me.


Stelian Pop <>
Alcove -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:39 EST