2007-10-31 10:08:32

by veerasena reddy

[permalink] [raw]
Subject: porting KGDB onto MIPS24K processor running linux-2.6.18.8

Hi,

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?

Thanks in advance.

Regards,
Veerasena.


5, 50, 500, 5000 - Store N number of mails in your inbox. Go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html


2007-10-31 13:06:58

by Ralf Baechle

[permalink] [raw]
Subject: Re: porting KGDB onto MIPS24K processor running linux-2.6.18.8

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