🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42595

Re: HELP: Printing Stack Frames

#42595
From: David Maddox
Date: Tue, 14 Nov 1995 00:00
13 lines
1055 bytes
Alan Barclay wrote:
> 
> Hello,
> 
> I want to write some code, but don't know how to, which will traverse the
> current stack frames, in a running application, and allow me to print
> out the names of the functions that have been called. If such standalone
>
(snip..)

You didn't say what platform. This is a very machine/OS/Compiler
dependent thing. But I'll bet ya if you look at the source for
gdb you will find what you're looking for.
Technical Details
Message-ID: <30A7F5B8.5E1B@cig.nml.mot.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <47uo30$5ur@axl02it.ntc.nokia.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,320aa5b8c958a65d,start
X-Google-Attributes: gid11318c,public
From: David Maddox <maddox@cig.nml.mot.com>
Subject: Re: HELP: Printing Stack Frames
Date: 1995/11/14
Message-ID: <30A7F5B8.5E1B@cig.nml.mot.com>
X-Deja-AN: 119297055
sender: news@schbbs.mot.com (SCHBBS News Account)
references: <47uo30$5ur@axl02it.ntc.nokia.com>
to: barclay@king.trs.ntc.nokia.com
content-type: text/plain; charset=us-ascii
organization: MOTOROLA 
mime-version: 1.0
newsgroups: gnu.gcc.help
x-mailer: Mozilla 2.0b2 (X11; I; SunOS 5.4 sun4m)