The NetBSD Project

CVS log for src/sbin/savecore/savecore.c

[BACK] Up to [cvs.NetBSD.org] / src / sbin / savecore

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.86.28.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:23 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.86.28.2: preferred, colored; branchpoint 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86.28.2: +10 -4 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.86.28.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:20 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.86.28.1: preferred, colored; branchpoint 1.86: preferred, colored
Changes since revision 1.86.28.1: +18 -6 lines
Merge changes from current as of 20200406

Revision 1.90: download - view: text, markup, annotated - select for diffs
Fri Apr 3 19:09:43 2020 UTC (4 years, 8 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, HEAD
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +18 -6 lines
Avoid overflows when reading strings.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Wed Nov 6 07:29:08 2019 UTC (5 years, 1 month ago) by mrg
Branches: MAIN
CVS tags: phil-wifi-20191119, is-mlppp-base, is-mlppp
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +12 -6 lines
elide recently introduced warnings that trigger in normal cases, eg:

savecore: dump_exists:471: kvm_read newdumpmag: _kvm_kvatop(ffffffff8180030c)

Revision 1.86.28.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:36 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +45 -63 lines
Sync with HEAD

Revision 1.86.26.2: download - view: text, markup, annotated - select for diffs
Fri Jan 18 08:50:12 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.86.26.1: preferred, colored; branchpoint 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86.26.1: +3 -3 lines
Synch with HEAD

Revision 1.88: download - view: text, markup, annotated - select for diffs
Thu Dec 27 21:25:46 2018 UTC (5 years, 11 months ago) by mrg
Branches: MAIN
CVS tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +3 -3 lines
avoid infinite loop in kmem_check().  fixes bug introduced in previous.

Revision 1.86.26.1: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:14 2018 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +45 -63 lines
Sync with HEAD, resolve a couple of conflicts

Revision 1.87: download - view: text, markup, annotated - select for diffs
Tue Nov 6 04:07:22 2018 UTC (6 years, 1 month ago) by mrg
Branches: MAIN
CVS tags: pgoyette-compat-1226, pgoyette-compat-1126
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +45 -63 lines
put a bunch of the kvm_read + warn on failure code into a macro that
describes more about what failed.  now errors tell you which actual
variable was being requested instead of simply saying "not yours".

tested on amd64 as working.  written for arm64 testing.

Revision 1.84.2.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:37:31 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.84.2.1: preferred, colored; branchpoint 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.2.1: +33 -43 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.85.2.1: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:28:52 2013 UTC (11 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.85: preferred, colored; next MAIN 1.86: preferred, colored
Changes since revision 1.85: +33 -43 lines
resync from head

Revision 1.86: download - view: text, markup, annotated - select for diffs
Mon May 13 18:44:11 2013 UTC (11 years, 7 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +33 -43 lines
- avoid using globals where it is simple.
- simplify: only use stdio for output.

Revision 1.84.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:05:43 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +10 -25 lines
sync with head

Revision 1.85: download - view: text, markup, annotated - select for diffs
Sat Apr 7 16:44:10 2012 UTC (12 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +10 -25 lines
factor out rawname() from dump, fsck, savecore.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Tue Sep 13 19:55:28 2011 UTC (13 years, 3 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: yamt-pagecache
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +3 -2 lines
print the missing flag if missing argument...

Revision 1.83: download - view: text, markup, annotated - select for diffs
Mon Sep 12 21:22:07 2011 UTC (13 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +45 -62 lines
- always print corrupted dump messages instead of silently failing
- don't require /var/crash to be specified, default to it
- determine and print the kernel name
- print all messages to syslog

Revision 1.82: download - view: text, markup, annotated - select for diffs
Mon Aug 29 14:30:38 2011 UTC (13 years, 3 months ago) by joerg
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +50 -63 lines
static + __dead

Revision 1.76.2.1.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 05:26:35 2010 UTC (14 years, 7 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Diff to: previous 1.76.2.1: preferred, colored; next MAIN 1.76.2.2: preferred, colored
Changes since revision 1.76.2.1: +5 -7 lines
sync to netbsd-5

Revision 1.76.2.2: download - view: text, markup, annotated - select for diffs
Sat Nov 28 16:02:17 2009 UTC (15 years ago) by bouyer
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, matt-nb5-pq3-base, matt-nb5-pq3
Diff to: previous 1.76.2.1: preferred, colored; branchpoint 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76.2.1: +5 -7 lines
Pull up following revision(s) (requested by dogcow in ticket #1157):
	sbin/savecore/savecore.c: revision 1.81
Instead of exiting with an obscure error message if -N /kernelname isn't
specified, blithely assume the kernel will consume around 20 megs.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Tue Aug 18 04:02:39 2009 UTC (15 years, 3 months ago) by dogcow
Branches: MAIN
CVS tags: matt-premerge-20091211, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +5 -7 lines
Instead of exiting with an obscure error message if -N /kernelname isn't
specified, blithely assume the kernel will consume around 20 megs.

Revision 1.78.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 19:19:06 2009 UTC (15 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78: +6 -10 lines
Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.80: download - view: text, markup, annotated - select for diffs
Mon Apr 6 12:32:30 2009 UTC (15 years, 8 months ago) by lukem
Branches: MAIN
CVS tags: jym-xensuspend-nbase, jym-xensuspend-base
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +6 -6 lines
fix sign-compare issues

Revision 1.76.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 24 20:46:43 2009 UTC (15 years, 8 months ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +2 -6 lines
Pull up following revision(s) (requested by tls in ticket #598):
	sbin/savecore/savecore.c: revision 1.79
Fix savecore so it uses /dev/ksyms when it can (doesn't override libkvm
default).  Fixes misc/38425.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Sat Mar 21 19:32:44 2009 UTC (15 years, 8 months ago) by tls
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +2 -6 lines
Fix savecore so it uses /dev/ksyms when it can (doesn't override libkvm
default).  Fixes misc/38425.

Revision 1.72.4.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:48:53 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.72.4.2: preferred, colored; branchpoint 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.4.2: +185 -28 lines
Sync with HEAD.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Sun Dec 28 20:17:11 2008 UTC (15 years, 11 months ago) by christos
Branches: MAIN
CVS tags: mjf-devfs2-base
Branch point for: jym-xensuspend
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +4 -3 lines
fix dev_t format.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Fri Dec 5 21:41:10 2008 UTC (16 years ago) by ad
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +3 -3 lines
Enable the faked ELF kernel by default, now that ksyms output works with
gdb. Makes it possible to do post-mortem debugging on a modular kernel.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Mon Oct 20 10:34:54 2008 UTC (16 years, 1 month ago) by ad
Branches: MAIN
CVS tags: netbsd-5-base, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, matt-mips64-base2
Branch point for: netbsd-5
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +178 -29 lines
- Add code to produce a fake ELF kernel containing only symbol info. Done
  by extracting ksyms state from the dump, so we have symbols for modules
  loaded at the time of the crash. If ksyms extraction fails, this falls
  back to the current behaviour of copying /netbsd.

- Leave it disabled for the moment: (1) we are about to branch (2) most
  tools understand the artificial kernel but gdb has trouble with it for
  some reason.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Thu Oct 9 13:59:50 2008 UTC (16 years, 2 months ago) by joerg
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +9 -2 lines
Explicitly check that the dump device is not the console, a tty or pty.
While the list is adhoc, the problems reported are always with
/dev/console. Adresses PR 38425 and similiar issues with Xen.

Revision 1.72.4.2: download - view: text, markup, annotated - select for diffs
Sun Sep 28 11:17:15 2008 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.72.4.1: preferred, colored; branchpoint 1.72: preferred, colored
Changes since revision 1.72.4.1: +2 -2 lines
Sync with HEAD.

Revision 1.73.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:28:30 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73: +4 -4 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Sun Jul 20 01:20:23 2008 UTC (16 years, 4 months ago) by lukem
Branches: MAIN
CVS tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +4 -4 lines
Remove the \n and tabs from the __COPYRIGHT() strings.
(Tweak some to use a consistent format.)

Revision 1.72.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:21:23 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +11 -2 lines
Sync with HEAD.

Revision 1.72.6.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:30:54 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +11 -2 lines
sync with head.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Sun Apr 20 23:40:31 2008 UTC (16 years, 7 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +11 -2 lines
sync() a couple of times to benefit diagnosis of sloppy kernel code that
crashes during boot to multiuser.

Revision 1.70.4.2: download - view: text, markup, annotated - select for diffs
Sun Mar 23 00:44:24 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.70.4.1: preferred, colored; branchpoint 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70.4.1: +45 -18 lines
sync with HEAD

Revision 1.71.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:04:17 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +45 -18 lines
Sync with HEAD.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Tue Jan 15 14:26:42 2008 UTC (16 years, 10 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base
Branch point for: yamt-pf42, mjf-devfs2
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +45 -18 lines
Don't use the block device to read crashdumps, if possible.

Revision 1.70.4.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:38:17 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -3 lines
sync with HEAD

Revision 1.71: download - view: text, markup, annotated - select for diffs
Mon Nov 12 16:04:55 2007 UTC (17 years, 1 month ago) by pooka
Branches: MAIN
CVS tags: matt-armv6-base, cube-autoconf-base, cube-autoconf
Branch point for: mjf-devfs
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -3 lines
tyop: _time_seconf -> _time_second

Revision 1.70: download - view: text, markup, annotated - select for diffs
Mon Dec 18 20:08:48 2006 UTC (17 years, 11 months ago) by christos
Branches: MAIN
CVS tags: matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, hpcarm-cleanup
Branch point for: matt-armv6
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +2 -6 lines
from Anon Ymous: remove (void)&var;

Revision 1.69: download - view: text, markup, annotated - select for diffs
Mon Oct 16 02:56:56 2006 UTC (18 years, 2 months ago) by christos
Branches: MAIN
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +26 -26 lines
c99 initializers

Revision 1.68: download - view: text, markup, annotated - select for diffs
Sun Jul 9 06:45:09 2006 UTC (18 years, 5 months ago) by kardel
Branches: MAIN
CVS tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +25 -34 lines
accept either "time_second" or "time" as kernel timevariable in
order to support common userland in enviroments where
timecounter kernels and non timecounter kernel co-exist
(e.g. xen & i386)

Revision 1.67: download - view: text, markup, annotated - select for diffs
Wed Jun 7 20:56:19 2006 UTC (18 years, 6 months ago) by kardel
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +27 -8 lines
support timecounters (struct time gone, use time_second then)

Revision 1.65.6.2: download - view: text, markup, annotated - select for diffs
Sat Apr 22 02:57:18 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.65.6.1: preferred, colored; branchpoint 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65.6.1: +4 -2 lines
Sync with head.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Fri Mar 17 01:45:51 2006 UTC (18 years, 9 months ago) by hubertf
Branches: MAIN
CVS tags: simonb-timecounters-base
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +4 -2 lines
Free some allocated memory in the failure case when trying to
fetch the panic string.

Fixes Coverity CID 1856.

Revision 1.65.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 4 15:52:36 2006 UTC (18 years, 10 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +27 -8 lines
If we have timecounters, read time_second from the kernel for the
dump time instead of time.tv.sec.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Sat Oct 16 03:48:15 2004 UTC (20 years, 2 months ago) by dsainty
Branches: MAIN
CVS tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Branch point for: simonb-timecounters
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +15 -7 lines
Added -n option, which tests for a present core but doesn't write it
to disk or clear it (does 'nothing').

http://mail-index.netbsd.org/tech-userlevel/2004/10/09/0000.html

Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Fri Jul 23 15:03:58 2004 UTC (20 years, 4 months ago) by tron
Branches: netbsd-1-6
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +2 -3 lines
Apply patch (requested by dbj in ticket 1724):
Fix problems when building the netbsd-1-6 branch with GCC 3.3.3.

Revision 1.61.2.3: download - view: text, markup, annotated - select for diffs
Wed Jul 14 11:38:02 2004 UTC (20 years, 5 months ago) by tron
Branches: netbsd-2-0
CVS tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Diff to: previous 1.61.2.2: preferred, colored; branchpoint 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61.2.2: +9 -8 lines
Pull up revision 1.64 (requested by tls in ticket #650):
Fix an integer overflow that prevented saving cores from machines with
more than 2GB of RAM.
"dumpsize" in the on-disk core header is in pages, but, unfortunately,
c.size in our kcore format is an unsigned 32-bit int, gross.
We sleaze it, using a 64-bit int internally here and handing it to
libkvm as a *signed* 32-bit int.  Won't always work, but shouldn't be
broken any worse than it is now, and sometimes work better.
We must fix the kcore format and libkvm.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Wed Jul 14 07:26:12 2004 UTC (20 years, 5 months ago) by tls
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +9 -8 lines
Fix an integer overflow that prevented saving cores from machines with
more than 2GB of RAM.

"dumpsize" in the on-disk core header is in pages, but, unfortunately,
c.size in our kcore format is an unsigned 32-bit int, gross.

We sleaze it, using a 64-bit int internally here and handing it to
libkvm as a *signed* 32-bit int.  Won't always work, but shouldn't be
broken any worse than it is now, and sometimes work better.

We must fix the kcore format and libkvm.

Revision 1.61.2.2: download - view: text, markup, annotated - select for diffs
Wed Jul 14 07:17:22 2004 UTC (20 years, 5 months ago) by tls
Branches: netbsd-2-0
Diff to: previous 1.61.2.1: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.2.1: +6 -7 lines
revert accidental commit to branch

Revision 1.61.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 14 07:14:50 2004 UTC (20 years, 5 months ago) by tls
Branches: netbsd-2-0
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +9 -8 lines
Fix an integer overflow that prevented saving cores from machines with
more than 2GB of RAM.

"dumpsize" in the on-disk core header is in pages, but, unfortunately,
c.size in our kcore format is an unsigned 32-bit int, gross.

We sleaze it, using a 64-bit int internally here and handing it to
libkvm as a *signed* 32-bit int.  Won't always work, but shouldn't be
broken any worse than it is now, and sometimes work better.

We must fix the kcore format and libkvm.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Wed Apr 21 01:05:34 2004 UTC (20 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +5 -5 lines
Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Tue Mar 30 19:52:02 2004 UTC (20 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -3 lines
Give a 60 day leeway instead of a week when judging if the dumptime is valid.
7 days is too short when you are debugging time problems.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Thu Aug 7 10:04:39 2003 UTC (21 years, 4 months ago) by agc
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -7 lines
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22308, verified by myself.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun May 18 02:11:13 2003 UTC (21 years, 7 months ago) by itojun
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +8 -5 lines
simplify by strlcpy

Revision 1.59: download - view: text, markup, annotated - select for diffs
Fri Dec 6 02:20:00 2002 UTC (22 years ago) by thorpej
Branches: MAIN
CVS tags: fvdl_fs64_base
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +2 -3 lines
Remove prototype for non-existent function log().

Revision 1.58: download - view: text, markup, annotated - select for diffs
Fri Sep 27 18:38:53 2002 UTC (22 years, 2 months ago) by drochner
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +5 -3 lines
use humanize_number(3) for progress printout

Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue Mar 19 18:55:03 2002 UTC (22 years, 8 months ago) by christos
Branches: MAIN
CVS tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Branch point for: netbsd-1-6
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +20 -15 lines
PR/15502: Wolfgang Rupprecht: savecore fails for > 2GB files.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Wed Mar 6 13:13:08 2002 UTC (22 years, 9 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +4 -4 lines
Change type of dumpmag and newdumpmag from int to u_int32_t
since they hold 32bit unsigned magic numbers. (sync with kernels)

Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu Nov 1 07:39:38 2001 UTC (23 years, 1 month ago) by lukem
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +8 -8 lines
fix a couple of -Wshadow warnings

Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed Sep 12 03:14:08 2001 UTC (23 years, 3 months ago) by lukem
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +4 -3 lines
explicitly set the default compression level to 1 (from the implicit 6),
because it's significantly faster and doesn't use that much more disk space.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed Sep 12 02:58:29 2001 UTC (23 years, 3 months ago) by lukem
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +20 -7 lines
Add "-Z level" to control the compression level that -z uses (which
defaults to -Z 6).  Depending on the relative speed of the CPU
versus disk, "-zZ1" might be faster than no compression at all.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Jun 13 23:16:27 2001 UTC (23 years, 6 months ago) by wiz
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +10 -9 lines
Use getbootfile(3) instead of _PATH_UNIX by default.
Sprinkle some const.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sun May 6 13:36:51 2001 UTC (23 years, 7 months ago) by simonb
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +83 -14 lines
If the position of the formatted panic string can be found in the
message buffer, use that instead of the raw panic string.

Suggested by Jason Thorpe eons ago.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Jan 11 20:27:12 2001 UTC (23 years, 11 months ago) by martin
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -3 lines
Make option flag variables static. This avoids a conflict between
'int compress' in savecore.c and the function 'compress' in libz.
Gnu ld 2.10 (with BFD 2.10) used on sparc64 warns this conflict
(symbol "compress" changed size).

Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Jan 2 21:39:37 2001 UTC (23 years, 11 months ago) by joda
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +7 -7 lines
use gzip instead of compress

Revision 1.48: download - view: text, markup, annotated - select for diffs
Tue Jan 2 00:29:37 2001 UTC (23 years, 11 months ago) by lukem
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3 lines
Bump the field width of `K to go' from 6 to 8; some systems have more
than 999999 KB of RAM... (this will suffice until it's common to have
~ 100 GB of RAM :)

Revision 1.47: download - view: text, markup, annotated - select for diffs
Mon Dec 11 14:33:51 2000 UTC (24 years ago) by wiz
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +2 -27 lines
Back out sysctl part for now, awaiting the result of further discussion,
on request of Andrew Doran.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Dec 8 22:03:23 2000 UTC (24 years ago) by wiz
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +6 -2 lines
Output proper warning if dumplo == -1 (as it can happen on macppc without
swap partition), instead of "kvm_dump_mkheader: Pread: Invalid argument".

Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu Dec 7 03:55:44 2000 UTC (24 years ago) by wiz
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +66 -81 lines
de-__P(), and generally try to be more conforming to the new NetBSD style.
Use %m in syslog strings where appropriate.
Reduce warnings with WARNS=2.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Thu Dec 7 03:17:17 2000 UTC (24 years ago) by wiz
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +46 -18 lines
Fix argument handling, which was pretty broken.
If sysctl supports it, try to get the kernel name with CPU_BOOTED_KERNEL.
Get current kernels version string in all cases.
Adapt some error messages to the correct kernel name.
Reviewed by Simon Burge.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Oct 8 07:04:28 2000 UTC (24 years, 2 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +11 -16 lines
initialize kernel to _PATH_UNIX and remove local variables in functions
which are essentially copies of kernel.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Oct 1 02:27:06 2000 UTC (24 years, 2 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -3 lines
savecore was looking up dumpdev, etc, from the wrong kernel

Revision 1.40.8.1: download - view: text, markup, annotated - select for diffs
Mon Aug 7 01:11:19 2000 UTC (24 years, 4 months ago) by mrg
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +5 -3 lines
pull up 1.41 (approved by jhawk):
>time is a `struct timeval' not a `time_t', so read it in properly.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Aug 1 16:46:27 2000 UTC (24 years, 4 months ago) by eeh
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +5 -3 lines
time is a `struct timeval' not a `time_t', so read it in properly.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Mon Aug 2 00:33:01 1999 UTC (25 years, 4 months ago) by mycroft
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl, comdex-fall-1999-base, comdex-fall-1999
Branch point for: netbsd-1-5
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3 lines
s/on device/in [dirname]/, to be a bit clearer...

Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Fri Jul 2 18:13:41 1999 UTC (25 years, 5 months ago) by perry
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +2 -3 lines
pullup 1.38->1.39 (cgd)

Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Jul 1 08:53:35 1999 UTC (25 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -3 lines
Remove an extraneous fclose() call which would cause savecore to crash
if the bounds file was unwritable (e.g. because /var was read-only).
Fix supplied by Ronald Khoo in PR#7887.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Feb 27 20:40:30 1999 UTC (25 years, 9 months ago) by sommerfe
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE
Branch point for: netbsd-1-4
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -4 lines
Crash dumps should *not* be world readable.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Jul 23 19:05:59 1998 UTC (26 years, 4 months ago) by sommerfe
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +5 -3 lines
Avoid truncating partition size in freespace calculation

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Apr 1 15:15:58 1998 UTC (26 years, 8 months ago) by kleink
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -2 lines
Need <time.h> for time() and ctime() prototypes.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed Feb 18 01:24:08 1998 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +6 -2 lines
Avoid

Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue Sep 16 14:19:03 1997 UTC (27 years, 3 months ago) by lukem
Branches: MAIN
CVS tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -3 lines
resolve conflicts from lite-2 merge

Revision 1.1.1.3 (vendor branch): download - view: text, markup, annotated - select for diffs
Tue Sep 16 12:43:35 1997 UTC (27 years, 3 months ago) by lukem
Branches: WFJ-920714, CSRG
CVS tags: lite-2
Diff to: previous 1.1.1.2: preferred, colored
Changes since revision 1.1.1.2: +4 -4 lines
imported from lite-2

Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Sep 16 08:37:18 1997 UTC (27 years, 3 months ago) by mrg
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +4 -3 lines
make these compile on the alpha after WARNS=1.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Sep 15 11:08:45 1997 UTC (27 years, 3 months ago) by lukem
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +22 -18 lines
* cleanup for WARNS=1
* fix .Nm usage
* deprecate register

Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Aug 25 19:31:53 1997 UTC (27 years, 3 months ago) by kleink
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3 lines
Lseek(2) usage cleanup: the use of L_SET/L_INCR/L_XTND is deprecated,
use SEEK_SET/SEEK_CUR/SEEK_END instead.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon May 19 16:28:03 1997 UTC (27 years, 6 months ago) by pk
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +45 -11 lines
More error checking.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Apr 21 12:50:43 1997 UTC (27 years, 7 months ago) by mrg
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -2 lines
set umask for savecore.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Oct 1 18:21:48 1996 UTC (28 years, 2 months ago) by cgd
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -4 lines
make datas item copied out from kernel (panicstr) and/or used as kvm pointers
(panicloc) be 'long's, not 'int's.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Jun 23 20:30:39 1996 UTC (28 years, 5 months ago) by leo
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +11 -2 lines
If kvm_dump_mkheader() returns 0, simply state 'no core dump' instead
of logging and error.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Mar 18 21:16:05 1996 UTC (28 years, 9 months ago) by leo
Branches: MAIN
CVS tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -4 lines
Omit kd_live argument to kvm_dump_mkheader().

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Mar 16 10:29:46 1996 UTC (28 years, 9 months ago) by leo
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +95 -92 lines
New libkvm/savecore implementation. With the following differences:
     1) savecore will not access the dump or live-kernel directly. It
        will always use the kvm-functions. Allowing it to work on kernels
        that don't have a 1-1 PA-VA mapping.
     2) the kvm-lib has some additional functions to accomplish 1
          - kvm_dump_mkheader()
          - kvm_dump_wrtheader()
          - kvm_dump_inval()
     3) the file formats of the dump generated by the kernel and the dump
        generated by savecore have been changed. The file format now looks
        like the format produced for 'normal' core dumps.
Ports not yet supporting the new kvm-format will be using libkvm.old/
savecore.old for the time being.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Mar 8 08:52:12 1996 UTC (28 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3 lines
Put the compression suffix *last*.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Jul 24 20:35:02 1995 UTC (29 years, 4 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +13 -7 lines
set dumpsize in dump_exists(), not save_core(), so that minfree check
works again.  solves pr 1257, but sets dumpsize earlier than suggested
in that pr, so that dumpsize is set if a core doesn't appear to be
present (because dumpsize would be used if the '-f' flag is given).

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Jun 25 06:28:13 1995 UTC (29 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -5 lines
fix verbose printf of dumplo, clean up printfs slightly

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Mar 18 15:01:02 1995 UTC (29 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +7 -2 lines
convert to new RCS Id conventions; reduce my headache

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Jan 4 05:30:07 1995 UTC (29 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
Fix getopt string and test on return value.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Oct 31 04:47:26 1994 UTC (30 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +1 -3 lines
 oops; get rid of previous (iffy) zopen declaration

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Oct 31 04:37:32 1994 UTC (30 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -1 lines
make a proto for zopen (yech)

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Sep 23 14:28:15 1994 UTC (30 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
Eliminate uses of some obsolete functions.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Sep 18 03:40:44 1994 UTC (30 years, 3 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -2 lines
prototype zopen()
NBPG --> getpagesize()

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Sep 17 00:23:00 1994 UTC (30 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +20 -20 lines
vmunix --> kernel (for variable names), and make the core file naming
convention match that of other executables.

Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon Jun 13 23:54:46 1994 UTC (30 years, 6 months ago) by mycroft
Branches: WFJ-920714, CSRG
CVS tags: lite-1
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +400 -345 lines
Import 4.4-Lite version.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Jun 11 08:01:17 1994 UTC (30 years, 6 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -1 lines
Fix up RCS ids.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Jun 10 13:35:25 1994 UTC (30 years, 6 months ago) by pk
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +393 -336 lines
Update to 4.4-lite, local changes to man page.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue May 31 09:38:12 1994 UTC (30 years, 6 months ago) by pk
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -1 lines
Initialize return value from save_core() in case dumpsize == 0.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri May 27 08:40:49 1994 UTC (30 years, 6 months ago) by pk
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +8 -4 lines
Don't clear dump if writing it to the filesystem fails (eg. file system full)

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Apr 21 07:59:08 1994 UTC (30 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
queue/struct changes

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Apr 6 06:40:28 1994 UTC (30 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
kill two casts

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Apr 6 01:41:32 1994 UTC (30 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3 lines
serious perversion:
most of the 'off' arguments to Lseek() (the internal lseek() wrapper)
are unsigned longs.  we need them to be sign extended, though, so change
Lseek() to take a 'long' rather than an 'off_t', and let the compiler
do the dirty work via implicit casts.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Apr 4 22:45:08 1994 UTC (30 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +25 -26 lines
lseek stuff, and clean up.  this is perverse.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Feb 14 19:32:21 1994 UTC (30 years, 10 months ago) by cgd
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -14 lines
correct ok() calculation for all architectures.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Dec 8 16:43:16 1993 UTC (31 years ago) by pk
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +6 -1 lines
Check for dumpdev being NODEV. If so, exit silently, unless verbose is on.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Aug 1 18:24:08 1993 UTC (31 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
Add RCS identifiers.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Mar 23 00:31:06 1993 UTC (31 years, 8 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-alpha-1, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9, netbsd-0-8
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -1 lines
changed "Id" to "Header" for rcsids

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Mar 22 08:04:00 1993 UTC (31 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -0 lines
added rcs ids to all files

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 8 months ago) by cgd
Branches: WFJ-920714, CSRG
CVS tags: patchkit-0-2-2, WFJ-386bsd-01
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
initial import of 386bsd-0.1 sources

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 8 months ago) by cgd
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>