[PATCH v2 0/6] Add ELF auxiliary vector handling for FreeBSD
John Baldwin
jhb@FreeBSD.org
Thu Jun 23 20:39:00 GMT 2016
This updated patch series adjusts the new gdbarch method by renaming
it to 'print_auxv_entry' and giving it a default implementation.
The FreeBSD method now calls the default method explicitly for any
vector entries that are not FreeBSD-specific.
Various other style, etc. issues pointed out by Pedro should also be
fixed.
Since folks from binutils@ already signed off on the binutils changes
and this series only includes changes to the gdb patches, I've only
sent this to gdb-patches@.
John Baldwin (6):
Add constants for FreeBSD-specific auxiliary vector entry types.
Add elfcore_grok_freebsd_note to parse FreeBSD ELF core notes.
Fetch the ELF auxiliary vector from live processes on FreeBSD.
Create a pseudo section for the ELF AUXV core dump note on FreeBSD.
Add a new gdbarch method to print a single AUXV entry.
Add a gdbarch 'print_auxv_entry' method for FreeBSD ABIs.
bfd/ChangeLog | 15 ++++
bfd/elf.c | 152 +++++++++++++++++++++++++++++++++++---
gdb/ChangeLog | 24 ++++++
gdb/auxv.c | 204 +++++++++++++++++++++++++++++----------------------
gdb/auxv.h | 14 ++++
gdb/fbsd-nat.c | 76 +++++++++++++++++++
gdb/fbsd-tdep.c | 35 +++++++++
gdb/gdbarch.c | 24 ++++++
gdb/gdbarch.h | 7 ++
gdb/gdbarch.sh | 5 ++
include/ChangeLog | 7 ++
include/elf/common.h | 10 +++
12 files changed, 477 insertions(+), 96 deletions(-)
--
2.8.4
More information about the Gdb-patches
mailing list