public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Reading linenumber and sourcefile
@ 2006-09-06 16:00 David Sveningsson
  0 siblings, 0 replies; only message in thread
From: David Sveningsson @ 2006-09-06 16:00 UTC (permalink / raw)
  To: gcc-help

Hi, I am using backtrace() and backtrace_symbols to get the call stack,
then I use __cxa_demangle to demangle the symbol names. However I would
also like to read the linenumber and sourcefile, like gdb does. I can
read this manually by using the addr2line utility but I want to read it
realtime. Any suggestions?


-- 



*//David Sveningsson [eXt]*
______________________________________
Freelance Coder | Game Developer Student
[ http://sidvind.com ]  [ http://nitroxy.com ]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-06 16:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-06 16:00 Reading linenumber and sourcefile David Sveningsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).