diff options
author | Uwe Stuehler <uwe@cvs.openbsd.org> | 2006-11-28 18:56:18 +0000 |
---|---|---|
committer | Uwe Stuehler <uwe@cvs.openbsd.org> | 2006-11-28 18:56:18 +0000 |
commit | 0e1919712e2589382b2029732a09c5ce9488a2cb (patch) | |
tree | 3a034392cd8028cd85fe37f5c491d6044508046a /share/man/man4 | |
parent | 735044c7e26a9eac490eaa955d151cbfe7ff4975 (diff) |
Support "trace /p <pid>" to show the stack trace of any process.
(Keep in mind that $radix is 0x10 by default.); ok by many
Diffstat (limited to 'share/man/man4')
-rw-r--r-- | share/man/man4/ddb.4 | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/share/man/man4/ddb.4 b/share/man/man4/ddb.4 index cee0a3f8e33..28598799f30 100644 --- a/share/man/man4/ddb.4 +++ b/share/man/man4/ddb.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ddb.4,v 1.47 2006/07/06 18:16:19 miod Exp $ +.\" $OpenBSD: ddb.4,v 1.48 2006/11/28 18:56:17 uwe Exp $ .\" $NetBSD: ddb.4,v 1.5 1994/11/30 16:22:09 jtc Exp $ .\" .\" Mach Operating System @@ -531,12 +531,21 @@ command is a synonym for .\" -------------------- .It Xo .Ic trace -.Op Cm /u +.Op Cm /pu .Op Ar frameaddr Ns .Op Ic \&, Ns Ar count .Xc Show the stack trace. The +.Cm /p +modifier interprets the +.Ar frameaddr +argument as the PID of a process and shows the stack trace of +that process. +The +.Cm /p +modifier is not supported on all platforms. +The .Cm /u modifier shows the stack trace of user space; if omitted, the kernel stack is traced instead. |