aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/gcore
Commit message (Collapse)AuthorAgeFilesLines
* Complete the MFC of rev: 1.13Giorgos Keramidas2002-07-151-4/+4
| | | | | | | | s/exec/executable/ in Synopsis, and fix the Files section. Notes: svn path=/stable/4/; revision=100029
* The .Nm utilityPhilippe Charnier2002-06-211-6/+9
| | | | Notes: svn path=/stable/4/; revision=98564
* MFC: 1.21: Fix usage message, the executable is optional.Mike Heffner2001-08-171-1/+1
| | | | | | | Approved by: re Notes: svn path=/stable/4/; revision=81850
* MFC: markup and misc fixes.Ruslan Ermilov2001-08-161-1/+1
| | | | | | | Approved by: re Notes: svn path=/stable/4/; revision=81777
* MFC: remove whitespace at EOL.Dima Dorfman2001-07-221-3/+3
| | | | Notes: svn path=/stable/4/; revision=80147
* MFC: * Most of existing include/elf.h is in elf-hints.h.David E. O'Brien2001-07-112-2/+2
| | | | | | | | | | | elf.h is now a compatibility header with Solaris/SVR4. * Consumers of elf.h now use the minimalist elf header possible. This change is motivated by Binutils 2.11 and too much clashing over our base elf headers and the Binutils elf headers. Notes: svn path=/stable/4/; revision=79604
* MFC: r1.8; Null terminate buffer.Jonathan Lemon2001-06-131-1/+2
| | | | Notes: svn path=/stable/4/; revision=78168
* MFC: Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-191-2/+1
| | | | Notes: svn path=/stable/4/; revision=70198
* MFC: rev 1.6David E. O'Brien2000-07-061-2/+2
| | | | | | | | Change our ELF binary branding to match the SCO (as USL) method in the latest SVR4 ELF spec. Notes: svn path=/stable/4/; revision=62689
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2000-03-131-342/+0
| | | | Notes: svn path=/stable/4/; revision=57955
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-011-1/+2
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57670
* ${MACHINE} -> ${MACHINE_ARCH}Marcel Moolenaar1999-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 Notes: svn path=/head/; revision=53152
* useracc() the prequel:Poul-Henning Kamp1999-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. Notes: svn path=/head/; revision=52635
* $Id$ -> $FreeBSD$Peter Wemm1999-08-285-5/+5
| | | | Notes: svn path=/head/; revision=50477
* Add braces to appease the egcs -Wall mom.John Polstra1999-07-172-4/+6
| | | | Notes: svn path=/head/; revision=48861
* Make gcore work again. It was broken by a format change in theJohn Polstra1999-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. Notes: svn path=/head/; revision=48860
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-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 Notes: svn path=/head/; revision=48792
* Fix errors detected by -Wformat.John Polstra1998-11-013-6/+7
| | | | Notes: svn path=/head/; revision=40803
* When the "-s" option is given, try to ensure that we restart theJohn Polstra1998-10-222-24/+64
| | | | | | | target process even if we are killed or die due to an error. Notes: svn path=/head/; revision=40562
* Make gcore work for ELF.John Polstra1998-10-195-93/+619
| | | | Notes: svn path=/head/; revision=40525
* Check the executable's header to make sure it is a valid executable.John Polstra1998-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. Notes: svn path=/head/; revision=40350
* Don't require an executable file name. If no executable image isDag-Erling Smørgrav1998-09-143-26/+52
| | | | | | | | | | specified, use /proc/<pid>/file. Document it. PR: bin/7915 Suggested-By: Wolfram Schneider <wosch@panke.de.freebsd.org> Notes: svn path=/head/; revision=39164
* Check the text segment size of the executable and the process. IfWolfram Schneider1998-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 Notes: svn path=/head/; revision=38522
* Add missing argument detected by "-Wformat". Make messages moreJohn Polstra1997-11-182-6/+6
| | | | | | | consistent. Notes: svn path=/head/; revision=31218
* Use err(3) instead of local redefinition.Philippe Charnier1997-07-085-109/+64
| | | | Notes: svn path=/head/; revision=27273
* Show the real revision date and not the date that thisSteve Price1997-06-231-1/+1
| | | | | | | manpage is being viewed. Notes: svn path=/head/; revision=26826
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-292-2/+2
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24360
* Use the .Bx macro where appropriate.Mike Pritchard1996-08-231-3/+8
| | | | Notes: svn path=/head/; revision=17797
* General -Wall warning cleanup, part I.Jordan K. Hubbard1996-07-122-2/+4
| | | | | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu> Notes: svn path=/head/; revision=17142
* NBPG -> PAGE_SIZEPoul-Henning Kamp1996-05-022-26/+26
| | | | Notes: svn path=/head/; revision=15531
* Remove trailing whitespace.Rodney W. Grimes1995-05-304-8/+8
| | | | Notes: svn path=/head/; revision=8874
* Add dependencies on libraries to DPADD. Someday this should be doneBruce Evans1994-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. Notes: svn path=/head/; revision=2375
* Corrected to work without symbolic links for md-${MACHINE}.c.Rodney W. Grimes1994-05-291-1/+7
| | | | Notes: svn path=/head/; revision=1626
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-277-0/+999
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590