This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Is there a (somewhat) portable way to get the return address of a function?
- To: Mike Stump <mrs at windriver dot com>
- Subject: Re: Is there a (somewhat) portable way to get the return address of a function?
- From: "George T. Talbot" <george at moberg dot com>
- Date: Wed, 07 Jun 2000 10:33:12 -0400
- CC: gcc at gcc dot gnu dot org
- Organization: Moberg Research, Inc.
- References: <200006070220.TAA11023@kankakee.wrs.com>
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>