summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2010-11-05 15:18:55 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2010-11-05 15:18:55 +0000
commita4b29f41786044a9124a64678ddf5d0c29e3d96e (patch)
treebc1bc543459c28f5b6f2b70136ce662929dbc23e /share
parent6ff2a25ce0873fc736b6eaf7626f1345b6946ce0 (diff)
Document "show mbuf addr" to display the mbuf header of the mbuf at addr.
Requested by miod@
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/ddb.415
1 files changed, 13 insertions, 2 deletions
diff --git a/share/man/man4/ddb.4 b/share/man/man4/ddb.4
index 8a94164d957..a494349edb9 100644
--- a/share/man/man4/ddb.4
+++ b/share/man/man4/ddb.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ddb.4,v 1.68 2010/03/26 19:30:40 jmc Exp $
+.\" $OpenBSD: ddb.4,v 1.69 2010/11/05 15:18:54 claudio Exp $
.\" $NetBSD: ddb.4,v 1.5 1994/11/30 16:22:09 jtc Exp $
.\"
.\" Mach Operating System
@@ -25,7 +25,7 @@
.\" any improvements or extensions that they make and grant Carnegie Mellon
.\" the rights to redistribute these changes.
.\"
-.Dd $Mdocdate: March 26 2010 $
+.Dd $Mdocdate: November 5 2010 $
.Dt DDB 4
.Os
.Sh NAME
@@ -647,6 +647,17 @@ If the
.Cm /f
modifier is specified the complete map is printed.
.\" --------------------
+.It Ic show mbuf Ar addr
+Prints the
+.Li struct mbuf
+header at
+.Ar addr .
+Depending on the mbuf flags
+.Li struct pkthdr
+and
+.Li struct m_ext
+are printed as well.
+.\" --------------------
.It Xo
.Ic show mount
.Op Cm /f