Blame SOURCES/gdb-gstack.man

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