* "print $f0" yields gdb-internal-error for arm-elf target
@ 2003-07-09 15:45 John Dallaway
2003-07-09 18:04 ` John Dallaway
0 siblings, 1 reply; 2+ messages in thread
From: John Dallaway @ 2003-07-09 15:45 UTC (permalink / raw)
To: gdb
arm-elf-gdb (version 5.3) knows about floating point registers f0-f7 but
yields an internal error when a user attempts to print the content of these
registers due to conflicting raw and virtual register sizes. I have
appended an example. This is a big problem for Eclipse/CDT which triggers
the same problem when using GDB/MI to display the content of all registers
known to GDB. Ref:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=39648
I have attempted to submit a GDB bug report but the gnatsweb form responds:
An error occured while loading
http://sources.redhat.com/cgi-bin/gnatsweb.pl/1:
Connection to host sources.redhat.com is broken
John Dallaway
--cut here--
(gdb) info all-registers
r0 0x41008a08 1090554376
r1 0x8520 34080
r2 0x50 80
r3 0xcf7c 53116
r4 0xada8 44456
r5 0x1 1
r6 0x0 0
r7 0x14b00 84736
r8 0x0 0
r9 0xadc0 44480
r10 0x50 80
r11 0xadb8 44472
r12 0xadbc 44476
sp 0xfffffc 16777212
lr 0x41008db4 1090555316
pc 0x108000 1081344
f0 0 (raw 0x000000000000000000000000)
f1 0 (raw 0x000000000000000000000000)
f2 0 (raw 0x000000000000000000000000)
f3 0 (raw 0x000000000000000000000000)
f4 0 (raw 0x000000000000000000000000)
f5 0 (raw 0x000000000000000000000000)
f6 0 (raw 0x000000000000000000000000)
f7 0 (raw 0x000000000000000000000000)
fps 0x0 0
cpsr 0x200000d3 536871123
(gdb) print $f0
/tools/src/insight-5.3/gdb/findvar.c:334: gdb-internal-error: Register "f0"
(16) has conflicting raw (12) and virtual (8) size
An internal GDB error was detected. This may make further
debugging unreliable. Quit this debugging session? (y or n) y
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: "print $f0" yields gdb-internal-error for arm-elf target
2003-07-09 15:45 "print $f0" yields gdb-internal-error for arm-elf target John Dallaway
@ 2003-07-09 18:04 ` John Dallaway
0 siblings, 0 replies; 2+ messages in thread
From: John Dallaway @ 2003-07-09 18:04 UTC (permalink / raw)
To: gdb
A GDB bug report has now been submitted (PR 1276).
John Dallaway
-----Original Message-----
From: John Dallaway
Date: Wednesday 09 Jul 2003 16:45
Subject: "print $f0" yields gdb-internal-error for arm-elf target
> arm-elf-gdb (version 5.3) knows about floating point registers f0-f7 but
> yields an internal error when a user attempts to print the content of
> these registers due to conflicting raw and virtual register sizes. I have
> appended an example. This is a big problem for Eclipse/CDT which triggers
> the same problem when using GDB/MI to display the content of all
> registers known to GDB. Ref:
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=39648
>
> I have attempted to submit a GDB bug report but the gnatsweb form
> responds:
>
> An error occured while loading
> http://sources.redhat.com/cgi-bin/gnatsweb.pl/1:
> Connection to host sources.redhat.com is broken
>
> John Dallaway
>
> --cut here--
>
> (gdb) info all-registers
> r0 0x41008a08 1090554376
> r1 0x8520 34080
> r2 0x50 80
> r3 0xcf7c 53116
> r4 0xada8 44456
> r5 0x1 1
> r6 0x0 0
> r7 0x14b00 84736
> r8 0x0 0
> r9 0xadc0 44480
> r10 0x50 80
> r11 0xadb8 44472
> r12 0xadbc 44476
> sp 0xfffffc 16777212
> lr 0x41008db4 1090555316
> pc 0x108000 1081344
> f0 0 (raw 0x000000000000000000000000)
> f1 0 (raw 0x000000000000000000000000)
> f2 0 (raw 0x000000000000000000000000)
> f3 0 (raw 0x000000000000000000000000)
> f4 0 (raw 0x000000000000000000000000)
> f5 0 (raw 0x000000000000000000000000)
> f6 0 (raw 0x000000000000000000000000)
> f7 0 (raw 0x000000000000000000000000)
> fps 0x0 0
> cpsr 0x200000d3 536871123
> (gdb) print $f0
> /tools/src/insight-5.3/gdb/findvar.c:334: gdb-internal-error: Register
> "f0" (16) has conflicting raw (12) and virtual (8) size
> An internal GDB error was detected. This may make further
> debugging unreliable. Quit this debugging session? (y or n) y
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-07-09 18:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-09 15:45 "print $f0" yields gdb-internal-error for arm-elf target John Dallaway
2003-07-09 18:04 ` John Dallaway
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).