History log of /openbsd-current/sys/ddb/db_trap.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.30 06-Nov-2019 mpi

Substitute boolean_t/TRUE/FALSE by int/1/0.

ok dlg@, jasper@, anton@


Revision tags: OPENBSD_6_6_BASE
# 1.29 20-Jul-2019 mpi

Get rid of `ddb_is_active' instead use `db_active'.

From Christian Ludwig <christian_ludwig at genua dot de>

ok visa@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.28 09-Jan-2017 mpi

Revert previous, it's a documented behavior and people might rely on it.

Pointed by deraadt@


# 1.27 09-Jan-2017 mpi

Stop and restart the watchdog timer when entering and leaving ddb(4).

From Christian Ludwig.


# 1.26 02-Sep-2016 tb

move links from http to https://www.openbsd.org/

ok beck


Revision tags: OPENBSD_6_0_BASE
# 1.25 06-Mar-2016 mpi

DDB_REGS -> &ddb_regs.

All our archs use the same define.


Revision tags: OPENBSD_5_9_BASE
# 1.24 25-Jan-2016 mpi

Kill trailing whitespaces. No object change.


# 1.23 13-Sep-2015 guenther

On show the ps/o output and ddb.html blurb once, so that we don't get them
after each "mach ddbcpu N"

ok miod@ deraadt@


# 1.22 12-Sep-2015 deraadt

show a few more lines of trace; discussed in the room


# 1.21 12-Sep-2015 guenther

When panicing, show the non-idle, on-proc threads before showing the stack
trace

ok deraadt@ miod@ beck@


# 1.20 30-Aug-2015 deraadt

Automatically perform traces upon panic. Shrink message about
reporting bugs to pointing at http://www.openbsd.org/ddb.html,
because vertical space becomes more precious.
ok beck krw kettenis


Revision tags: OPENBSD_5_8_BASE
# 1.19 14-Mar-2015 jsg

Remove some includes include-what-you-use claims don't
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.18 14-Sep-2014 jsg

remove uneeded proc.h includes
ok mpi@ kspillner@


Revision tags: OPENBSD_5_6_BASE
# 1.17 08-Jul-2014 deraadt

These do not need the extremely poorly named uvm/uvm_extern.h (which
pulls in the universe). occasionally they need sys/systm.h


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.16 03-Apr-2011 drahn

Allow kernel printfs to go to console if in ddb instead of being redirected
to xconsole. ok deraadt@ guenther@


Revision tags: OPENBSD_4_9_BASE
# 1.15 27-Nov-2010 miod

Remove ddb single-step load and store counters. Most platforms do not
implement them, and they are of questionable usefulness.


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.14 26-Oct-2008 deraadt

for MP, ask people to try to trace the other cpus too


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.13 04-Jun-2007 miod

Ten lines of backtrace should be better on 25-line screens, so that the panic
message is still visible.


# 1.12 04-Jun-2007 miod

If it's cold at panic time, attempt to show a small backtrace, there are too
many machines where glass console does not work correctly at this stage.
By popular demand...


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.11 13-Mar-2006 jsg

ansi/deregister. No binary change.


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE SMP_SYNC_A SMP_SYNC_B UBC_BASE UBC_SYNC_A UBC_SYNC_B
# 1.10 06-Nov-2001 miod

Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.
(Look ma, I might have broken the tree)


Revision tags: OPENBSD_3_0_BASE
# 1.9 19-Aug-2001 art

shorter


# 1.8 19-Aug-2001 art

shorten the message to fit on a line.


# 1.7 18-Aug-2001 art

I am sick and tired of bug reports LACKING INFORMATION.


Revision tags: OPENBSD_2_9_BASE
# 1.6 05-Apr-2001 art

Tell the users what to report when the kernel crashes.


Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE SMP_BASE kame_19991208
# 1.5 19-Jul-1997 niklas

branches: 1.5.12;
Include vm/vm.h everywhere it is needed to get at boolean_t (I would prefer
to have it in sys/types.h but that is problematic). Some KNF.


Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE
# 1.4 21-Apr-1996 deraadt

partial sync with netbsd 960418, more to come


# 1.3 11-Mar-1996 mickey

