Reading linenumber and sourcefile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 ]

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux