Blame SOURCES/gdb-gstack.man

0b3064
.\"
0b3064
.\" gstack manual page.
0b3064
.\" Copyright (c) 1999 Ross Thompson
0b3064
.\" Copyright (c) 2001, 2002, 2004, 2008 Red Hat, Inc.
0b3064
.\"
0b3064
.\" Original author: Ross Thompson <ross@whatsis.com>
0b3064
.\"
0b3064
.\" This program is free software; you can redistribute it and/or modify
0b3064
.\" it under the terms of the GNU General Public License as published by
0b3064
.\" the Free Software Foundation; either version 2, or (at your option)
0b3064
.\" any later version.
0b3064
.\"
0b3064
.\" This program is distributed in the hope that it will be useful,
0b3064
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
0b3064
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0b3064
.\" GNU General Public License for more details.
0b3064
.\"
0b3064
.\" You should have received a copy of the GNU General Public License
0b3064
.\" along with this program; see the file COPYING.  If not, write to
0b3064
.\" the Free Software Foundation, 59 Temple Place - Suite 330,
0b3064
.\" Boston, MA 02111-1307, USA.
0b3064
.\"
0b3064
.TH GSTACK 1 "Feb 15 2008" "Red Hat Linux" "Linux Programmer's Manual"
0b3064
0b3064
.SH NAME
0b3064
gstack \- print a stack trace of a running process
0b3064
0b3064
.SH SYNOPSIS
0b3064
.B gstack
0b3064
pid
0b3064
0b3064
.SH DESCRIPTION
0b3064
0b3064
\f3gstack\f1 attaches to the active process named by the \f3pid\f1 on
0b3064
the command line, and prints out an execution stack trace.  If ELF
0b3064
symbols exist in the binary (usually the case unless you have run
0b3064
strip(1)), then symbolic addresses are printed as well.
0b3064
0b3064
If the process is part of a thread group, then \f3gstack\f1 will print
0b3064
out a stack trace for each of the threads in the group.
0b3064
0b3064
.SH SEE ALSO
0b3064
nm(1), ptrace(2), gdb(1)
0b3064
0b3064
.SH AUTHORS
0b3064
Ross Thompson <ross@whatsis.com>
0b3064
0b3064
Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>