Hi Amit,
   Thanks alot for your help.
We are able to apply the patch and connect to target using serial port.As soon as  connected ,the gdb control going to BREAKPOINT() in the breakpoint()( in kernel/kgdb.c).
After that if we try "next" or "step" commands, it is hanging and not getting gdb prompt
We are using gdb-6.3 version. 
Can you please tell us what might be the problem? Have we missed anything?.
Thank you once again.
Please find the gdb dump below
 
Regards,
Sathesh
 
 
Remote debugging using /dev/ttyS0
0xffffffff80066628 in breakinst () at kernel/kgdb.c:1753
1753            BREAKPOINT();
(gdb) n
[New Thread 32768]

[1]+  Stopped                 /usr/local/bin/mips-linux-elf-gdb linux-mips-2.6.12/vmlinux
[EMAIL PROTECTED] mips_linux-2.6_may05]# /usr/local/bin/mips-linux-elf-gdb linux-mips-2.6.12/vmlinux
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=mips-linux-elf"...(gdb) set remotebaud 57600
(gdb) target remote /dev/ttyS0
Remote debugging using /dev/ttyS0
0xffffffff80066628 in breakinst () at kernel/kgdb.c:1753
1753            BREAKPOINT();
(gdb) s


"Amit S. Kale" <[EMAIL PROTECTED]> wrote:
Sathesh,

You'll need to checkout a kgdb patch for 2.6.12 version from kgdb cvs (more
info at http://kgdb.linsyssoft.com/cvs.htm) Check the ChangeLog file from
kgdb-2 directory. It'll indicate the date on which the cvs patches were at
2.6.12 kernel level. Checkout a cvs tree of that date.

-Amit
LinSysSoft Technologies
Ask me about KGDB Pro
http://www.linsyssoft.com/Kgdbpro.html


On Tuesday 09 May 2006 14:03, Sathesh Babu Edara wrote:
> Hi ,
> We have been trying to port KGDB onto MIPS based processor ( R3000 type and
> lx4189) using Linux-mips-2.6.12 kernel version.
> We would like to know the following:
> 1) Does linux-mips-2.6.12 kernel distribution itself contain support for
> KGDB?
> If YES, How to enable this and in addition do we need to apply any patches
> to make it work properly.
> If NO where can i get appropriate patches or sources for KGDB?
> 2) We searched patches for KGDB,we see patches for 2.6.10&2.6.13 kernel
> versions. We haven't seen any patches for 2.6.12 kernel version.
> Can you please guide us in bringing up KGDB on MIPS.
> Thanks in advance.
> Have a nice day.
> Regards,
> Sathesh


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport


Yahoo! India Answers: Share what you know. Learn something new. Click here
Send instant messages to your online friends - NOW

Reply via email to