From: Dirk Grunwald <grunwald@foobar.cs.colorado.edu>
Subject: Re: Frame Pointer
Date: 1996/12/06 [thread overview]
Message-ID: <qxplobbloa3.fsf@foobar.cs.colorado.edu> (raw)
In-Reply-To: kw917ebb48.fsf@huggy.loria.fr
Pierre-Etienne Moreau <moreau@huggy.loria.fr> writes:
> f()
> {
> g();
> }
>
> g() is written in assembly and f() in C.
> I would like to know, in g(), the frame pointer of f()
>
> I spent many hours on this problem, and I did not find any solution.
>
> If you have any idea, please, send me a mail.
---
The Alpha calling convention doesn't support a frame pointer unless
the function uses alloca() or uses nested procedueres, Thus, you don't
have a frame-pointer in C - the SP is used for everything.
However, see "man unwind" for information that will do what you want.
You'll need a copy of the Alpha calling conventions manual. Postscript
copies are available online, hollar if you need one.
--
Dirk Grunwald Assoc. Prof, Univ. of Colorado at Boulder
prev parent reply other threads:[~1996-12-06 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-12-04 5:00 Frame Pointer Pierre-Etienne Moreau
1996-12-06 5:00 ` Dirk Grunwald [this message]
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