Getting back trace inside the program itself

Sachin O. Agrawal sachin_agrawal@persistent.co.in
Fri Dec 21 03:17:00 GMT 2001


Hello,

Is there a way for a program (optimized and with no debugging info)
to get the back trace information?

Before every function call processor pushes the return address on
the stack. I would like to get these return address. And later
use them for tracing the code flow using map files. 

--
Thanks
Sachin
--



More information about the Binutils mailing list