[PATCH 0/6] Add ELF auxiliary vector handling for FreeBSD
John Baldwin
jhb@freebsd.org
Mon Jun 20 17:10:00 GMT 2016
On Wednesday, June 15, 2016 11:01:56 PM John Baldwin wrote:
> This patch series fixes 'info auxv' to work on live binaries and cores
> for FreeBSD. I believe most of these patches are straightforward.
> I broke out parsing of FreeBSD-specific ELF core notes to avoid a
> collision with duplicate NT_* values (NT_FREEBSD_PROCSTAT_AUXV conflicts
> with NT_LWPSTATUS). The biggest change is adding a new gdbarch method
> to handle formatting individual auxv vectors. FreeBSD uses AT_* constants
> that overlap with existing AT_* constants but with different meanings.
> One result of making the interpretation of AT_* constants a gdbarch
> method is that 'info auxv' shows the correct output (Linux values)
> when gdb inspects a Linux binary executing on FreeBSD via FreeBSD's
> Linux ABI support.
Ping?
The binutils patches have been ok'd, but the gdb patches haven't been
reviewed yet.
--
John Baldwin
More information about the Gdb-patches
mailing list