This is the mail archive of the
mailing list for the GDB project.
Possible bug in gdb 6.7.1
- From: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- To: <gdb at sourceware dot org>, Ralf Corsepius <ralf dot corsepius at rtems dot org>
- Date: Tue, 1 Apr 2008 13:09:28 -0500
- Subject: Possible bug in gdb 6.7.1
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