update stack

This commit is contained in:
rsc 2006-06-26 01:11:46 +00:00
parent d8cc5c0502
commit 69e002b84e

View file

@ -7,22 +7,24 @@ db, stack \- debugger
.I option ... .I option ...
] ]
[ [
.I textfile
]
[
.I pid .I pid
| |
.I corefile .I corefile
] ]
[
.I textfile
]
.PP .PP
.B stack .B stack
[ [
.I textfile
]
[
.I pid .I pid
| |
.I corefile .I corefile
|
.I name
]
[
.I textfile
] ]
.SH DESCRIPTION .SH DESCRIPTION
.I Db .I Db
@ -94,6 +96,13 @@ takes the same arguments as
It prints a stack trace (see the It prints a stack trace (see the
.B $c .B $c
command below) and then exits. 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 .PP
Commands to Commands to
.I db .I db