GNU GCC Extension – Return Address

I use the GCC Online doc regularly to get some of cool info about the GNU GCC Extensions. Few days back, I saw this Getting the Return or Frame Address of a Function page. Normally we use __FUNCTION__ or __func__ to get the current function name. But the functions listed in this page can be used to get information about the “callers” of a function.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: