Is there a (somewhat) portable way to get the return address of a function?

George T. Talbot george@moberg.com
Wed Jun 7 07:28:00 GMT 2000


Mike Stump wrote:
> 
> > Date: Tue, 06 Jun 2000 18:50:33 -0400
> > From: "George T. Talbot" <george@moberg.com>
> 
> > [ Is there a (somewhat) portable way to get the return address of a function? ]
> 
> What part of the manual that describes how to do this was unclear:

Didn't realize that this was a built-in feature, though I did look in the
manual.  I was assuming that I'd have to discuss the calling conventions of
C/C++ programs when I posted, and that was what I was looking for in the
manual.

My bad.

Thanks for the info, though--this does what I want.

--
George T. Talbot
<george at moberg dot com>


More information about the Gcc mailing list