Originally posted by: Wkdunreal
Hi,
I am in need to decode the return address from __builtin_return_address to get the caller function name.
Is there a function or a way to do this?
Am using AIX 5.3 and using xlC as the compiler.
Casting aside __builtin_return_address
Is there any other way to generate a stack trace so that I can find out a caller function to a particulat function say malloc().
( To trace down where malloc has been called from).
I want to avoid using DBX at all costs :( .
All this needs to be done using xlc as the compiler.
Thanks and Regards
#AIX-Forum