From owner-freebsd-arm@FreeBSD.ORG Thu Apr 18 02:43:55 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1A300180; Thu, 18 Apr 2013 02:43:55 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from mail105.syd.optusnet.com.au (mail105.syd.optusnet.com.au [211.29.132.249]) by mx1.freebsd.org (Postfix) with ESMTP id D7D3433C; Thu, 18 Apr 2013 02:43:54 +0000 (UTC) Received: from bender (unknown [49.176.34.32]) by mail105.syd.optusnet.com.au (Postfix) with ESMTP id 41EA81040AD0; Thu, 18 Apr 2013 12:24:06 +1000 (EST) Date: Thu, 18 Apr 2013 12:24:07 +1000 From: Andrew Turner To: Tim Kientzle Subject: Re: GDB on EABI Message-ID: <20130418122407.2671bab9@bender> In-Reply-To: <20130415124510.46f76bec@bender> References: <20130415124510.46f76bec@bender> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Optus-CM-Score: 0 X-Optus-CM-Analysis: v=2.0 cv=Ov0XUFDt c=1 sm=1 a=t/GRKaPioOUEeYUB/lRhtQ==:17 a=kj9zAlcOel0A:10 a=fNUWLwDUyLIA:10 a=6I5d2MoRAAAA:8 a=zYm8Ao0PF6J9By_vEdQA:9 a=CjuIK1q_8ugA:10 a=SV7veod9ZcQA:10 a=t/GRKaPioOUEeYUB/lRhtQ==:117 Cc: freebsd-arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Apr 2013 02:43:55 -0000 On Mon, 15 Apr 2013 12:45:10 +1000 Andrew Turner wrote: > On Sun, 14 Apr 2013 11:45:00 -0700 > Tim Kientzle 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