This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Getting back trace inside the program itself


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
--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]