Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Oct 2015 13:52:45 +0000
From:      Andrew Turner <andrew@fubar.geek.nz>
To:        Zbigniew Bodek <zbb@FreeBSD.org>
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>

index | next in thread | previous in thread | raw e-mail

On Fri, 30 Oct 2015 12:21:37 +0000 (UTC)
Zbigniew Bodek <zbb@FreeBSD.org> 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


help

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