Changeset View
Changeset View
Standalone View
Standalone View
head/share/man/man4/ddb.4
Show All 20 Lines | |||||
.\" Carnegie Mellon University | .\" Carnegie Mellon University | ||||
.\" Pittsburgh PA 15213-3890 | .\" Pittsburgh PA 15213-3890 | ||||
.\" | .\" | ||||
.\" 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. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd October 17, 2019 | .Dd November 19, 2020 | ||||
.Dt DDB 4 | .Dt DDB 4 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm ddb | .Nm ddb | ||||
.Nd interactive kernel debugger | .Nd interactive kernel debugger | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
In order to enable kernel debugging facilities include: | In order to enable kernel debugging facilities include: | ||||
.Bd -ragged -offset indent | .Bd -ragged -offset indent | ||||
▲ Show 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | |||||
if the | if the | ||||
.Va debug.debugger_on_panic | .Va debug.debugger_on_panic | ||||
.Xr sysctl 8 | .Xr sysctl 8 | ||||
MIB variable is set non-zero, | MIB variable is set non-zero, | ||||
which is the default | which is the default | ||||
unless the | unless the | ||||
.Dv KDB_UNATTENDED | .Dv KDB_UNATTENDED | ||||
option is specified. | option is specified. | ||||
Similarly, if the | |||||
.Va debug.debugger_on_recursive_panic | |||||
variable is set to | |||||
.Dv 1 , | |||||
then the debugger will be invoked on a recursive kernel panic. | |||||
This variable has a default value of | |||||
.Dv 0 , | |||||
and has no effect if | |||||
.Va debug.debugger_on_panic | |||||
is already set non-zero. | |||||
.Pp | .Pp | ||||
The current location is called | The current location is called | ||||
.Va dot . | .Va dot . | ||||
The | The | ||||
.Va dot | .Va dot | ||||
is displayed with | is displayed with | ||||
a hexadecimal format at a prompt. | a hexadecimal format at a prompt. | ||||
The commands | The commands | ||||
▲ Show 20 Lines • Show All 1,521 Lines • Show Last 20 Lines |