freebsd-nq/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 Move the 32-bit compatible procfs types from freebsd32.h to <sys/procfs.h> 2015-04-08 16:30:45 +00:00
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 Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00