Comments inline.

Dipak Dudhabhate wrote:
> Hi milind,
> Now i am succeed in setting kgdb for remote debugging. Now problem is 
> when i do backtrace gdb is not displaying all information. It is 
> showing only addresses. Again i am not able to set break point because 
> i do not know how to load symbols for remote kernel.
>
> please help out, following is gdb o/p that shows backtrace o/p.
> thanks 
>
>
> [EMAIL PROTECTED] boot]# gdb vmlinuz
> GNU gdb Red Hat Linux (6.3.0.0-1.21rh)
> 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 "i386-redhat-linux-gnu"..."/boot/vmlinuz": 
> not in executable format: File format not recognized
Are you sure that you are giving proper executable to gdb at command 
line? We are supposed to give vmlinux, which has  information about 
addresses of functions and variables in it. You gdb is not able to read 
executable you have provided and thats why "backtrace" is not 
descriptive with function names.
>
> (gdb) target remote /dev/pts/2
> Remote debugging using /dev/pts/2
> 0xc014086b in ?? ()
> (gdb) bt
> #0  0xc014086b in ?? ()
> #1  0xc0357304 in ?? ()
> #2  0xc0426f3c in ?? ()
> #3  0xc0436645 in ?? ()
> #4  0xc0426f64 in ?? ()
> #5  0xc0427652 in ?? ()
> #6  0xc011d5a0 in ?? ()
> #7  0xc0426fd4 in ?? ()
> #8  0x00000000 in ?? ()
> (gdb) c
>
>
>
> -- 
> ---------------------------------------------------------------------
> Dipak Dudhabhate
> ---------------------------------------------------------------------
>
>
> S P Software Technologies (I) Pvt. Ltd.
> (ISO 9001:2000 Company) 
> 'Parthsarathi', S. No. 12/6, Kothrud, 
> Pune - 411 038. Maharashtra, 
> INDIA 
> --------------------------------------------------------------------- 
> Tel # : + 91 –020 – 65006983 / 65007503 / 65006154
> Fax # : + 91 –020 – 25411295
> ---------------------------------------------------------------------
> Visit us at: www.spsoftindia.com <http://www.spsoftindia.com>
> ---------------------------------------------------------------------
>         
>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Kgdb-bugreport mailing list
Kgdb-bugreport@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to