summaryrefslogtreecommitdiffstats
path: root/usr.bin/gcore
Commit message (Collapse)AuthorAgeFilesLines
* ${MACHINE} -> ${MACHINE_ARCH}marcel1999-11-141-2/+3
| | | | | | | | | | | | | | | | All Makefiles now use MACHINE_ARCH for the target architecture. Unification is required for cross-building. Tags added to: sys/boot/Makefile sys/boot/arc/loader/Makefile sys/kern/Makefile usr.bin/cpp/Makefile usr.bin/gcore/Makefile usr.bin/truss/Makefile usr.bin/gcore/Makefile: fixed typo: MACHINDE -> MACHINE_ARCH
* useracc() the prequel:phk1999-10-291-1/+0
| | | | | | | | | | | Merge the contents (less some trivial bordering the silly comments) of <vm/vm_prot.h> and <vm/vm_inherit.h> into <vm/vm.h>. This puts the #defines for the vm_inherit_t and vm_prot_t types next to their typedefs. This paves the road for the commit to follow shortly: change useracc() to use VM_PROT_{READ|WRITE} rather than B_{READ|WRITE} as argument.
* $Id$ -> $FreeBSD$peter1999-08-285-5/+5
|
* Add braces to appease the egcs -Wall mom.jdp1999-07-172-4/+6
|
* Make gcore work again. It was broken by a format change in thejdp1999-07-171-2/+2
| | | | | | | | | | procfs map file when object IDs were eliminated in the mega-commit that included procfs_map.c revision 1.19. The map file is a terrible hodge-podge. The fields that are used mainly for kernel debugging should be moved out of it into a separate file, so that the interface presented by the map file to applications can remain stable in the face of VM system changes.
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Fix errors detected by -Wformat.jdp1998-11-013-6/+7
|
* When the "-s" option is given, try to ensure that we restart thejdp1998-10-222-24/+64
| | | | target process even if we are killed or die due to an error.
* Make gcore work for ELF.jdp1998-10-195-99/+625
|
* Check the executable's header to make sure it is a valid executable.jdp1998-10-142-2/+18
| | | | | | | 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.
* Don't require an executable file name. If no executable image isdes1998-09-143-26/+52
| | | | | | | specified, use /proc/<pid>/file. Document it. PR: bin/7915 Suggested-By: Wolfram Schneider <wosch@panke.de.freebsd.org>
* Check the text segment size of the executable and the process. Ifwosch1998-08-242-2/+18
| | | | | | | | | | 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
* Add missing argument detected by "-Wformat". Make messages morejdp1997-11-182-6/+6
| | | | consistent.
* Use err(3) instead of local redefinition.charnier1997-07-085-109/+64
|
* Show the real revision date and not the date that thissteve1997-06-231-1/+1
| | | | manpage is being viewed.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-292-2/+2
| | | | posix standard on the topic.
* Use the .Bx macro where appropriate.mpp1996-08-231-3/+8
|
* General -Wall warning cleanup, part I.jkh1996-07-122-2/+4
| | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu>
* NBPG -> PAGE_SIZEphk1996-05-022-26/+26
|
* Remove trailing whitespace.rgrimes1995-05-304-8/+8
|
* Add dependencies on libraries to DPADD. Someday this should be donebde1994-08-281-0/+1
| | | | | | 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.
* Corrected to work without symbolic links for md-${MACHINE}.c.rgrimes1994-05-291-1/+7
|
* This commit was generated by cvs2svn to compensate for changes in r1590,rgrimes1994-05-276-0/+686
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-276-0/+686
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+313
OpenPOWER on IntegriCloud