Debbuger changed towards the latest Mach.
Some minor changes for Linux ;) emulation.
Small bug fixes from NetBSD.


# 1.2 20-Feb-1996 mickey

netbsd-current import & 'boot' cmd addition.


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


# 1.29 20-Jul-2019 mpi

Get rid of `ddb_is_active' instead use `db_active'.

From Christian Ludwig <christian_ludwig at genua dot de>

ok visa@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.28 09-Jan-2017 mpi

Revert previous, it's a documented behavior and people might rely on it.

Pointed by deraadt@


# 1.27 09-Jan-2017 mpi

Stop and restart the watchdog timer when entering and leaving ddb(4).

From Christian Ludwig.


# 1.26 02-Sep-2016 tb

move links from http to https://www.openbsd.org/

ok beck


Revision tags: OPENBSD_6_0_BASE
# 1.25 06-Mar-2016 mpi

DDB_REGS -> &ddb_regs.

All our archs use the same define.


Revision tags: OPENBSD_5_9_BASE
# 1.24 25-Jan-2016 mpi

Kill trailing whitespaces. No object change.


# 1.23 13-Sep-2015 guenther

On show the ps/o output and ddb.html blurb once, so that we don't get them
after each "mach ddbcpu N"

ok miod@ deraadt@


# 1.22 12-Sep-2015 deraadt

show a few more lines of trace; discussed in the room


# 1.21 12-Sep-2015 guenther

When panicing, show the non-idle, on-proc threads before showing the stack
trace

ok deraadt@ miod@ beck@


# 1.20 30-Aug-2015 deraadt

Automatically perform traces upon panic. Shrink message about
reporting bugs to pointing at http://www.openbsd.org/ddb.html,
because vertical space becomes more precious.
ok beck krw kettenis


Revision tags: OPENBSD_5_8_BASE
# 1.19 14-Mar-2015 jsg

Remove some includes include-what-you-use claims don't
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.18 14-Sep-2014 jsg

remove uneeded proc.h includes
ok mpi@ kspillner@


Revision tags: OPENBSD_5_6_BASE
# 1.17 08-Jul-2014 deraadt

These do not need the extremely poorly named uvm/uvm_extern.h (which
pulls in the universe). occasionally they need sys/systm.h


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.16 03-Apr-2011 drahn

Allow kernel printfs to go to console if in ddb instead of being redirected
to xconsole. ok deraadt@ guenther@


Revision tags: OPENBSD_4_9_BASE
# 1.15 27-Nov-2010 miod

Remove ddb single-step load and store counters. Most platforms do not
implement them, and they are of questionable usefulness.


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.14 26-Oct-2008 deraadt

for MP, ask people to try to trace the other cpus too


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.13 04-Jun-2007 miod

Ten lines of backtrace should be better on 25-line screens, so that the panic
message is still visible.


# 1.12 04-Jun-2007 miod

If it's cold at panic time, attempt to show a small backtrace, there are too
many machines where glass console does not work correctly at this stage.
By popular demand...


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.11 13-Mar-2006 jsg

ansi/deregister. No binary change.


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE SMP_SYNC_A SMP_SYNC_B UBC_BASE UBC_SYNC_A UBC_SYNC_B
# 1.10 06-Nov-2001 miod

Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.
(Look ma, I might have broken the tree)


Revision tags: OPENBSD_3_0_BASE
# 1.9 19-Aug-2001 art

shorter


# 1.8 19-Aug-2001 art

shorten the message to fit on a line.


# 1.7 18-Aug-2001 art

I am sick and tired of bug reports LACKING INFORMATION.


Revision tags: OPENBSD_2_9_BASE
# 1.6 05-Apr-2001 art

Tell the users what to report when the kernel crashes.


Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE SMP_BASE kame_19991208
# 1.5 19-Jul-1997 niklas

branches: 1.5.12;
Include vm/vm.h everywhere it is needed to get at boolean_t (I would prefer
to have it in sys/types.h but that is problematic). Some KNF.


Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE
# 1.4 21-Apr-1996 deraadt

partial sync with netbsd 960418, more to come


# 1.3 11-Mar-1996 mickey

