Re: porting KGDB onto MIPS24K processor running linux-2.6.18.8

From: Ralf Baechle
Date: Wed Oct 31 2007 - 09:07:00 EST


On Wed, Oct 31, 2007 at 03:32:58PM +0530, veerasena reddy wrote:

> I would like to port KGDB on MIPS24K target processor which is running linux-2.6.18.8 kernel.
> Could you please guide me, where can I get the appropriate KGDB patch for 2.6.18.8 kernel?

Generic MIPS KGDB support is in the kernel. You will need to add two
functions getDebugChar and putDebugChar to do the debug I/O plus whatever
initialization the KGDB serial interface needs and have your platform
set SYS_SUPPORTS_KGDB in Kconfig to indicate it actually supports KGDB.

Ralf
-
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/