Home | History | Annotate | Download | only in mips
History log of /src/sys/arch/mips/mips/mips_stacktrace.c
RevisionDateAuthorComments
 1.9  06-Apr-2021  simonb If we're going to print a number in hex, at least put a 0x in front of
it so we can cut'n'paste it into gdb directly. This has only annoyed
me for 25 or so years...

Wrap a long long while here.
 1.8  29-Mar-2021  simonb Expose kdbpeek() and kdbrpeek() for dtrace.
 1.7  24-Sep-2020  mrg branches: 1.7.2; 1.7.4;
skip kernel-only code on crash.

XXX: we could make verylocore work with a symbol look for crash.
 1.6  23-Sep-2020  mrg make !DDB kernels build.
 1.5  23-Sep-2020  simonb The current MIPS DDB stacktrace code doesn't work if no symbols are
available, so fall back to old-fashioned unwind code if no symbols.
 1.4  17-Aug-2020  mrg avoid build failure on !DBB kernels.

should fix arc, emips, ews4800mips, mipsco, newsmips and pmax builds.
 1.3  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.2  17-Aug-2020  mrg port crash(8) to mips. (most of the kernel side.)

- expose parts of _KERNEL to _KMEMUSER as well
- hide more things for _KERNEL
- avoid DB_MACHINE_COMMANDS in crash(8)
- XXX add mips_label_t for !_KERNEL and use it in the pcb to
avoid conflicting with the ddb/crash one
- enable dumppcb

some changes to make stack trace fail instead of SEGV and
the userland changes to crash itself not part of this change.
 1.1  15-Aug-2020  mrg move stacktrace_subr() from trap.c into new mips_stacktrace.c so
it can be shared between ddb, other mips kernel components (see
locore), and an upcoming crash(8) port.

remove second copy of kdbpeek() (hidden by old DDB_TRACE
option, but they're functionally equivalent.)

tested on octeon.

ok simonb@
 1.7.4.2  17-Apr-2021  thorpej Sync with HEAD.
 1.7.4.1  03-Apr-2021  thorpej Sync with HEAD.
 1.7.2.1  03-Apr-2021  thorpej Sync with HEAD.

RSS XML Feed