freebsd-src/usr.bin/gcore
John Baldwin 885f13dc96 Copy the e_machine and e_flags fields from the binary into an ELF core dump.
In the kernel, cache the machine and flags fields from ELF header to use in
the ELF header of a core dump. For gcore, the copy these fields over from
the ELF header in the binary.

This matters for platforms which encode ABI information in the flags field
(such as o32 vs n32 on MIPS).

Reviewed by:	kib
Sponsored by:	DARPA / AFRL
Differential Revision:	https://reviews.freebsd.org/D9392
2017-02-07 20:34:03 +00:00
..
elf32core.c
elfcore.c Copy the e_machine and e_flags fields from the binary into an ELF core dump. 2017-02-07 20:34:03 +00:00
extern.h Remove gcore's -s option. 2016-07-14 00:32:27 +00:00
gcore.1 Remove gcore's -s option. 2016-07-14 00:32:27 +00:00
gcore.c Cleanup some leftovers from '-s' removal in r302792. 2016-11-17 23:16:56 +00:00
Makefile
Makefile.depend