summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2023-09-19 11:36:34 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2023-09-19 11:36:34 +0000
commit9e5048d52145b1c2480c084844b8e4d94199f0b2 (patch)
tree6b5749a9f6e67da320798c263df1eb66e1a82fb3 /share/man
parent8c366e2f96033ea44aa6f34cac180705712511cb (diff)
Document the new 'show proc /t TID' way of showing a proc via thread id.
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man4/ddb.415
1 files changed, 12 insertions, 3 deletions
diff --git a/share/man/man4/ddb.4 b/share/man/man4/ddb.4
index 16c626f4747..8a36dada5cd 100644
--- a/share/man/man4/ddb.4
+++ b/share/man/man4/ddb.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ddb.4,v 1.105 2022/12/22 19:53:22 kn Exp $
+.\" $OpenBSD: ddb.4,v 1.106 2023/09/19 11:36:33 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: December 22 2022 $
+.Dd $Mdocdate: September 19 2023 $
.Dt DDB 4
.Os
.Sh NAME
@@ -771,7 +771,11 @@ Valid modifiers:
Print the pagelist for this pool.
.El
.\" --------------------
-.It Ic show proc Op Ar addr
+.It Xo
+.Ic show proc
+.Op Cm /t
+.Op Ar addr
+.Xc
Prints the
.Vt struct proc
at
@@ -779,6 +783,11 @@ at
If an optional address is not specified,
.Li curproc
is assumed.
+The
+.Cm /t
+modifier interprets the
+.Ar addr
+argument as the TID of a proc.
.\" --------------------
.It Ic show registers Op Cm /u
Display the register set.