This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 0/6] Add ELF auxiliary vector handling for FreeBSD
- From: John Baldwin <jhb at freebsd dot org>
- To: gdb-patches at sourceware dot org
- Date: Mon, 20 Jun 2016 09:57:20 -0700
- Subject: Re: [PATCH 0/6] Add ELF auxiliary vector handling for FreeBSD
- Authentication-results: sourceware.org; auth=none
- References: <20160616060202 dot 63470-1-jhb at FreeBSD dot org>
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