Address of return address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

The C function __builtin_return_address(0) is able to return the "return address" and that is a hex value. How can I get the address of "return address"? I mean the memory location which holds the return address. 

It seems that &__builtin_return_address(0) is invalid.


Regards,
Mahmood



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux