For the simple "hello world" program appended, the command sequence
b main
run
ptype $pc
causes an internal GDB error:
.../gdb/regcache.c:163: internal-error: register_type: Assertion `regnum >=
0 && regnum < descr->nr_cooked_registers' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
when run on i686 GNU/Linux with recent sources:
GNU gdb 6.6.50.20070307-cvs
Program compiled with GCC 4.1.2 derivate.
Paul Hilfinger
-----------------------------foo.c---------------------------------------
#include <stdio.h>
main ()
{
printf ("Hello, world!\n");
}
_______________________________________________
bug-gdb mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gdb