This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Getting back trace inside the program itself
- From: "Sachin O. Agrawal" <sachin_agrawal at persistent dot co dot in>
- To: <binutils at sources dot redhat dot com>
- Cc: "'Ian Lance Taylor'" <ian at airs dot com>, "'Devendra Badhani \(E-mail\)'" <deven at pspl dot co dot in>, "'Shridhar Bhat \(E-mail\)'" <penguin at pspl dot co dot in>, "Masaoud Taher Moonim \(E-mail\)" <masaoud at pspl dot co dot in>
- Date: Fri, 21 Dec 2001 14:47:30 +0530
- Subject: Getting back trace inside the program itself
- Reply-to: <sachin_agrawal at persistent dot co dot in>
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
--