Commit Diff


commit - d8cc5c05020a18cbb4d6845e9ed196f39a3c6aa4
commit + 69e002b84e1ea347479a8ee31bc31fd97eb130fd
blob - 73f296bfd4c49897a4c49b1fd455505bd7b0d5a2
blob + 03355508c7bbb4f537291faa8c8330b6645e99d4
--- man/man1/db.1
+++ man/man1/db.1
@@ -7,23 +7,25 @@ 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
 is a general purpose debugging program.
@@ -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