Debbuger changed towards the latest Mach.
Some minor changes for Linux ;) emulation.
Small bug fixes from NetBSD.


# 1.2 20-Feb-1996 mickey

netbsd-current import & 'boot' cmd addition.


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.28 09-Jan-2017 mpi

Revert previous, it's a documented behavior and people might rely on it.

Pointed by deraadt@


# 1.27 09-Jan-2017 mpi

Stop and restart the watchdog timer when entering and leaving ddb(4).

From Christian Ludwig.


# 1.26 02-Sep-2016 tb

move links from http to https://www.openbsd.org/

ok beck


Revision tags: OPENBSD_6_0_BASE
# 1.25 06-Mar-2016 mpi

DDB_REGS -> &ddb_regs.

All our archs use the same define.


Revision tags: OPENBSD_5_9_BASE
# 1.24 25-Jan-2016 mpi

Kill trailing whitespaces. No object change.


# 1.23 13-Sep-2015 guenther

On show the ps/o output and ddb.html blurb once, so that we don't get them
after each "mach ddbcpu N"

ok miod@ deraadt@


# 1.22 12-Sep-2015 deraadt

show a few more lines of trace; discussed in the room


# 1.21 12-Sep-2015 guenther

When panicing, show the non-idle, on-proc threads before showing the stack
trace

ok deraadt@ miod@ beck@


# 1.20 30-Aug-2015 deraadt

Automatically perform traces upon panic. Shrink message about
reporting bugs to pointing at http://www.openbsd.org/ddb.html,
because vertical space becomes more precious.
ok beck krw kettenis


Revision tags: OPENBSD_5_8_BASE
# 1.19 14-Mar-2015 jsg

Remove some includes include-what-you-use claims don't
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.18 14-Sep-2014 jsg

remove uneeded proc.h includes
ok mpi@ kspillner@


Revision tags: OPENBSD_5_6_BASE
# 1.17 08-Jul-2014 deraadt

These do not need the extremely poorly named uvm/uvm_extern.h (which
pulls in the universe). occasionally they need sys/systm.h


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.16 03-Apr-2011 drahn

Allow kernel printfs to go to console if in ddb instead of being redirected
to xconsole. ok deraadt@ guenther@


Revision tags: OPENBSD_4_9_BASE
# 1.15 27-Nov-2010 miod

Remove ddb single-step load and store counters. Most platforms do not
implement them, and they are of questionable usefulness.


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.14 26-Oct-2008 deraadt

for MP, ask people to try to trace the other cpus too


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.13 04-Jun-2007 miod

Ten lines of backtrace should be better on 25-line screens, so that the panic
message is still visible.


# 1.12 04-Jun-2007 miod

If it's cold at panic time, attempt to show a small backtrace, there are too
many machines where glass console does not work correctly at this stage.
By popular demand...


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.11 13-Mar-2006 jsg

ansi/deregister. No binary change.


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE SMP_SYNC_A SMP_SYNC_B UBC_BASE UBC_SYNC_A UBC_SYNC_B
# 1.10 06-Nov-2001 miod

Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.
(Look ma, I might have broken the tree)


Revision tags: OPENBSD_3_0_BASE
# 1.9 19-Aug-2001 art

shorter


# 1.8 19-Aug-2001 art

shorten the message to fit on a line.


# 1.7 18-Aug-2001 art

I am sick and tired of bug reports LACKING INFORMATION.


Revision tags: OPENBSD_2_9_BASE
# 1.6 05-Apr-2001 art

Tell the users what to report when the kernel crashes.


Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE SMP_BASE kame_19991208
# 1.5 19-Jul-1997 niklas

branches: 1.5.12;
Include vm/vm.h everywhere it is needed to get at boolean_t (I would prefer
to have it in sys/types.h but that is problematic). Some KNF.


Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE
# 1.4 21-Apr-1996 deraadt

partial sync with netbsd 960418, more to come


# 1.3 11-Mar-1996 mickey

Debbuger changed towards the latest Mach.
Some minor changes for Linux ;) emulation.
Small bug fixes from NetBSD.


# 1.2 20-Feb-1996 mickey

netbsd-current import & 'boot' cmd addition.


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision