aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-nacl.h
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2017-06-28 12:50:56 -0700
committerJohn Baldwin <jhb@FreeBSD.org>2017-07-07 16:12:42 -0700
commit4b654465bfc3034c969d2d942c14b2cedfd3e3b6 (patch)
treedd0cfe451b78f3abecbc550fe7143972d89abc73 /bfd/elf-nacl.h
parente6f3b9c3194c0d89efffd6e5b59471950f979e5a (diff)
downloadgdb-4b654465bfc3034c969d2d942c14b2cedfd3e3b6.zip
gdb-4b654465bfc3034c969d2d942c14b2cedfd3e3b6.tar.gz
gdb-4b654465bfc3034c969d2d942c14b2cedfd3e3b6.tar.bz2
Read signal information from FreeBSD core dumps.
FreeBSD recently added a new ELF core note which dumps the entire LWP info structure (the same structure returned by the ptrace PT_LWPINFO operation) for each thread. The plan is for this note to eventually supplant the older "thrmisc" ELF core note as it contains more information and it permits new information to be exported via both ptrace() and core dumps using the same structure. For signal information, the implementation is similar to the native implementation for FreeBSD processes. The PL_FLAG_SI flag must be checked to determine if the embedded siginfo_t structure is valid, and if so it is transferred into the caller's buffer. gdb/ChangeLog: * fbsd-tdep.c (LWPINFO_OFFSET, LWPINFO_PL_FLAGS) (LWPINFO64_PL_SIGINFO, LWPINFO32_PL_SIGINFO, PL_FLAG_SI) (SIZE64_SIGINFO_T, SIZE32_SIGINFO_T, fbsd_core_xfer_siginfo): New. (fbsd_init_abi): Install gdbarch "core_xfer_siginfo" method.
Diffstat (limited to 'bfd/elf-nacl.h')
0 files changed, 0 insertions, 0 deletions