Fetch the ELF auxiliary vector from live processes on FreeBSD.
authorJohn Baldwin <jhb@FreeBSD.org>
Sat, 11 Jun 2016 22:07:38 +0000 (15:07 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 24 Jun 2016 17:33:04 +0000 (10:33 -0700)
commit7697fc9ec3a970f05abb836107653c46ada466ad
treef1822cc24d492a4971f9dfef55e652de8de764fc
parentaa1ed4a93a2eb0fb90d274c15288f3aad1791f60
Fetch the ELF auxiliary vector from live processes on FreeBSD.

Use the kern.proc.auxv.<pid> sysctl to fetch the ELF auxiliary vector for
a live process.

gdb/ChangeLog:

* fbsd-nat.c [KERN_PROC_AUXV] New variable super_xfer_partial.
(fbsd_xfer_partial): New function.
(fbsd_nat_add_target) [KERN_PROC_AUXV] Set "to_xfer_partial" to
"fbsd_xfer_partial".
gdb/ChangeLog
gdb/fbsd-nat.c