CVS log for src/usr.bin/gcore/gcore.c
Up to [FreeBSD] / src / usr.bin / gcore
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.37.2.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 11 04:20:22 2011 UTC (2 months, 4 weeks ago) by kensmith
Branches: RELENG_9_0
CVS tags: RELENG_9_0_0_RELEASE
Diff to: previous 1.37.2.1: preferred, colored
Changes since revision 1.37.2.1: +0 -0 lines
SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release cycle. Approved by: re (implicit)
Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 23 00:51:37 2011 UTC (4 months, 2 weeks ago) by kensmith
Branches: RELENG_9
CVS tags: RELENG_9_0_BP
Branch point for: RELENG_9_0
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +0 -0 lines
SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith Copy head to stable/9 as part of 9.0-RELEASE release cycle. Approved by: re (implicit)
Revision 1.31.18.1: download - view: text, markup, annotated - select for diffs
Tue Dec 28 19:26:57 2010 UTC (13 months, 1 week ago) by jhb
Branches: RELENG_7
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +35 -34 lines
SVN rev 216771 on 2010-12-28 19:26:57Z by jhb
MFC 199805,203532,204329,210063,210065:
- Change gcore in order to get rid of the procfs accesses and use FreeBSD's
specific sysctls and ptrace interfaces.
This change switches a bit gcore POLA that is summarized here:
- now gcore can recognize threads within the process and handle dumps
on thread-scope
- the process to be analyzed will be stopped during its gcore run
- gcore may not work with processes which are actively being analyzed
by gdb or truss
- the ptrace interface may cause syscalls to return EINTR, thus
interferring with signals handling within the process
- Fix gcore so that it can have the '-s' flag without hanging.
- Fix the way the segments are included in the gcore outputs (with the
default invokation):
- Right now if segments are not writable are not included. Remove this.
- Right now if a segment is mapped with NOCORE the check is not honoured.
Change this by checking the newly added flag, from libutil,
KVME_FLAG_NOCOREDUMP.
Besides that, add a new flag (-f) that forces a 'full' dump of all the
segments excluding just the malformed ones. This might be used very
carefully as, among the reported segments, there could be memory
mapped areas that could be vital to program execution.
Revision 1.31.30.4: download - view: text, markup, annotated - select for diffs
Tue Dec 28 18:56:55 2010 UTC (13 months, 1 week ago) by jhb
Branches: RELENG_8
Diff to: previous 1.31.30.3: preferred, colored; branchpoint 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.30.3: +16 -26 lines
SVN rev 216768 on 2010-12-28 18:56:55Z by jhb MFC 203532: Fix gcore so that it can have the '-s' flag without hanging.
Revision 1.31.34.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:10:29 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_7_4
CVS tags: RELENG_7_4_0_RELEASE
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +0 -0 lines
SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release. Approved by: re (implicit)
Revision 1.31.30.3.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:09:25 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_8_2
CVS tags: RELENG_8_2_0_RELEASE
Diff to: previous 1.31.30.3: preferred, colored; next MAIN 1.31.30.4: preferred, colored
Changes since revision 1.31.30.3: +0 -0 lines
SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release. Approved by: re (implicit)
Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Dec 11 08:32:16 2010 UTC (13 months, 4 weeks ago) by joel
Branches: MAIN
CVS tags: RELENG_9_BP, HEAD
Branch point for: RELENG_9
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +0 -4 lines
SVN rev 216370 on 2010-12-11 08:32:16Z by joel Remove the advertising clause from UCB copyrighted files in usr.bin. This is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson
Revision 1.31.30.3: download - view: text, markup, annotated - select for diffs
Wed Jul 28 16:10:21 2010 UTC (18 months, 1 week ago) by attilio
Branches: RELENG_8
CVS tags: RELENG_8_2_BP
Branch point for: RELENG_8_2
Diff to: previous 1.31.30.2: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.30.2: +9 -5 lines
SVN rev 210567 on 2010-07-28 16:10:21Z by attilio MFC r210063, r210065: Fix the way the segments are included in the gcore outputs (with the default invokation): - Right now if segments are not writable are not included. Remove this. - Right now if a segment is mapped with NOCORE the check is not honoured. Change this by checking the newly added flag, from libutil, KVME_FLAG_NOCOREDUMP. Besides that, add a new flag (-f) that forces a 'full' dump of all the segments excluding just the malformed ones. Sponsored by: Sandvine Incorporated
Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Jul 14 17:16:25 2010 UTC (18 months, 3 weeks ago) by attilio
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +7 -4 lines
SVN rev 210063 on 2010-07-14 17:16:25Z by attilio Fix the way the segments are included in the gcore outputs (with the default invokation): - Right now if segments are not writable are not included. Remove this. - Right now if a segment is mapped with NOCORE the check is not honoured. Change this by checking the newly added flag, from libutil, KVME_FLAG_NOCOREDUMP. Besides that, add a new flag (-f) that forces a 'full' dump of all the segments excluding just the malformed ones. This might be used very carefully as, among the reported segments, there could be memory mapped areas that could be vital to program execution. Sponsored by: Sandvine Incorporated Discussed with: kib Reviewed by: emaste Tested by: Sandvine Incorporated MFC after: 2 weeks
Revision 1.31.30.2.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 14 02:09:06 2010 UTC (19 months, 4 weeks ago) by kensmith
Branches: RELENG_8_1
CVS tags: RELENG_8_1_0_RELEASE
Diff to: previous 1.31.30.2: preferred, colored; next MAIN 1.31.30.3: preferred, colored
Changes since revision 1.31.30.2: +0 -0 lines
SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith Copy stable/8 to releng/8.1 in preparation for 8.1-RC1. Approved by: re (implicit)
Revision 1.31.32.1: download - view: text, markup, annotated - select for diffs
Wed Feb 10 00:26:20 2010 UTC (2 years ago) by kensmith
Branches: RELENG_7_3
CVS tags: RELENG_7_3_0_RELEASE
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +0 -0 lines
SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process. Approved by: re (implicit)
Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri Feb 5 18:28:43 2010 UTC (2 years ago) by mjacob
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +18 -27 lines
SVN rev 203532 on 2010-02-05 18:28:43Z by mjacob Fix gcore so that it can have the '-s' flag without hanging.
Revision 1.31.30.2: download - view: text, markup, annotated - select for diffs
Sat Dec 19 19:30:27 2009 UTC (2 years, 1 month ago) by attilio
Branches: RELENG_8
CVS tags: RELENG_8_1_BP
Branch point for: RELENG_8_1
Diff to: previous 1.31.30.1: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.30.1: +12 -5 lines
SVN rev 200737 on 2009-12-19 19:30:27Z by attilio MFC r199805: Change gcore in order to get rid of the procfs support and use FreeBSD's specific interfaces. Main changes: - now gcore recognizes threads within the the process and handle dumps on a thread scope - the process to be analyzed should be stopped while gcore runs - gcore may not work with processes that are being debugged with gdb or truss - ptrace may let interruptible calls to return EINTR, thus dirtying signals handling within the process Sponsored by: Sandvine Incorporated
Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun Dec 13 03:14:06 2009 UTC (2 years, 1 month ago) by delphij
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +1 -0 lines
SVN rev 200462 on 2009-12-13 03:14:06Z by delphij Revert most part of 200420 as requested, as more review and polish is needed.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Dec 11 23:35:38 2009 UTC (2 years, 1 month ago) by delphij
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +0 -1 lines
SVN rev 200420 on 2009-12-11 23:35:38Z by delphij Remove unneeded header includes from usr.bin/ except contributed code. Tested with: make universe
Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Nov 25 15:23:14 2009 UTC (2 years, 2 months ago) by attilio
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +12 -5 lines
SVN rev 199805 on 2009-11-25 15:23:14Z by attilio Change gcore in order to get rid of the procfs accesses and use FreeBSD's specific sysctls and ptrace interfaces. This change switches a bit gcore POLA that is summarized here: - now gcore can recognize threads within the process and handle dumps on thread-scope - the process to be analyzed will be stopped during its gcore run - gcore may not work with processes which are actively being analyzed by gdb or truss - the ptrace interface may cause syscalls to return EINTR, thus interferring with signals handling within the process Side note: <janitor task> the interface can be further lifted in order to get rid of the very last procfs interfaces remnants and made more suitable for copying with sysctl/ptrace interface </janitor task>. Obtained from: Sandvine Incorporated Reviewed by: emaste, rwatson Sponsored by: Sandvine Incorporated MFC: 1 month
Revision 1.31.30.1.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 25 01:10:29 2009 UTC (2 years, 3 months ago) by kensmith
Branches: RELENG_8_0
CVS tags: RELENG_8_0_0_RELEASE
Diff to: previous 1.31.30.1: preferred, colored; next MAIN 1.31.30.2: preferred, colored
Changes since revision 1.31.30.1: +0 -0 lines
SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure. Approved by: re (implicit)
Revision 1.31.30.1: download - view: text, markup, annotated - select for diffs
Mon Aug 3 08:13:06 2009 UTC (2 years, 6 months ago) by kensmith
Branches: RELENG_8
CVS tags: RELENG_8_0_BP
Branch point for: RELENG_8_0
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +0 -0 lines
SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith Copy head to stable/8 as part of 8.0 Release cycle. Approved by: re (Implicit)
Revision 1.31.28.1: download - view: text, markup, annotated - select for diffs
Wed Apr 15 03:14:26 2009 UTC (2 years, 9 months ago) by kensmith
Branches: RELENG_7_2
CVS tags: RELENG_7_2_0_RELEASE
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +0 -0 lines
SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE. Approved by: re (implicit)
Revision 1.31.26.1: download - view: text, markup, annotated - select for diffs
Tue Nov 25 02:59:29 2008 UTC (3 years, 2 months ago) by kensmith
Branches: RELENG_7_1
CVS tags: RELENG_7_1_0_RELEASE
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +0 -0 lines
SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith Create releng/7.1 in preparation for moving into RC phase of 7.1 release cycle. Approved by: re (implicit)
Revision 1.31.24.1: download - view: text, markup, annotated - select for diffs
Thu Oct 2 02:57:24 2008 UTC (3 years, 4 months ago) by kensmith
Branches: RELENG_6_4
CVS tags: RELENG_6_4_0_RELEASE
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +0 -0 lines
SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith Create releng/6.4 from stable/6 in preparation for 6.4-RC1. Approved by: re (implicit)
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Feb 15 22:48:25 2004 UTC (7 years, 11 months ago) by dwmalone
Branches: MAIN
CVS tags: RELENG_8_BP, RELENG_7_BP, RELENG_7_4_BP, RELENG_7_3_BP, RELENG_7_2_BP, RELENG_7_1_BP, RELENG_7_0_BP, RELENG_7_0_0_RELEASE, RELENG_7_0, RELENG_6_BP, RELENG_6_4_BP, RELENG_6_3_BP, RELENG_6_3_0_RELEASE, RELENG_6_3, RELENG_6_2_BP, RELENG_6_2_0_RELEASE, RELENG_6_2, RELENG_6_1_BP, RELENG_6_1_0_RELEASE, RELENG_6_1, RELENG_6_0_BP, RELENG_6_0_0_RELEASE, RELENG_6_0, RELENG_6, RELENG_5_BP, RELENG_5_5_BP, RELENG_5_5_0_RELEASE, RELENG_5_5, RELENG_5_4_BP, RELENG_5_4_0_RELEASE, RELENG_5_4, RELENG_5_3_BP, RELENG_5_3_0_RELEASE, RELENG_5_3, RELENG_5
Branch point for: RELENG_8, RELENG_7_4, RELENG_7_3, RELENG_7_2, RELENG_7_1, RELENG_7, RELENG_6_4
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +1 -1 lines
Fix some WARNS: 1) Remove some unused variables. 2) Mark some things aas static or __unused. 3) Cast to make sure we're comparing the same types.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Sep 13 16:33:35 2002 UTC (9 years, 4 months ago) by peter
Branches: MAIN
CVS tags: RELENG_5_2_BP, RELENG_5_2_1_RELEASE, RELENG_5_2_0_RELEASE, RELENG_5_2, RELENG_5_1_BP, RELENG_5_1_0_RELEASE, RELENG_5_1, RELENG_5_0_BP, RELENG_5_0_0_RELEASE, RELENG_5_0
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +23 -193 lines
Use a crowbar to move the a.out code out of gcore.c and into its own file so that we have a chance of using gcore on non-i386 platforms. Use linker sets to reduce the registration glue. Remove md-sparc.c, we do not have an a.out sparc32 port. aoutcore.c was repocopied from gcore.c.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Sep 5 09:11:20 2002 UTC (9 years, 5 months ago) by dwmalone
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +0 -0 lines
The changes mentioned below were accidently committed as part of my previous commit, so the commit message is incorrect for them. The actual changes were: elfcore.c 1.11: Use a uintmax_t 'cos we con't know if php->p_filesz will be a Elf32_Size or an Elf64_Size and we don't know how these relate to size_t. Change some ints to size_t and ssize_ts. gcore.c 1.28: Include <arpa/inet.h> for ntohl, which is used in N_BADMAG. Use a uid_t for a uid. md-nop.c 1.6: Mark some parameters as unused.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Sep 4 23:29:01 2002 UTC (9 years, 5 months ago) by dwmalone
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -1 lines
ANSIify function definitions. Add some constness to avoid some warnings. Remove use register keyword. Deal with missing/unneeded extern/prototypes. Some minor type changes/casts to avoid warnings. Reviewed by: md5
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Jun 30 09:24:25 2002 UTC (9 years, 7 months ago) by obrien
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -1 lines
Consistently wrap CSRG SCM ID. Requested by: bde
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Jun 30 05:21:20 2002 UTC (9 years, 7 months ago) by obrien
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +0 -2 lines
Consistently use FBSDID
Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Apr 12 21:36:54 2002 UTC (9 years, 10 months ago) by charnier
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +5 -3 lines
Do not print error message twice.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Mar 22 01:22:40 2002 UTC (9 years, 10 months ago) by imp
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +7 -7 lines
remove __P
Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Oct 10 17:48:44 2001 UTC (10 years, 4 months ago) by bde
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +1 -2 lines
Compensate for "Compensate for header dethreading" by backing it out.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Sep 12 08:38:12 2001 UTC (10 years, 5 months ago) by julian
Branches: MAIN
CVS tags: KSE_MILESTONE_2
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +15 -5 lines
KSE Milestone 2 Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is functionally equivalent to teh previousl -current except that there is a thread associated with each process. Sorry john! (your next MFC will be a doosie!) Reviewed by: peter@freebsd.org, dillon@freebsd.org X-MFC after: ha ha ha ha
Revision 1.15.2.2: download - view: text, markup, annotated - select for diffs
Fri Aug 17 20:56:22 2001 UTC (10 years, 5 months ago) by mikeh
Branches: RELENG_4
CVS tags: RELENG_4_9_BP, RELENG_4_9_0_RELEASE, RELENG_4_9, RELENG_4_8_BP, RELENG_4_8_0_RELEASE, RELENG_4_8, RELENG_4_7_BP, RELENG_4_7_0_RELEASE, RELENG_4_7, RELENG_4_6_BP, RELENG_4_6_2_RELEASE, RELENG_4_6_1_RELEASE, RELENG_4_6_0_RELEASE, RELENG_4_6, RELENG_4_5_BP, RELENG_4_5_0_RELEASE, RELENG_4_5, RELENG_4_4_BP, RELENG_4_4_0_RELEASE, RELENG_4_4, RELENG_4_11_BP, RELENG_4_11_0_RELEASE, RELENG_4_11, RELENG_4_10_BP, RELENG_4_10_0_RELEASE, RELENG_4_10
Diff to: previous 1.15.2.1: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.1: +2 -2 lines
MFC: 1.21: Fix usage message, the executable is optional. Approved by: re
Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Aug 15 21:25:50 2001 UTC (10 years, 5 months ago) by mikeh
Branches: MAIN
CVS tags: KSE_PRE_MILESTONE_2
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2 lines
Fix usage message, the executable is optional. PR: bin/29735 MFC after: 2 weeks
Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 23:59:11 2001 UTC (10 years, 7 months ago) by obrien
Branches: RELENG_4
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
MFC: * Most of existing include/elf.h is in elf-hints.h.
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.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu May 3 00:35:53 2001 UTC (10 years, 9 months ago) by obrien
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
Fix minor style issue from previous commit.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed May 2 23:56:19 2001 UTC (10 years, 9 months ago) by obrien
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
* include/elf.h has been repo copied to include/elf-hints.h, and it no longer includes machine/elf.h. * consumers of elf.h now use the minimalist elf header possible. This change is motivated by Binutils 2.11.0 and too much clashing over our base elf headers and the Binutils elf headers.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue May 1 08:46:01 2001 UTC (10 years, 9 months ago) by markm
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -1 lines
Compensate for header dethreading.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Mar 1 06:00:22 2001 UTC (10 years, 11 months ago) by imp
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
MAXPATHLEN contains the trailing NUL.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Dec 12 07:25:55 2000 UTC (11 years, 2 months ago) by mckusick
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +21 -26 lines
Change the proc information returned from the kernel so that it no longer contains kernel specific data structures, but rather only scalar values and structures that are already part of the kernel/user interface, specifically rusage and rtprio. It no longer contains proc, session, pcred, ucred, procsig, vmspace, pstats, mtx, sigiolst, klist, callout, pasleep, or mdproc. If any of these changed in size, ps, w, fstat, gcore, systat, and top would all stop working. The new structure has over 200 bytes of unassigned space for future values to be added, yet is nearly 100 bytes smaller per entry than the structure that it replaced.
Revision 1.4.2.5: download - view: text, markup, annotated - select for diffs
Sun Sep 5 11:32:15 1999 UTC (12 years, 5 months ago) by peter
Branches: RELENG_2_2
Diff to: previous 1.4.2.4: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.4: +1 -1 lines
$Id$ -> $FreeBSD$
Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 29 15:28:18 1999 UTC (12 years, 5 months ago) by peter
Branches: RELENG_3
CVS tags: RELENG_3_5_0_RELEASE, RELENG_3_4_0_RELEASE, RELENG_3_3_0_RELEASE
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +1 -1 lines
$Id$ -> $FreeBSD$
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Aug 28 01:01:39 1999 UTC (12 years, 5 months ago) by peter
Branches: MAIN
CVS tags: RELENG_4_BP, RELENG_4_3_BP, RELENG_4_3_0_RELEASE, RELENG_4_3, RELENG_4_2_0_RELEASE, RELENG_4_1_1_RELEASE, RELENG_4_1_0_RELEASE, RELENG_4_0_0_RELEASE, PRE_SMPNG
Branch point for: RELENG_4
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +1 -1 lines
$Id$ -> $FreeBSD$
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Jul 17 19:03:20 1999 UTC (12 years, 6 months ago) by jdp
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -2 lines
Add braces to appease the egcs -Wall mom.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Nov 1 06:35:36 1998 UTC (13 years, 3 months ago) by jdp
Branches: MAIN
CVS tags: RELENG_3_BP, RELENG_3_2_PAO_BP, RELENG_3_2_PAO, RELENG_3_2_0_RELEASE, RELENG_3_1_0_RELEASE
Branch point for: RELENG_3
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
Fix errors detected by -Wformat.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Oct 22 04:02:37 1998 UTC (13 years, 3 months ago) by jdp
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +32 -12 lines
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.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Oct 19 19:42:18 1998 UTC (13 years, 3 months ago) by jdp
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +53 -49 lines
Make gcore work for ELF.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Oct 14 16:16:50 1998 UTC (13 years, 3 months ago) by jdp
Branches: MAIN
CVS tags: RELENG_3_0_0_RELEASE
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +9 -1 lines
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.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Sep 14 10:09:30 1998 UTC (13 years, 4 months ago) by des
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +21 -8 lines
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>
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Aug 24 16:25:30 1998 UTC (13 years, 5 months ago) by wosch
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +9 -1 lines
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
Revision 1.4.2.4: download - view: text, markup, annotated - select for diffs
Tue Nov 18 03:51:38 1997 UTC (14 years, 2 months ago) by jdp
Branches: RELENG_2_2
CVS tags: RELENG_2_2_8_RELEASE, RELENG_2_2_7_RELEASE, RELENG_2_2_6_RELEASE
Diff to: previous 1.4.2.3: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.3: +3 -3 lines
Merge from main branch 1.6 -> 1.7: Add missing argument, change message for consistency.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Nov 18 03:50:25 1997 UTC (14 years, 2 months ago) by jdp
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3 lines
Add missing argument detected by "-Wformat". Make messages more consistent.
Revision 1.4.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 15 08:17:14 1997 UTC (14 years, 4 months ago) by jkh
Branches: RELENG_2_2
CVS tags: RELENG_2_2_5_RELEASE
Diff to: previous 1.4.2.2: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.2: +2 -2 lines
MFC: More cosmetic fixes and new id(1) functionality.
Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Fri Aug 29 05:29:15 1997 UTC (14 years, 5 months ago) by imp
Branches: RELENG_2_2
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.1: +2 -2 lines
MFC: getopt returns -1 not EOF
Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 10 06:37:10 1997 UTC (14 years, 7 months ago) by charnier
Branches: RELENG_2_2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +22 -48 lines
MFC: use err(3) instead of local redefinition.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Jul 8 11:04:17 1997 UTC (14 years, 7 months ago) by charnier
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +22 -48 lines
Use err(3) instead of local redefinition.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Mar 29 04:29:46 1997 UTC (14 years, 10 months ago) by imp
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -1 lines
compare return value from getopt against -1 rather than EOF, per the final posix standard on the topic.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Jul 12 19:05:23 1996 UTC (15 years, 7 months ago) by jkh
Branches: MAIN
CVS tags: RELENG_2_2_BP, RELENG_2_2_2_RELEASE, RELENG_2_2_1_RELEASE, RELENG_2_2_0_RELEASE
Branch point for: RELENG_2_2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -1 lines
General -Wall warning cleanup, part I. Submitted-By: Kent Vander Velden <graphix@iastate.edu>
Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu May 2 09:10:21 1996 UTC (15 years, 9 months ago) by phk
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +13 -13 lines
NBPG -> PAGE_SIZE
Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue May 30 06:30:27 1995 UTC (16 years, 8 months ago) by rgrimes
Branches: MAIN
CVS tags: RELENG_2_1_7_RELEASE, RELENG_2_1_6_RELEASE, RELENG_2_1_6_1_RELEASE, RELENG_2_1_5_RELEASE, RELENG_2_1_0_RELEASE, RELENG_2_1_0_BP, RELENG_2_1_0, RELENG_2_0_5_RELEASE, RELENG_2_0_5_BP, RELENG_2_0_5
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -3 lines
Remove trailing whitespace.
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Fri May 27 12:31:28 1994 UTC (17 years, 8 months ago) by rgrimes
Branches: CSRG
CVS tags: bsd_44_lite_2, bsd_44_lite, RELENG_2_0_5_ALPHA, RELEASE_2_0, BETA_2_0, ALPHA_2_0
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
BSD 4.4 Lite Usr.bin Sources
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri May 27 12:31:27 1994 UTC (17 years, 8 months ago) by rgrimes
Branches: MAIN
Initial revision
