freebsd-skq/usr.bin/gcore
John Baldwin ccb83afd81 Include process IDs in core dumps.
When threads were added to the kernel, the pr_pid member of the
NT_PRSTATUS note was repurposed to store LWP IDs instead of process
IDs.  However, the process ID was no longer recorded in core dumps.
This change adds a pr_pid field to prpsinfo (NT_PRSINFO).  Rather than
bumping the prpsinfo version number, note parsers can use the note's
payload size to determine if pr_pid is present.

Reviewed by:	kib, emaste (older version)
MFC after:	2 months
Differential Revision:	https://reviews.freebsd.org/D7117
2016-07-18 15:14:23 +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 Include process IDs in core dumps. 2016-07-18 15:14:23 +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 Remove gcore's -s option. 2016-07-14 00:32:27 +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