opnsense-src/usr.bin/gcore
John Baldwin 4965ac059d gcore: Use PT_GETREGSET to fetch NT_PRSTATUS and NT_FPREGSET.
Add a elf_putregnote() helper to build the ELF note for a register
set.  Once nice result of this approach is that this reuses the
kernel's support for generating 32-bit register sets for 32-bit
processes avoiding the need to duplicate that logic in elf32core.c.

Reviewed by:	markj
Sponsored by:	University of Cambridge, Google, Inc.
Differential Revision:	https://reviews.freebsd.org/D34447
2022-03-10 15:40:44 -08:00
..
elf32core.c gcore: Use PT_GETREGSET to fetch NT_PRSTATUS and NT_FPREGSET. 2022-03-10 15:40:44 -08:00
elfcore.c gcore: Use PT_GETREGSET to fetch NT_PRSTATUS and NT_FPREGSET. 2022-03-10 15:40:44 -08:00
extern.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
gcore.1 gcore: add option to dump core using kernel facility 2021-05-03 19:18:26 +03:00
gcore.c gcore: add option to dump core using kernel facility 2021-05-03 19:18:26 +03:00
Makefile Use MACHINE_CPUARCH when checking for arm64 2020-09-14 16:12:28 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00