version 1.147.2.4, 2014/05/22 11:37:50 |
version 1.148, 2012/01/12 22:22:10 |
|
|
.\" any improvements or extensions that they make and grant Carnegie Mellon |
.\" any improvements or extensions that they make and grant Carnegie Mellon |
.\" the rights to redistribute these changes. |
.\" the rights to redistribute these changes. |
.\" |
.\" |
.Dd May 15, 2013 |
.Dd January 12, 2012 |
.Dt DDB 4 |
.Dt DDB 4 |
.Os |
.Os |
.Sh NAME |
.Sh NAME |
Line 119 from the keyboard: |
|
Line 119 from the keyboard: |
|
\*[Lt]Alt\*[Gt]-\*[Lt]LeftShift\*[Gt]-\*[Lt]F9\*[Gt] |
\*[Lt]Alt\*[Gt]-\*[Lt]LeftShift\*[Gt]-\*[Lt]F9\*[Gt] |
.It hp300 |
.It hp300 |
\*[Lt]Shift\*[Gt]-\*[Lt]Reset\*[Gt] |
\*[Lt]Shift\*[Gt]-\*[Lt]Reset\*[Gt] |
.It hpcarm |
.It hp700 |
\*[Lt]Ctrl\*[Gt]-\*[Lt]Alt\*[Gt]-\*[Lt]Esc\*[Gt] |
|
.It hpcmips |
|
\*[Lt]Ctrl\*[Gt]-\*[Lt]Alt\*[Gt]-\*[Lt]Esc\*[Gt] |
|
.It hpcsh |
|
\*[Lt]Ctrl\*[Gt]-\*[Lt]Alt\*[Gt]-\*[Lt]Esc\*[Gt] |
|
.It hppa |
|
\*[Lt]Ctrl\*[Gt]-\*[Lt]Alt\*[Gt]-\*[Lt]Esc\*[Gt] on PC style keyboards. |
\*[Lt]Ctrl\*[Gt]-\*[Lt]Alt\*[Gt]-\*[Lt]Esc\*[Gt] on PC style keyboards. |
.It "" |
.It "" |
+++++ |
+++++ |
(five plus signs) on PDC console |
(five plus signs) on PDC console |
.It "" |
.It "" |
\*[Lt]Break\*[Gt] on serial console. |
\*[Lt]Break\*[Gt] on serial console. |
|
.It hpcarm |
|
\*[Lt]Ctrl\*[Gt]-\*[Lt]Alt\*[Gt]-\*[Lt]Esc\*[Gt] |
|
.It hpcmips |
|
\*[Lt]Ctrl\*[Gt]-\*[Lt]Alt\*[Gt]-\*[Lt]Esc\*[Gt] |
|
.It hpcsh |
|
\*[Lt]Ctrl\*[Gt]-\*[Lt]Alt\*[Gt]-\*[Lt]Esc\*[Gt] |
.It i386 |
.It i386 |
\*[Lt]Ctrl\*[Gt]-\*[Lt]Alt\*[Gt]-\*[Lt]Esc\*[Gt] |
\*[Lt]Ctrl\*[Gt]-\*[Lt]Alt\*[Gt]-\*[Lt]Esc\*[Gt] |
.It "" |
.It "" |
Line 198 may be explicitly activated by the debug |
|
Line 198 may be explicitly activated by the debug |
|
if |
if |
.Cm DDB |
.Cm DDB |
is configured. |
is configured. |
.Pp |
|
Commands can be automatically run when |
|
.Nm |
|
is entered by using |
|
.Cd options DDB_COMMANDONENTER |
|
or by setting |
|
.Ar ddb.commandonenter |
|
with |
|
.Xr sysctl 8 . |
|
Multiple commands can be separated by a semi-colon. |
|
|
|
.Sh COMMAND SYNTAX |
.Sh COMMAND SYNTAX |
The general command syntax is: |
The general command syntax is: |
.Bd -ragged -offset indent |
.Bd -ragged -offset indent |
Line 698 Print the vm_page at |
|
Line 687 Print the vm_page at |
|
If |
If |
.Cm /f |
.Cm /f |
is specified, the complete page is printed. |
is specified, the complete page is printed. |
.It Ic show panic |
|
Print the current "panic" string. |
|
.It Ic show pool Ns Oo Cm /clp Oc Ar address |
.It Ic show pool Ns Oo Cm /clp Oc Ar address |
Print the pool at |
Print the pool at |
.Ar address . |
.Ar address . |
Line 748 queue, the queue index will be prefixed |
|
Line 735 queue, the queue index will be prefixed |
|
.Sq \&! . |
.Sq \&! . |
.It Ic show uvmexp |
.It Ic show uvmexp |
Print a selection of UVM counters and statistics. |
Print a selection of UVM counters and statistics. |
.It Ic show kernhist |
.It Ic show uvmhist |
Dumps the kernel histories. |
Dumps the UVM histories. |
This command is available only if a kernel is compiled with |
This command is available only if a kernel is compiled with |
.Cd options KERNHIST |
|
or |
|
.Cd options UVMHIST . |
.Cd options UVMHIST . |
.It Ic show vnode Ns Oo Cm /f Oc Ar address |
.It Ic show vnode Ns Oo Cm /f Oc Ar address |
Print the vnode at |
Print the vnode at |
Line 818 On machines with software-emulated singl |
|
Line 803 On machines with software-emulated singl |
|
stepping through code executed by interrupt handlers will probably |
stepping through code executed by interrupt handlers will probably |
do the wrong thing. |
do the wrong thing. |
.It Ic sync |
.It Ic sync |
Sync the disks, force a crash dump, and then reboot. |
Force a crash dump, and then reboot. |
.It Ic trace Ns Oo Cm /u Ns Oo Cm l Oc Oc Oo Ar frame-address Oc Ns \ |
.It Ic trace Ns Oo Cm /u Ns Oo Cm l Oc Oc Oo Ar frame-address Oc Ns \ |
Oo Cm , Ns Ar count Oc |
Oo Cm , Ns Ar count Oc |
Stack trace from |
Stack trace from |
Line 974 modifier to write two bytes. |
|
Line 959 modifier to write two bytes. |
|
Given a trap frame address, print out the trap frame. |
Given a trap frame address, print out the trap frame. |
.It Ic irqstat |
.It Ic irqstat |
Display the IRQ statistics |
Display the IRQ statistics |
|
.It Ic panic |
|
Print the current "panic" string. |
.El |
.El |
.Ss ALPHA |
.Ss ALPHA |
.Bl -tag -width "traptrace" -compact |
.Bl -tag -width "traptrace" -compact |
Line 993 Switch to another cpu. |
|
Line 980 Switch to another cpu. |
|
.Bl -tag -width "traptrace" -compact |
.Bl -tag -width "traptrace" -compact |
.It Ic frame |
.It Ic frame |
Given a trap frame address, print out the trap frame. |
Given a trap frame address, print out the trap frame. |
|
.It Ic panic |
|
Print the current "panic" string. |
.El |
.El |
.Ss HPPA |
.Ss HP700 |
.Bl -tag -width "traptrace" -compact |
.Bl -tag -width "traptrace" -compact |
.It Ic frame |
.It Ic frame |
Without an address the default trap frame is printed. |
Without an address the default trap frame is printed. |