Re: 2.6 kgdb without serial port

From: Andrew Morton
Date: Fri Dec 26 2003 - 14:11:02 EST


Pavel Machek <pavel@xxxxxx> wrote:
>
> Hi!
>
> > > 2.6 kgdb patches in -mm tree seem to contain kgdb-over-ethernet stuff,
> > > but still require me to fill in serial port interrupt/address. Is
> > > there easy way to make it work without serial port? [This notebook has
> > > none :-(].
> >
> > That's a bit ugly, but things should still work OK? Give it some random
> > UART address but specify an ethernet connection at boot time - the kgdb
> > stub should never touch the UART.
>
> I found out what was biting me: using 2.95 with kgdb is bad idea. 2.95
> with kgdb means reboot just after uncompressing kernel -- pretty nasty
> to debug. Please apply,

I've been using 2.95.3 on and off for ages, no problems?

> PS: kgdb could use some code-style changes. Will you accept such
> patches?

Spose so. The kgdb stub really needs a serious reorganisation so that
non-ia32 architectures can share generic things. And general reduction of
the patch footprint, maybe some feature removal too. A fairly large job.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/