GDB on EABI
Andrew Turner
andrew at fubar.geek.nz
Thu Apr 18 02:43:55 UTC 2013
On Mon, 15 Apr 2013 12:45:10 +1000
Andrew Turner <andrew at fubar.geek.nz> wrote:
> On Sun, 14 Apr 2013 11:45:00 -0700
> Tim Kientzle <kientzle at freebsd.org> wrote:
>
> > On RPI with a recent -CURRENT (r249461) built -DWITH_ARM_EABI.
> >
> > Looks like GDB doesn't yet know about our EABI variant:
> >
> > ...../contrib/gdb/gdb/arm-tdep.c:2589: internal-error:
> > arm_elf_osabi_sniffer: Unknown ARM EABI version 0x5000000
> This is gdb failing to correctly determine the ABI from the .note.tag
> section. I made a change in [1] to use this section, however it
> appears to not be working correctly here.
>
> The reason it complains about the EABI version is because gdb uses it
> if it is unable to determine the ABI by other means. As is is unneeded
> for FreeBSD I haven't taught gdb about the above EABI version so it
> complains to not know about it.
This should be fixed in r249603.
Andrew
More information about the freebsd-arm
mailing list