Dag-Erling Smørgrav
49ee7af69e
Don't require an executable file name. If no executable image is
...
specified, use /proc/<pid>/file. Document it.
PR: bin/7915
Suggested-By: Wolfram Schneider <wosch@panke.de.freebsd.org>
1998-09-14 10:09:30 +00:00
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
John Polstra
8f10c09860
Add missing argument detected by "-Wformat". Make messages more
...
consistent.
1997-11-18 03:50:25 +00:00
Philippe Charnier
a5bf6586d9
Use err(3) instead of local redefinition.
1997-07-08 11:04:19 +00:00
Warner Losh
1c8af87873
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 04:34:07 +00:00
Jordan K. Hubbard
526195ad0d
General -Wall warning cleanup, part I.
...
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
1996-07-12 19:08:36 +00:00
Poul-Henning Kamp
875c5798b6
NBPG -> PAGE_SIZE
1996-05-02 09:10:21 +00:00
Rodney W. Grimes
7799f52a32
Remove trailing whitespace.
1995-05-30 06:41:30 +00:00
Rodney W. Grimes
9b50d90275
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00