From 9e5048d52145b1c2480c084844b8e4d94199f0b2 Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Tue, 19 Sep 2023 11:36:34 +0000 Subject: Document the new 'show proc /t TID' way of showing a proc via thread id. --- share/man/man4/ddb.4 | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'share/man') 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. -- cgit v1.2.3