From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,248a39dec301a159 X-Google-Attributes: gidfee84,public From: Dirk Grunwald Subject: Re: Frame Pointer Date: 1996/12/06 Message-ID: #1/1 X-Deja-AN: 202688654 references: organization: University of Colorado nntp-posting-user: grunwald newsgroups: comp.unix.osf.osf1 Pierre-Etienne Moreau 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