Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Apr 2013 12:24:07 +1000
From:      Andrew Turner <andrew@fubar.geek.nz>
To:        Tim Kientzle <kientzle@freebsd.org>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: GDB on EABI
Message-ID:  <20130418122407.2671bab9@bender>
In-Reply-To: <20130415124510.46f76bec@bender>
References:  <FCA527AD-F91F-46B8-9D28-340FCCE7FFF8@freebsd.org> <20130415124510.46f76bec@bender>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 15 Apr 2013 12:45:10 +1000
Andrew Turner <andrew@fubar.geek.nz> wrote:

> On Sun, 14 Apr 2013 11:45:00 -0700
> Tim Kientzle <kientzle@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130418122407.2671bab9>