This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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]

Re: Backtrace library?


On Thu, Aug 20, 2009 at 1:27 PM, John Yates<jyates@netezza.com> wrote:

> Assuming I have an elf image compiled with full debugging information
> is there any library I can use to get a gdb-style backtrace with sourc
> path and line number rather than the C library's rather Spartan version?

I am not aware of any such library, but you can pipe the "spartan" output
through addr2line and get desired result.

Cheers,
-- 
Paul Pluzhnikov


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