Changeset View
Changeset View
Standalone View
Standalone View
share/man/man4/ddb.4
Show First 20 Lines • Show All 283 Lines • ▼ Show 20 Lines | |||||
.Ed | .Ed | ||||
.Pp | .Pp | ||||
will print like: | will print like: | ||||
.Bd -literal -offset indent | .Bd -literal -offset indent | ||||
eax = xxxxxx | eax = xxxxxx | ||||
ecx = yyyyyy | ecx = yyyyyy | ||||
.Ed | .Ed | ||||
.Pp | .Pp | ||||
.It Ic pprint Ns Oo Li / Ns Cm d depth Oc Oo Ar name Oc | |||||
Pretty-print symbol specified by | |||||
.Ar name | |||||
using CTF debugging data. Works for all symbols exported by the kernel and loaded kernel modules. | |||||
.Pp | |||||
If the | |||||
.Cm d | |||||
modifier has been specified, contents of structs nested up to | |||||
.Ar depth | |||||
levels deep will also be included in the output. | |||||
.Ed | |||||
.Pp | |||||
.It Ic pprint struct Ns Oo Li / Ns Cm d depth Ic Oc Oo Ar name Oc Ns Op Ns Ar addr | |||||
Print memory at | |||||
.Ar addr | |||||
as struct | |||||
.Ar name Ns . | |||||
Works for all structs defined by the kernel and loaded kernel modules. | |||||
.Pp | |||||
If the | |||||
.Cm d | |||||
modifier has been specified, contents of structs nested up to | |||||
.Ar depth | |||||
levels deep will also be included in the output. | |||||
.Ed | |||||
.Pp | |||||
.It Xo | .It Xo | ||||
.Ic write Ns Op Li / Ns Cm bhl | .Ic write Ns Op Li / Ns Cm bhl | ||||
.Ar addr expr1 Op Ar expr2 ... | .Ar addr expr1 Op Ar expr2 ... | ||||
.Xc | .Xc | ||||
.It Xo | .It Xo | ||||
.Ic w Ns Op Li / Ns Cm bhl | .Ic w Ns Op Li / Ns Cm bhl | ||||
.Ar addr expr1 Op Ar expr2 ... | .Ar addr expr1 Op Ar expr2 ... | ||||
.Xc | .Xc | ||||
▲ Show 20 Lines • Show All 1,370 Lines • Show Last 20 Lines |