Re: PPC KGDB changes and some help?

From: Tom Rini
Date: Wed Jan 21 2004 - 17:06:37 EST


On Wed, Jan 21, 2004 at 12:21:28PM -0700, Tom Rini wrote:
> On Wed, Jan 21, 2004 at 11:42:17AM -0700, Tom Rini wrote:
> > On Wed, Jan 21, 2004 at 10:23:12PM +0530, Amit S. Kale wrote:
> >
> > > Hi,
> > >
> > > Here it is: ppc kgdb from timesys kernel is available at
> > > http://kgdb.sourceforge.net/kgdb-2/linux-2.6.1-kgdb-2.1.0.tar.bz2
> > >
> > > This is my attempt at extracting kgdb from TimeSys kernel. It works well in
> > > TimeSys kernel, so blame me if above patch doesn't work.
> >
> > Okay, here's my first patch against this.
>
> And dependant upon this is a patch to fixup the rest of the common PPC
> code, as follows:

And this should have also been in this patch:

--- 1.49/arch/ppc/Kconfig Wed Jan 21 12:21:23 2004
+++ edited/arch/ppc/Kconfig Wed Jan 21 12:47:52 2004
@@ -1374,12 +1374,11 @@
this option if you do not want to compromise on speed.

config KGDB_CONSOLE
- bool "Enable serial console thru kgdb port"
- depends on KGDB && 8xx || 8260
+ bool "KGDB: Console messages through gdb"
+ depends on KGDB
help
- If you enable this, all serial console messages will be sent
- over the gdb stub.
- If unsure, say N.
+ If you say Y here, console messages will appear through gdb.
+ Other consoles such as tty or ttyS will continue to work as usual.

config XMON
bool "Include xmon kernel debugger"

--
Tom Rini
http://gate.crashing.org/~trini/
-
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/