Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: steveo@world.std.com (Steven W Orr)
Subject: Need help with walking the current frame backwards.
Date: 1995/05/08	[thread overview]
Message-ID: <D89tDw.A67@world.std.com> (raw)

Running under OSF1 Rev 3.0

I need to be able to find the PC of my caller and find the arguments
that were passed to that previous frame. I then need to work
backwards to the beginning of the stack.

I have looked at the docs for libexc and read about
exc_virtual_unwind, and exc_lookup_function_entry. I am pretty
confused. Ultimately, I need this stuff to make a program print a
stack trace when it aborts with an uncaught exception. I also need it
for a debugger I'm finishing to do a traceback command.

If someone could help me with this I'd be grateful. Please email.
-- 
----------Time flies like the wind. Fruit flies like a banana.----------------
--------Stranger things have happened but none stranger than this.-------------
Steven W. Orr      steveo@uniprise.com     <site of former bang addr:-)>
---------------"Listen to me! We are all individuals."-------------------------



                 reply	other threads:[~1995-05-08  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox