aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--man/man1/db.119
1 files changed, 14 insertions, 5 deletions
diff --git a/man/man1/db.1 b/man/man1/db.1
index 73f296bf..03355508 100644
--- a/man/man1/db.1
+++ b/man/man1/db.1
@@ -7,22 +7,24 @@ db, stack \- debugger
.I option ...
]
[
-.I textfile
-]
-[
.I pid
|
.I corefile
]
-.PP
-.B stack
[
.I textfile
]
+.PP
+.B stack
[
.I pid
|
.I corefile
+|
+.I name
+]
+[
+.I textfile
]
.SH DESCRIPTION
.I Db
@@ -94,6 +96,13 @@ takes the same arguments as
It prints a stack trace (see the
.B $c
command below) and then exits.
+If the first argument is a process name,
+then
+.I stack
+prints the stack trace of every running process
+with the given name
+that is
+owned by the current user.
.PP
Commands to
.I db