Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   ad
Date:           Sat Mar  7 22:08:08 UTC 2009

Modified Files:
        src/distrib/sets/lists/base: mi
        src/distrib/sets/lists/comp: mi
        src/distrib/sets/lists/man: mi
        src/sbin/savecore: savecore.8
        src/share/man/man4: ddb.4
        src/usr.sbin: Makefile
Added Files:
        src/usr.sbin/crash: Makefile crash.8 crash.c extern.h unsupported.c
        src/usr.sbin/crash/arch: generic.c i386.c

Log Message:
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".


To generate a diff of this commit:
cvs rdiff -u -r1.798 -r1.799 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.1237 -r1.1238 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.1127 -r1.1128 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.33 -r1.34 src/sbin/savecore/savecore.8
cvs rdiff -u -r1.123 -r1.124 src/share/man/man4/ddb.4
cvs rdiff -u -r1.238 -r1.239 src/usr.sbin/Makefile
cvs rdiff -u -r0 -r1.1 src/usr.sbin/crash/Makefile src/usr.sbin/crash/crash.8 \
    src/usr.sbin/crash/crash.c src/usr.sbin/crash/extern.h \
    src/usr.sbin/crash/unsupported.c
cvs rdiff -u -r0 -r1.1 src/usr.sbin/crash/arch/generic.c \
    src/usr.sbin/crash/arch/i386.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index