Home | History | Annotate | only in /src/usr.sbin/crash/arch
History log of /src/usr.sbin/crash/arch
RevisionDateAuthorComments
 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)

RSS XML Feed