* 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
* Re: Possible bug in gdb 6.7.1
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
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2008-04-01 18:16 UTC (permalink / raw)
To: Joel Sherrill; +Cc: gdb, Ralf Corsepius
On Tue, Apr 01, 2008 at 01:09:28PM -0500, Joel Sherrill wrote:
> 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.
Try GDB 6.8, which should fix this.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Possible bug in gdb 6.7.1
2008-04-01 18:16 ` Daniel Jacobowitz
@ 2008-04-01 18:20 ` Joel Sherrill
2008-04-01 20:09 ` Joel Brobecker
0 siblings, 1 reply; 4+ messages in thread
From: Joel Sherrill @ 2008-04-01 18:20 UTC (permalink / raw)
To: Joel Sherrill, gdb, Ralf Corsepius
Daniel Jacobowitz wrote:
> On Tue, Apr 01, 2008 at 01:09:28PM -0500, Joel Sherrill wrote:
>
>> 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.
>>
>
> Try GDB 6.8, which should fix this.
>
Wow! That was quick. You fixed it and made a release. :-D
Is the gdb webpage right now? The 6.8 news is there but the
download link above it still says 6.7.1.
Thanks for the quick reply.
> --
> Daniel Jacobowitz
> CodeSourcery
>
--joel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Possible bug in gdb 6.7.1
2008-04-01 18:20 ` Joel Sherrill
@ 2008-04-01 20:09 ` Joel Brobecker
0 siblings, 0 replies; 4+ messages in thread
From: Joel Brobecker @ 2008-04-01 20:09 UTC (permalink / raw)
To: Joel Sherrill; +Cc: gdb, Ralf Corsepius
Hi Joel,
> Is the gdb webpage right now? The 6.8 news is there but the
> download link above it still says 6.7.1.
Thanks for pointing this out. I missed it when I last updated
the web pages, but it should now be fixed. Thankfully, the target
links were OK.
--
Joel
^ 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