From: claudio Date: Tue, 19 Sep 2023 11:36:33 +0000 (+0000) Subject: Document the new 'show proc /t TID' way of showing a proc via thread id. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=722f4583a3e25fb9beda13beca143cc078bb9dde;p=openbsd Document the new 'show proc /t TID' way of showing a proc via thread id. --- 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.