Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Possible bug in gdb 6.7.1
@ 2008-04-01 18:09 Joel Sherrill
  2008-04-01 18:16 ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: Joel Sherrill @ 2008-04-01 18:09 UTC (permalink / raw)
  To: gdb, Ralf Corsepius

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-04-01 20:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-01 18:09 Possible bug in gdb 6.7.1 Joel Sherrill
2008-04-01 18:16 ` Daniel Jacobowitz
2008-04-01 18:20   ` Joel Sherrill
2008-04-01 20:09     ` Joel Brobecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox