Originally posted by: Whattodo
Hi,
In IBM AIX 5.3:
Is there a way to use address pointer to find the function name/file name/line number from which it was being called?
I am getting the address pointer using the function __builtin_return_address() .
I would like to avoid debugger dbx because I am getting difficulty in executing dbx from the C file with parameters.
I was able to get the exact line number (of caller function)on HP-UX using “addr2line”.
Thank you
#AIX-Forum