jdp
47816f3be0
Fix errors detected by -Wformat.
1998-11-01 06:35:36 +00:00
jdp
aa1aab7648
When the "-s" option is given, try to ensure that we restart the
...
target process even if we are killed or die due to an error.
1998-10-22 04:02:37 +00:00
jdp
56b8d276ed
Make gcore work for ELF.
1998-10-19 19:42:18 +00:00
jdp
c3d7a50503
Check the executable's header to make sure it is a valid executable.
...
If it is ELF, print a diagnostic saying that it is not supported yet
by this program. This is a stop-gap anti-bug-report measure because
it looks like there won't be time to implement gcore's ELF support
before 3.0 is released.
1998-10-14 16:16:50 +00:00
des
a0201a25a8
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
wosch
a21aee1c42
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
jdp
6411eab8ec
Add missing argument detected by "-Wformat". Make messages more
...
consistent.
1997-11-18 03:50:25 +00:00
charnier
2dab39b518
Use err(3) instead of local redefinition.
1997-07-08 11:04:19 +00:00
steve
9c6b7d527a
Show the real revision date and not the date that this
...
manpage is being viewed.
1997-06-23 04:03:49 +00:00
imp
cd84ece5fd
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
mpp
2370082340
Use the .Bx macro where appropriate.
1996-08-23 20:36:11 +00:00
jkh
97de575586
General -Wall warning cleanup, part I.
...
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
1996-07-12 19:08:36 +00:00
phk
7a28f1a36d
NBPG -> PAGE_SIZE
1996-05-02 09:10:21 +00:00
rgrimes
79e59e9123
Remove trailing whitespace.
1995-05-30 06:41:30 +00:00
bde
b1f1422cba
Add dependencies on libraries to DPADD. Someday this should be done
...
automagically. -lfoo has to be right to work, but ${LIBFO0} is too
easy to forget or misspell; nothing checks it and it should be
different for shared libraries.
1994-08-28 18:49:06 +00:00
rgrimes
d6c5cd3c45
Corrected to work without symbolic links for md-${MACHINE}.c.
1994-05-29 12:44:36 +00:00
rgrimes
e542b10be0
This commit was generated by cvs2svn to compensate for changes in r1590,
...
which included commits to RCS files with non-trunk default branches.
1994-05-27 12:33:43 +00:00
rgrimes
b65ae149ea
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00
rgrimes
f9ab90d9d6
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00