plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 69e002b84e1ea347479a8ee31bc31fd97eb130fd
parent d8cc5c05020a18cbb4d6845e9ed196f39a3c6aa4
Author: rsc <devnull@localhost>
Date:   Mon, 26 Jun 2006 01:11:46 +0000

update stack

Diffstat:
Mman/man1/db.1 | 19++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)

diff --git 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