freebsd-dev/usr.bin/gcore
Wolfram Schneider 63d82ffc0e Check the text segment size of the executable and the process. If
not equal, the command line arguments are wrong. E.g.:

$./gcore /bin/sh 1761

$ ./gcore /usr/tmp/chroot/bin/sh 1761
gcore: The executable /usr/tmp/chroot/bin/sh does not belong to process 1761!
Text segment size (in bytes): executable 303104, process 294912
1998-08-24 16:25:30 +00:00
..
aoutcore.c Check the text segment size of the executable and the process. If 1998-08-24 16:25:30 +00:00
extern.h BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
gcore.1 Use err(3) instead of local redefinition. 1997-07-08 11:04:19 +00:00
gcore.c Check the text segment size of the executable and the process. If 1998-08-24 16:25:30 +00:00
Makefile Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
md-nop.c Use err(3) instead of local redefinition. 1997-07-08 11:04:19 +00:00
md-sparc.c Use err(3) instead of local redefinition. 1997-07-08 11:04:19 +00:00