linux-mips
[Top] [All Lists]

Re: porting KGDB onto MIPS24K processor running linux-2.6.18.8

To: veerasena reddy <veerasena_b@yahoo.co.in>
Subject: Re: porting KGDB onto MIPS24K processor running linux-2.6.18.8
From: Ralf Baechle <ralf@linux-mips.org>
Date: Wed, 31 Oct 2007 13:06:22 +0000
Cc: linux-mips <linux-mips@linux-mips.org>, "linux-kernel.org" <linux-kernel@vger.kernel.org>
In-reply-to: <245251.43610.qm@web8413.mail.in.yahoo.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <245251.43610.qm@web8413.mail.in.yahoo.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.14 (2007-02-12)
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

<Prev in Thread] Current Thread [Next in Thread>