Blame SOURCES/gdb-gstack.man

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