Possible bug in gdb 6.7.1
Joel Sherrill
joel.sherrill@oarcorp.com
Tue Apr 1 18:09:00 GMT 2008
Hi,
I accidentally did something stupid and think I tripped a bug in
gdb. I was on an i386 target remotely debugging using a
remote target to qemu. I switch targets a lot and accidentally
looked at $pc instead of $eip.
(gdb) p/x $pc
../../gdb-6.7.1/gdb/regcache.c:164: 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.
Quit this debugging session? (y or n) n
Seems a little harsh for a bad register name from the
command line, doesn't it. :D
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the Gdb
mailing list