Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Joel Sherrill <joel.sherrill@oarcorp.com>
To: <gdb@sourceware.org>, Ralf Corsepius <ralf.corsepius@rtems.org>
Subject: Possible bug in gdb 6.7.1
Date: Tue, 01 Apr 2008 18:09:00 -0000	[thread overview]
Message-ID: <47F27A58.8010903@oarcorp.com> (raw)

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



             reply	other threads:[~2008-04-01 18:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-01 18:09 Joel Sherrill [this message]
2008-04-01 18:16 ` Daniel Jacobowitz
2008-04-01 18:20   ` Joel Sherrill
2008-04-01 20:09     ` Joel Brobecker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47F27A58.8010903@oarcorp.com \
    --to=joel.sherrill@oarcorp.com \
    --cc=gdb@sourceware.org \
    --cc=ralf.corsepius@rtems.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox