svn commit: r290192 - head/contrib/gdb/gdb

Andrew Turner andrew at fubar.geek.nz
Fri Oct 30 13:53:18 UTC 2015


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


More information about the svn-src-head mailing list