From owner-svn-src-head@freebsd.org Fri Oct 30 13:53:17 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E7B43A1E4F8; Fri, 30 Oct 2015 13:53:17 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from kif.fubar.geek.nz (kif.fubar.geek.nz [178.62.119.249]) by mx1.freebsd.org (Postfix) with ESMTP id B653E1B1A; Fri, 30 Oct 2015 13:53:17 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from bender (global-5-144.nat-2.net.cam.ac.uk [131.111.5.144]) by kif.fubar.geek.nz (Postfix) with ESMTPSA id 5ACF6D7900; Fri, 30 Oct 2015 13:52:47 +0000 (UTC) Date: Fri, 30 Oct 2015 13:52:45 +0000 From: Andrew Turner To: Zbigniew Bodek Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r290192 - head/contrib/gdb/gdb Message-ID: <20151030135245.5c8f31e8@bender> In-Reply-To: <201510301221.t9UCLbfS010592@repo.freebsd.org> References: <201510301221.t9UCLbfS010592@repo.freebsd.org> X-Mailer: Claws Mail 3.13.0 (GTK+ 2.24.28; amd64-portbld-freebsd10.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Oct 2015 13:53:18 -0000 On Fri, 30 Oct 2015 12:21:37 +0000 (UTC) Zbigniew Bodek wrote: > Author: zbb > Date: Fri Oct 30 12:21:37 2015 > New Revision: 290192 > URL: https://svnweb.freebsd.org/changeset/base/290192 > > Log: > Workaround KGDB issues on ARM by ignoring ARM EABI version higher > than 5 > To make KGDB working, it needs to understand kernel ELF image. > By default it is compiled using EABI_5, which is not supported > on the gdb-6. As a workaround, treat these images as EABI_2 because > they share a lot of things in common. Why is this needed? The kernel should have the correct note to mark it as a FreeBSD binary which means gdb should use the FreeBSD. Is there something odd happening with kgdb that stops this working? Andrew