| History log of /src/usr.sbin/crash |
| Revision | Date | Author | Comments |
| 1.54 | 20-Oct-2025 |
nat | New port: mac68ksf - Macintosh 68k softfloat.
This commit is all the Makefile glue for the new port which is the mac68k port with MKSOFTFLOAT set to "yes".
As posted here: https://mail-index.netbsd.org/port-mac68k/2025/10/14/msg001037.html
|
| 1.53 | 25-Nov-2024 |
skrll | risc-v: support crash(8)
|
| 1.52 | 19-Nov-2024 |
skrll | Sort a condition. NFCI.
|
| 1.51 | 26-Apr-2024 |
christos | branches: 1.51.2; Add ${TOOL_DATE} (Jan-Benedict Glaw)
|
| 1.50 | 22-Nov-2023 |
thorpej | Add Alpha glue for crash(8).
|
| 1.49 | 09-Jul-2023 |
riastradh | ddb: New `show all tstiles' command.
Shows who's waiting for which locks and what the owner is up to.
XXX pullup-10
|
| 1.48 | 03-Jun-2023 |
lukem | bsd.own.mk: rename GCC_NO_* to CC_WNO_*
Rename compiler-warning-disable variables from GCC_NO_warning to CC_WNO_warning where warning is the full warning name as used by the compiler.
GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH
Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
|
| 1.47 | 12-Apr-2023 |
riastradh | crash(8): Add powerpc support.
XXX pullup-8 XXX pullup-9 XXX pullup-10
|
| 1.46 | 13-Apr-2021 |
mrg | branches: 1.46.6; more -fcommon for sources not ready yet
|
| 1.45 | 17-Aug-2020 |
mrg | 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.
|
| 1.44 | 09-Mar-2020 |
rin | Restrict LOCKDEBUG support to archs with REALCRASH. Fix build failure for other archs.
|
| 1.43 | 09-Mar-2020 |
christos | Add primitive LOCKDEBUG support.
|
| 1.42 | 13-Oct-2019 |
mrg | introduce some common variables for use in GCC warning disables:
GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8) GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8) GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8) GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8)
use these to turn off warnings for most GCC-8 complaints. many of these are false positives, most of the real bugs are already commited, or are yet to come.
we plan to introduce versions of (some?) of these that use the "-Wno-error=" form, which still displays the warnings but does not make it an error, and all of the above will be re-considered as either being "fix me" (warning still displayed) or "warning is wrong."
|
| 1.41 | 15-Sep-2018 |
jakllsch | make kernel-groveling crash(8) work on aarch64
|
| 1.40 | 20-May-2018 |
christos | branches: 1.40.2; Fix reproducible builds XXX: pullup-8
|
| 1.39 | 04-Mar-2018 |
mlelstv | branches: 1.39.2; Align with DDB.
|
| 1.38 | 24-Jan-2018 |
skrll | Remove port-acorn26
OK core@
|
| 1.37 | 21-Jul-2017 |
nakayama | sparc has db_machdep.c now.
|
| 1.36 | 10-Apr-2017 |
christos | branches: 1.36.4; Protect the right part.
|
| 1.35 | 09-Apr-2017 |
christos | fix syntax
|
| 1.34 | 09-Apr-2017 |
christos | stack protector issue on sparc
|
| 1.33 | 23-Dec-2016 |
mrg | branches: 1.33.2; for 64 bit mips platforms where we built userland largely as n32 by default, build a handful of tools as n64 so they work properly.
unfortunately, they're also static as dynamic n64 has a problem.
of these tools pstat is probably the lowest hanging fruit to convert to sysctl. systat would be close were it not for the netstat screen, which includes netstat itself.
the rest are difficult to perhaps foolish.
the upside is that netstat, pmap and fstat all work properly now.
|
| 1.32 | 10-Dec-2016 |
mrg | enable sparc crash(8) builds. it's not very stable yet but it's not 100% useless.
|
| 1.31 | 16-Jun-2015 |
christos | branches: 1.31.2; revert kernhist patch accidentally committed
|
| 1.30 | 16-Jun-2015 |
christos | improve error messages (remove \n, use __func__, etc)
|
| 1.29 | 09-Feb-2015 |
christos | Only define the extra flags for kern_timeout.c
|
| 1.28 | 08-Feb-2015 |
christos | add kern_timeout.c for "show callout"
|
| 1.27 | 30-Mar-2014 |
skrll | Build everything on all arm variants
|
| 1.26 | 29-Mar-2014 |
skrll | Simplify
|
| 1.25 | 24-Feb-2014 |
skrll | Rename NetBSD/hp700 to NetBSD/hppa.
Unfortunately our VCS isn't very helpful here.
|
| 1.24 | 04-Mar-2013 |
christos | make crash traces work on sparc64
|
| 1.23 | 04-Nov-2012 |
apb | Add references to ${_NETBSD_VERSION_DEPENDS} for files that need to be re-created when the NetBSD version changes. They will also be re-created when any build settings are changed.
|
| 1.22 | 31-Aug-2012 |
skrll | branches: 1.22.2; Don't advertise the abt/und/irq stack pointers as accessible to crash(8) when they're not
|
| 1.21 | 18-Feb-2012 |
christos | m68k does not have or need db_machdep.c
|
| 1.20 | 18-Feb-2012 |
christos | revert sparc64 hack
|
| 1.19 | 17-Feb-2012 |
martin | Fix build for sparc64
|
| 1.18 | 16-Feb-2012 |
christos | use -n too, so that we don't get a dup note.
|
| 1.17 | 16-Feb-2012 |
christos | - make this work for arm32 - factor out duplicated ifdefs
|
| 1.16 | 31-Jan-2012 |
mlelstv | Enable build of crash(8) for m86k platforms.
|
| 1.15 | 18-Jan-2012 |
skrll | Support crash(8) on hppa.
|
| 1.14 | 17-Jan-2012 |
skrll | Remove workaround for old binutils.
|
| 1.13 | 16-Aug-2011 |
christos | branches: 1.13.2; document non-literal format
|
| 1.12 | 26-May-2011 |
joerg | Default to -Wno-sign-compare -Wno-pointer-sign for clang. Push -Wno-array-bounds down to the cases that depend on it. Selectively disable warnings for 3rd party software or non-trivial issues to be reviewed later to get clang -Werror to build most of the tree.
|
| 1.11 | 30-Apr-2011 |
christos | Share the amd64 and i386 files. XXX: Is there a better way to get the cpu family?
|
| 1.10 | 14-Apr-2011 |
mrg | enable crash(8) for sparc64. it's still sort of minimal and segvs on some commands, but it sort of works and isn't useless.
|
| 1.9 | 12-Apr-2011 |
mrg | replace a non-working make construct with a working one. now crash only builds unsupported.c on non-x86 systems again.
|
| 1.8 | 11-Apr-2011 |
mrg | obsolete DB_AOUT_SYMBOLS. however, we need to leave most of the code in db_sym.[ch] as it is used by the elf version of crash(8).
i will be cleaning up the db_sym.c code in a follow up commit to avoid having dead code compiled.
|
| 1.7 | 10-Apr-2011 |
christos | - amd64 support - fix end of file handling From: Vladimir Kirillov proger at wilab dot org dot ua
|
| 1.6 | 21-Mar-2011 |
joerg | Create vers.c with -r, there is no point in embedding an ever changing token that isn't even used.
|
| 1.5 | 23-Apr-2010 |
christos | workaround for MKPIE=yes until binutils-2.20.1 is imported. From Piotr Meyer
|
| 1.4 | 03-Feb-2010 |
roy | Userland now builds and uses terminfo instead of termcap.
OK: core@, jdc@
|
| 1.3 | 04-Jun-2009 |
christos | Avoid -mcmodel=kernel so that we can build in PIC mode.
|
| 1.2 | 22-Apr-2009 |
lukem | branches: 1.2.2; Enable WARNS=4 by default, except for: cpuctl dumplfs hprop ipf iprop-log kadmin kcm kdc kdigest kimpersonate kstash ktutil makefs ndbootd ntp pppd quot racoon racoonctl rtadvd sntp sup tcpdchk tcpdmatch tcpdump traceroute traceroute6 user veriexecgen wsmoused zic (Mostly third-party applications)
|
| 1.1 | 07-Mar-2009 |
ad | 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".
|
| 1.2.2.2 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.2.2.1 | 22-Apr-2009 |
jym | file Makefile was added on branch jym-xensuspend on 2009-05-13 19:20:20 +0000
|
| 1.13.2.4 | 22-May-2014 |
yamt | 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")
|
| 1.13.2.3 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.13.2.2 | 30-Oct-2012 |
yamt | sync with head
|
| 1.13.2.1 | 17-Apr-2012 |
yamt | sync with head
|
| 1.22.2.3 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.22.2.2 | 23-Jun-2013 |
tls | resync from head
|
| 1.22.2.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.31.2.2 | 26-Apr-2017 |
pgoyette | Sync with HEAD
|
| 1.31.2.1 | 07-Jan-2017 |
pgoyette | Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
|
| 1.33.2.1 | 21-Apr-2017 |
bouyer | Sync with HEAD
|
| 1.36.4.2 | 07-Jun-2018 |
martin | Pull up following revision(s) (requested by christos in ticket #834):
usr.bin/make/var.c: revision 1.219 share/mk/bsd.obj.mk: revision 1.52 usr.sbin/crash/Makefile: revision 1.40 share/mk/sys.mk: revision 1.131 share/mk/bsd.sys.mk: revision 1.276 share/mk/bsd.sys.mk: revision 1.277
Prevent 'make obj' creating an objdir inside an objdir. This happens the second time we call 'make obj' in /usr/src/rescue with MAKEOBJDIR set. XXX: pullup-8 - Need to delete ${DESTDIR} for lint XXX: pullup-8 - Fix reproducible builds XXX: pullup-8 - Also substitute ${X11SRCDIR} for the random seed for reproducible builds so that the random seed is consistent. XXX: pullup-8 - Since ${MAKE} converts $$ -> $ during parsing we need to put it back to preserve the original variable value with :Q. XXX: pullup-8 - Be more selective about remapping object directories otherwise we pick objdump and objcopy with the regex. XXX: pullup-8
|
| 1.36.4.1 | 25-Jul-2017 |
snj | Pull up following revision(s) (requested by nakayama in ticket #152): usr.sbin/crash/Makefile: revision 1.37 sys/arch/sparc/conf/files.sparc: revision 1.157 sys/arch/sparc/sparc/db_interface.c: revision 1.94 sys/arch/sparc/sparc/db_machdep.c: revision 1.1 Move the ddb registers and empty command table used for crash(8) into db_machdep.c like other archs. -- sparc has db_machdep.c now.
|
| 1.39.2.2 | 30-Sep-2018 |
pgoyette | Ssync with HEAD
|
| 1.39.2.1 | 21-May-2018 |
pgoyette | Sync with HEAD
|
| 1.40.2.3 | 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.40.2.2 | 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.40.2.1 | 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.46.6.2 | 09-Aug-2023 |
martin | Pull up following revision(s) (requested by maya in ticket #316):
sys/arch/m68k/include/mutex.h: revision 1.13 sys/arch/arm/include/cpu.h: revision 1.125 sys/arch/sun68k/include/intr.h: revision 1.21 sys/arch/arm/include/mutex.h: revision 1.28 sys/sys/rwlock.h: revision 1.18 sys/arch/powerpc/include/mutex.h: revision 1.7 sys/arch/arm/include/mutex.h: revision 1.29 sys/arch/powerpc/include/mutex.h: revision 1.8 sys/uvm/uvm_param.h: revision 1.42 sys/sys/ksem.h: revision 1.16 sys/arch/x86/include/mutex.h: revision 1.10 sys/sys/proc.h: revision 1.372 sys/sys/ksem.h: revision 1.17 sys/arch/ia64/include/mutex.h: revision 1.8 sys/arch/evbarm/include/intr.h: revision 1.29 sys/sys/lua.h: revision 1.9 sys/arch/next68k/include/intr.h: revision 1.23 sys/arch/ia64/include/mutex.h: revision 1.9 sys/arch/hp300/include/intr.h: revision 1.35 sys/arch/hp300/include/intr.h: revision 1.36 sys/arch/sparc/include/cpu.h: revision 1.111 sys/arch/hppa/include/mutex.h: revision 1.16 sys/arch/vax/include/intr.h: revision 1.31 sys/arch/hppa/include/mutex.h: revision 1.17 sys/arch/news68k/include/intr.h: revision 1.28 sys/arch/hppa/include/mutex.h: revision 1.18 sys/arch/hppa/include/intr.h: revision 1.3 sys/arch/hppa/include/mutex.h: revision 1.19 sys/arch/hppa/include/intr.h: revision 1.4 sys/sys/sched.h: revision 1.92 sys/opencrypto/cryptodev.h: revision 1.51 sys/arch/vax/include/mutex.h: revision 1.20 sys/arch/sparc64/include/mutex.h: revision 1.10 sys/arch/ia64/include/sapicvar.h: revision 1.2 sys/arch/riscv/include/mutex.h: revision 1.5 sys/arch/amiga/dev/grfabs_cc.c: revision 1.39 sys/external/bsd/drm2/include/linux/idr.h: revision 1.11 sys/arch/riscv/include/mutex.h: revision 1.6 sys/ddb/files.ddb: revision 1.16 sys/arch/mac68k/include/intr.h: revision 1.32 share/man/man4/ddb.4: revision 1.203 sys/ddb/db_command.c: revision 1.183 sys/arch/mips/include/mutex.h: revision 1.10 sys/ddb/db_command.c: revision 1.184 sys/arch/x68k/include/intr.h: revision 1.22 sys/arch/sparc/include/psl.h: revision 1.51 sys/arch/or1k/include/mutex.h: revision 1.4 sys/arch/mips/include/mutex.h: revision 1.11 sys/arch/arm/xscale/pxa2x0_intr.h: revision 1.16 sys/arch/sparc64/include/cpu.h: revision 1.134 sys/arch/sparc/include/psl.h: revision 1.52 sys/arch/or1k/include/mutex.h: revision 1.5 sys/arch/mvme68k/include/intr.h: revision 1.22 sys/arch/luna68k/include/intr.h: revision 1.16 external/cddl/osnet/sys/sys/kcondvar.h: revision 1.6 sys/arch/sparc/include/mutex.h: revision 1.12 sys/arch/sparc/include/mutex.h: revision 1.13 sys/arch/usermode/include/mutex.h: revision 1.5 sys/arch/usermode/include/mutex.h: revision 1.6 sys/kern/kern_core.c: revision 1.38 usr.sbin/crash/Makefile: revision 1.49 sys/arch/amiga/include/intr.h: revision 1.23 sys/arch/alpha/include/mutex.h: revision 1.12 sys/arch/alpha/include/mutex.h: revision 1.13 sys/arch/evbarm/lubbock/sacc_obio.c: revision 1.16 sys/ddb/ddb.h: revision 1.6 sys/arch/sparc64/include/mutex.h: revision 1.8 sys/arch/sh3/include/mutex.h: revision 1.12 sys/arch/evbarm/lubbock/sacc_obio.c: revision 1.17 sys/ddb/db_syncobj.c: revision 1.1 sys/arch/vax/include/mutex.h: revision 1.18 sys/arch/sparc64/include/psl.h: revision 1.63 sys/arch/sparc64/include/mutex.h: revision 1.9 sys/arch/sh3/include/mutex.h: revision 1.13 sys/arch/evbarm/lubbock/obio.c: revision 1.13 sys/arch/atari/include/intr.h: revision 1.23 sys/ddb/db_syncobj.c: revision 1.2 sys/arch/vax/include/mutex.h: revision 1.19 sys/arch/evbarm/g42xxeb/obio.c: revision 1.14 sys/arch/evbarm/g42xxeb/obio.c: revision 1.15 sys/arch/cesfic/include/intr.h: revision 1.14 sys/ddb/db_syncobj.h: revision 1.1 sys/arch/x86/include/cpu.h: revision 1.134 sys/arch/evbarm/g42xxeb/obio.c: revision 1.16 sys/arch/cesfic/include/intr.h: revision 1.15 sys/arch/arm/xscale/pxa2x0_intr.c: revision 1.26 sys/sys/cpu_data.h: revision 1.54 sys/arch/m68k/include/mutex.h: revision 1.12 sys/arch/ia64/acpi/madt.c: revision 1.6
sys/rwlock.h: Make this more self-contained for bool.
machine/mutex.h: Sprinkle includes so this can be used by crash(8).
ddb: New `show all tstiles' command. Shows who's waiting for which locks and what the owner is up to.
Include psl.h for ipl_cookie_t if __MUTEX_PRIVATE
sys: Rip <sys/resourcevar.h> out of <uvm/uvm_param.h>.
And thus out of <sys/param.h>, which is exceedingly overused and fragile and delenda est.
Should fix (some) issues with the recent inclusion of machine/lock.h in various machine/mutex.h files.
arm/mutex.h: Need machine/intr.h, machine/lock.h.
For ipl_cookie_t and __cpu_simple_lock_t. evbarm/intr.h: Define ipl_cookie_t before including ARM_INTR_IMPL.
Otherwise arm/mutex.h doesn't work, due to a cyclic dependency which should really be fixed. opencrypto/cryptodev.h: Fix includes. - Move sys/condvar.h under #ifdef _KERNEL. - Add some other necessary includes and forward declarations. - Sort.
hp300/intr.h: Fix missing includes. linux/idr.h: Need <sys/mutex.h> for kmutex_t. amiga/intr.h: Don't define spl*() functions if !_KERNEL.
This is used by crash(8) now, and what's important is ipl_cookie_t. cesfic/intr.h: Expose ipl_cookie_t to userland for crash(8). cesfic/intr.h: Expose ipl_cookie_t to userland only with _KMEMUSER.
Probably not necessary but let's be a little more cautious about this.
atari/intr.h: Expose ipl_cookie_t with _KMEMUSER for crash(8).
arm/cpu.h: Need sys/param.h for COHERENCY_UNIT.
Nix machine/param.h -- not meant to be used directly, pulled in by sys/param.h.
Move the definition of ipl_cookie_t out of the kernel-only sections, some _KMEMUSER applications need it.
ddb: Cast pointer to uintptr_t first before db_expr_t.
hppa/intr.h: Expose ipl_cookie_t to _KMEMUSER for crash(8).
luna68k/intr.h: Expose ipl_cookie_t to _KMEMUSER for crash(8).
mvme68k/intr.h: Expose ipl_cookie_t to _KMEMUSER for crash(8).
news68k/intr.h: Fix includes. Put some definitions under _KERNEL.
next68k/intr.h: Expose ipl_cookie_t to _KMEMUSER for crash(8).
sys/ksem.h: Hack around fstat(8) abuse of _KERNEL.
sun68k/intr.h: Expose ipl_cookie_t to _KMEMUSER for crash(8).
vax/intr.h: Expose ipl_cookie_t to _KMEMUSER for crash(8).
x68k/intr.h: Put functions under _KERNEL so crash(8) can use this.
Make ipl_cookie_t visible for _KMEMUSER userland applications.
fix editor mishap in previous
Explicitly include <sys/mutex.h> for kmutex_t.
Replace kmutex_t * (which may be undefined here) with struct kmutex *, suggested by Taylor.
hp300/intr.h: Put most of this under #ifdef _KERNEL. Only ipl_cookie_t really needs to be exposed now, for crash(8).
mac68k/intr.h: Expose ipl_cookie_t to _KMEMUSER for crash(8). Make inclusion of sys/intr.h explicit for spl*.
fix hppa and vax builds.
machine/lock.h isn't necessary for __cpu_simple_lock_t, it's in sys/types.h. avoids cpu_data.h vs sched.h include order issues.
move the hppa ipl_t typedef with the moved usage of it. machine/mutex.h: Sprinkle sys/types.h, omit machine/lock.h.
Turns out machine/lock.h is not needed for __cpu_simple_lock_t, which always comes from sys/types.h. And, really, sys/types.h (or at least sys/stdint.h) is needed for uintN_t and uintptr_t.
ddb: Cast pointer to uintptr_t, then to db_expr_t. Avoids warnings about conversion between pointer and integer of different size on some architectures.
re-fix hppa builds.
this file uses __cpu_simple_lock(), not just the underlying type, so it does need machine/lock.h.
Break cycle by using `struct kmutex *' instead of `kmutex_t *'. sys/sched.h included sys/mutex.h which includes sys/intr.h which includes machine/intr.h which on cats includes arm/footbridge/footbridge_intr.h which includes arm/cpu.h which includes sys/cpu_data.h which includes sys/sched.h
But there was never any real need for sys/mutex.h in sys/sched.h, because it only uses pointers to the opaque struct kmutex. Cycle broken by using `struct kmutex *' instead of pulling in sys/mutex.h for the definition of kmutex_t.
Side effect: This revealed that sys/cpu_data.h needed sys/intr.h (which was pulled in accidentally by sys/mutex.h via sys/sched.h) for SOFTINT_COUNT. Also revealed some other machine/cpu.h header files were missing includes of sys/mutex.h for kmutex_t.
ia64: Need sys/types.h for u_int, vaddr_t; sys/mutex.h for kmutex_t.
explicitly include no longer implicitly included sys/mutex.h.
arm/xscale: Use sys/bitops.h fls32 - 1 instead of 31 - __builtin_clz. Sidesteps namespace collision with `#define bits ...' in net/zlib.c.
complete the previous - there were two calls to find_first_bit() to fix.
arm/xscale: Missed a spot with previous find_first_bit commit.
evbarm/g42xxeb: Fix off-by-one in previous.
The original find_first_bit(x) was 31 - __builtin_clz((uint32_t)x), which is equivalent to fls32(x) - 1, not to fls32(x).
Note that fls32 is 1-based and returns 0 for x=0.
|
| 1.46.6.1 | 01-Aug-2023 |
martin | 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.
|
| 1.51.2.1 | 02-Aug-2025 |
perseant | Sync with HEAD
|
| 1.9 | 14-Jan-2024 |
gutteridge | crash.8: add xref to savecore(8)
|
| 1.8 | 23-Mar-2019 |
mrg | add an example shell pipeline that will print *all* kernel stack traces. bump date.
|
| 1.7 | 03-Jul-2017 |
wiz | branches: 1.7.6; Remove workaround for ancient HTML generation code.
|
| 1.6 | 10-Dec-2016 |
mrg | note that crash/sparc is unstable
|
| 1.5 | 05-Oct-2014 |
wiz | branches: 1.5.2; usage police XXX: is the program usage correct? (/dev/ksyms)
|
| 1.4 | 05-Oct-2014 |
christos | add -w
|
| 1.3 | 10-Apr-2011 |
pgoyette | Synchronize -N option name in Synopsis with that in the Description
|
| 1.2 | 15-Mar-2009 |
wiz | branches: 1.2.2; Fix Xref, prepare for HTML output.
|
| 1.1 | 07-Mar-2009 |
ad | 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".
|
| 1.2.2.2 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.2.2.1 | 15-Mar-2009 |
jym | file crash.8 was added on branch jym-xensuspend on 2009-05-13 19:20:20 +0000
|
| 1.5.2.1 | 07-Jan-2017 |
pgoyette | Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
|
| 1.7.6.1 | 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.17 | 21-Nov-2024 |
skrll | Trailing whitespace
|
| 1.16 | 11-Dec-2023 |
mlelstv | branches: 1.16.2; Implement cngetc, don't abort.
|
| 1.15 | 12-Apr-2023 |
riastradh | crash(8): Add powerpc support.
XXX pullup-8 XXX pullup-9 XXX pullup-10
|
| 1.14 | 17-Aug-2020 |
mrg | branches: 1.14.6; 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.
|
| 1.13 | 27-Mar-2020 |
ad | No need for warnx() if !LOCKDEBUG
|
| 1.12 | 09-Mar-2020 |
christos | Add primitive LOCKDEBUG support.
|
| 1.11 | 10-Jan-2017 |
christos | branches: 1.11.14; need <sys/stat.h>
|
| 1.10 | 16-Jun-2015 |
christos | branches: 1.10.2; revert kernhist patch accidentally committed
|
| 1.9 | 16-Jun-2015 |
christos | improve error messages (remove \n, use __func__, etc)
|
| 1.8 | 06-Oct-2014 |
christos | mention the default for core too.
|
| 1.7 | 05-Oct-2014 |
wiz | usage police XXX: is the program usage correct? (/dev/ksyms)
|
| 1.6 | 05-Oct-2014 |
christos | add -w
|
| 1.5 | 10-Mar-2013 |
christos | add MAP_PRIVATE
|
| 1.4 | 31-Aug-2011 |
joerg | branches: 1.4.2; 1.4.8; Use __dead
|
| 1.3 | 10-Apr-2011 |
christos | - amd64 support - fix end of file handling From: Vladimir Kirillov proger at wilab dot org dot ua
|
| 1.2 | 16-Apr-2009 |
lukem | branches: 1.2.2; Fix -Wsign-compare issues
|
| 1.1 | 07-Mar-2009 |
ad | 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".
|
| 1.2.2.2 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.2.2.1 | 16-Apr-2009 |
jym | file crash.c was added on branch jym-xensuspend on 2009-05-13 19:20:20 +0000
|
| 1.4.8.1 | 23-Jun-2013 |
tls | resync from head
|
| 1.4.2.1 | 22-May-2014 |
yamt | 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")
|
| 1.10.2.1 | 20-Mar-2017 |
pgoyette | Sync with HEAD
|
| 1.11.14.1 | 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.14.6.2 | 11-Sep-2024 |
martin | Pull up following revision(s) (requested by rin in ticket #834):
usr.sbin/crash/crash.c: revision 1.16
Implement cngetc, don't abort.
|
| 1.14.6.1 | 01-Aug-2023 |
martin | 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.
|
| 1.16.2.1 | 02-Aug-2025 |
perseant | Sync with HEAD
|
| 1.1 | 07-Mar-2009 |
ad | branches: 1.1.2; 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".
|
| 1.1.2.2 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.1.2.1 | 07-Mar-2009 |
jym | file extern.h was added on branch jym-xensuspend on 2009-05-13 19:20:20 +0000
|
| 1.2 | 17-Jan-2012 |
skrll | Remove workaround for old binutils.
|
| 1.1 | 23-Apr-2010 |
christos | branches: 1.1.6; workaround for MKPIE=yes until binutils-2.20.1 is imported. From Piotr Meyer
|
| 1.1.6.1 | 17-Apr-2012 |
yamt | sync with head
|
| 1.1 | 07-Mar-2009 |
ad | branches: 1.1.2; 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".
|
| 1.1.2.2 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.1.2.1 | 07-Mar-2009 |
jym | file unsupported.c was added on branch jym-xensuspend on 2009-05-13 19:20:20 +0000
|
| 1.2 | 07-Jun-2022 |
ryo | On aarch64, ddb backtrace can be performed without framepointer by specifying the /s modifier to the ddb trace command (trace/s, bt/s). The default is trace with framepointer (same as before).
This allows backtracing even on kernels compiled with -fomit-frame-pointer.
|
| 1.1 | 02-Jun-2022 |
ryo | tidy up backtrace from crash(9) on aarch64
- fix to dump trapframe when backtracing from crash(8). - use db_read_bytes() when reading kernel memory.
|
| 1.1 | 22-Nov-2023 |
thorpej | Add Alpha glue for crash(8).
|
| 1.2 | 12-Apr-2023 |
riastradh | crash(8): Add powerpc support.
XXX pullup-8 XXX pullup-9 XXX pullup-10
|
| 1.1 | 07-Mar-2009 |
ad | branches: 1.1.2; 1.1.58; 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".
|
| 1.1.58.1 | 01-Aug-2023 |
martin | 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.
|
| 1.1.2.2 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.1.2.1 | 07-Mar-2009 |
jym | file generic.c was added on branch jym-xensuspend on 2009-05-13 19:20:20 +0000
|
| 1.2 | 30-Apr-2011 |
christos | Share the amd64 and i386 files. XXX: Is there a better way to get the cpu family?
|
| 1.1 | 07-Mar-2009 |
ad | branches: 1.1.2; 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".
|
| 1.1.2.2 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.1.2.1 | 07-Mar-2009 |
jym | file i386.c was added on branch jym-xensuspend on 2009-05-13 19:20:20 +0000
|
| 1.2 | 11-Dec-2021 |
mrg | remove clause 3 from all my licenses that aren't conflicting with another copyright claim line. again. (i did this in 2008 and then did not update all of my personal templates.)
|
| 1.1 | 17-Aug-2020 |
mrg | 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.
|
| 1.1 | 12-Apr-2023 |
riastradh | branches: 1.1.2; crash(8): Add powerpc support.
XXX pullup-8 XXX pullup-9 XXX pullup-10
|
| 1.1.2.2 | 01-Aug-2023 |
martin | 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.
|
| 1.1.2.1 | 12-Apr-2023 |
martin | file powerpc.c was added on branch netbsd-10 on 2023-08-01 14:36:59 +0000
|
| 1.1 | 12-Apr-2023 |
riastradh | branches: 1.1.2; crash(8): Add powerpc support.
XXX pullup-8 XXX pullup-9 XXX pullup-10
|
| 1.1.2.2 | 01-Aug-2023 |
martin | 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.
|
| 1.1.2.1 | 12-Apr-2023 |
martin | file powerpc64.c was added on branch netbsd-10 on 2023-08-01 14:36:59 +0000
|
| 1.1 | 04-Mar-2013 |
christos | branches: 1.1.4; 1.1.10; make crash traces work on sparc64
|
| 1.1.10.2 | 22-May-2014 |
yamt | 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")
|
| 1.1.10.1 | 04-Mar-2013 |
yamt | file sparc.c was added on branch yamt-pagecache on 2014-05-22 11:43:02 +0000
|
| 1.1.4.2 | 23-Jun-2013 |
tls | resync from head
|
| 1.1.4.1 | 04-Mar-2013 |
tls | file sparc.c was added on branch tls-maxphys on 2013-06-23 06:29:03 +0000
|
| 1.4 | 12-Aug-2018 |
christos | i386 does not have a variable min address (yet)
|
| 1.3 | 12-Aug-2018 |
christos | reorder
|
| 1.2 | 12-Aug-2018 |
christos | make things link again.
|
| 1.1 | 30-Apr-2011 |
christos | branches: 1.1.42; 1.1.44; Share the amd64 and i386 files. XXX: Is there a better way to get the cpu family?
|
| 1.1.44.1 | 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.1.42.1 | 06-Sep-2018 |
pgoyette | Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
|