Re: lan based kgdb

From: Andrew Morton (
Date: Fri Nov 15 2002 - 17:51:11 EST

Stelian Pop wrote:
> On Fri, Nov 15, 2002 at 09:26:00PM +0000, Linus Torvalds wrote:
> > I dunno. I might even be willing to apply kgdb patches to my tree if it
> > just could use the regular network card I already have connected on all
> > my machines. None of my laptops have a serial line, for example, but
> > they all have networking.
> >
> > Soon even _desktops_ probably won't have serial lines any more, only USB.
> 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?
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