Help: problem with gdb

Bizhan Gholikhamseh (bgholikh) bgholikh at
Thu Jul 13 07:47:26 EST 2006

We are running Linux 2.6.11 on our platform with MPC8541.
One of the application gets segmentation fault and creates core dump
upon exit.
I moved the core dump to the development environment and when I try to
gdb on the core dump I get the following gdb internal errors. If you
any idea to help I greatly apprieciate. Many thanks in advance,
[bizhan at vs ~]$ powerpc-linux-gdb app
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
welcome to change it and/or distribute copies of it under certain
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
This GDB was configured as "--host=i386-pc-linux-gnu
(no debugging symbols found)...
Core was generated by `/usr/local/bin/cma'.
Program terminated with signal 11, Segmentation fault.
../../../gdb-5.3/gdb/regcache.c:472: gdb-internal-error:
set_register_cached: Assertion `regnum <
current_regcache->descr->nr_raw_registers' failed.
An internal GDB error was detected.  This may make further
debugging unreliable.  Quit this debugging session? (y or n) 
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Linuxppc-embedded mailing list