The NetBSD Project

CVS log for src/usr.sbin/crash/crash.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Nov 21 07:20:10 2024 UTC (3 weeks ago) by skrll
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
Trailing whitespace

Revision 1.14.6.2: download - view: text, markup, annotated - select for diffs
Wed Sep 11 16:37:28 2024 UTC (3 months ago) by martin
Branches: netbsd-10
Diff to: previous 1.14.6.1: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.6.1: +6 -5 lines
Pull up following revision(s) (requested by rin in ticket #834):

	usr.sbin/crash/crash.c: revision 1.16

Implement cngetc, don't abort.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Dec 11 14:00:47 2023 UTC (12 months ago) by mlelstv
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +6 -5 lines
Implement cngetc, don't abort.

Revision 1.14.6.1: download - view: text, markup, annotated - select for diffs
Tue Aug 1 14:36:59 2023 UTC (16 months, 1 week ago) by martin
Branches: netbsd-10
CVS tags: 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
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -3 lines
Pull up following revision(s) (requested by riastradh in ticket #283):

	usr.sbin/crash/arch/powerpc.c: revision 1.1
	sys/arch/powerpc/powerpc/db_trace.c: revision 1.61
	sys/arch/powerpc/powerpc/db_trace.c: revision 1.62
	sys/arch/powerpc/powerpc/db_trace.c: revision 1.63
	usr.sbin/crash/crash.c: revision 1.15
	sys/arch/powerpc/powerpc/db_disasm.c: revision 1.30
	sys/arch/powerpc/powerpc/db_disasm.c: revision 1.31
	usr.sbin/crash/arch/generic.c: revision 1.2
	usr.sbin/crash/Makefile: revision 1.47
	usr.sbin/crash/arch/powerpc64.c: revision 1.1

crash(8): Add powerpc support.

powerpc/ddb: Use db_read_bytes, not direct pointer access.
Mark some powerpc-variant ifdefs with XXX crash(8), not sure yet what
to do about them.

powerpc/ddb: Fix one more load to use db_read_bytes.
Fix some typos in crash(8) comments too.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Apr 12 17:53:32 2023 UTC (20 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -3 lines
crash(8): Add powerpc support.

XXX pullup-8
XXX pullup-9
XXX pullup-10

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Aug 17 04:15:33 2020 UTC (4 years, 3 months ago) by mrg
Branches: MAIN
CVS tags: netbsd-10-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: netbsd-10
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -2 lines
mostly complete basic port of crash(8) to mips.

tested on mipsel and mips64eb.  basic functionality works
on the running kernel, not yet tested on crash dumps.

Revision 1.11.14.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:09:19 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +22 -2 lines
Merge changes from current as of 20200406

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Mar 27 00:17:08 2020 UTC (4 years, 8 months ago) by ad
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +7 -8 lines
No need for warnx() if !LOCKDEBUG

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Mar 9 01:54:31 2020 UTC (4 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +23 -2 lines
Add primitive LOCKDEBUG support.

Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:58:07 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +3 -2 lines
Sync with HEAD

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Jan 10 20:57:26 2017 UTC (7 years, 11 months ago) by christos
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, 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, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, 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, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, is-mlppp-base, is-mlppp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -2 lines
need <sys/stat.h>

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Jun 16 23:48:20 2015 UTC (9 years, 5 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +0 -47 lines
revert kernhist patch accidentally committed

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Jun 16 23:04:14 2015 UTC (9 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +49 -2 lines
improve error messages (remove \n, use __func__, etc)

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Oct 6 13:14:36 2014 UTC (10 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3 lines
mention the default for core too.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Oct 5 23:08:01 2014 UTC (10 years, 2 months ago) by wiz
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -5 lines
usage police
XXX: is the program usage correct? (/dev/ksyms)

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Oct 5 22:58:43 2014 UTC (10 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +9 -5 lines
add -w

Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Thu May 22 11:43:02 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +3 -3 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.4.8.1: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:29:03 2013 UTC (11 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +3 -3 lines
resync from head

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Mar 10 19:32:29 2013 UTC (11 years, 9 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, 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, agc-symver-base, agc-symver
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
add MAP_PRIVATE

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Aug 31 13:32:36 2011 UTC (13 years, 3 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, 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, tls-maxphys
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3 lines
Use __dead

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Apr 10 20:39:42 2011 UTC (13 years, 8 months ago) by christos
Branches: MAIN
CVS tags: cherry-xenmp-base, cherry-xenmp
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +42 -34 lines
- amd64 support
- fix end of file handling
From: Vladimir Kirillov proger at wilab dot org dot ua

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Wed May 13 19:20:20 2009 UTC (15 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.1: +469 -0 lines
Sync with HEAD.

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

Revision 1.2.2.1
Thu Apr 16 06:52:08 2009 UTC (15 years, 8 months ago) by jym
Branches: jym-xensuspend
FILE REMOVED
Changes since revision 1.2: +0 -469 lines
file crash.c was added on branch jym-xensuspend on 2009-05-13 19:20:20 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Apr 16 06:52:08 2009 UTC (15 years, 8 months ago) by lukem
Branches: MAIN
CVS tags: matt-premerge-20091211, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jym-xensuspend
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -4 lines
Fix -Wsign-compare issues

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Mar 7 22:08:08 2009 UTC (15 years, 9 months ago) by ad
Branches: MAIN
Add crash(8), a utility to diagnose kernel crashes. This is basically
ddb running on crash dumps, but with two notable changes:

- Breakpoints, watches, etc are obviously never going to work so they
  are not handled.

- You can pipe output to the shell, e.g. ps | grep foo

Items remaining to be done:

- Port it to architectures other than i386. This isn't difficult, just
  a case of making db_disasm.c/db_trace.c or their equivalent compile
  and work.

- Make more of the "show" commands work, e.g "show uvmexp".

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>