This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "print $f0" yields gdb-internal-error for arm-elf target


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]