Backtrace library?
paawan oza
paawan1982@yahoo.com
Fri Aug 21 15:46:00 GMT 2009
I think backtrace function of glibc internally use unwind library interface to get backtrace.
unwind library interface may be used.
I am not sure exactly how gdb reads stack (just walk through esp/ebp or some other way)
Regards,
Oza.
--- On Fri, 8/21/09, John Yates <jyates@netezza.com> wrote:
> From: John Yates <jyates@netezza.com>
> Subject: Backtrace library?
> To: "gdb@sourceware.org" <gdb@sourceware.org>
> Date: Friday, August 21, 2009, 1:57 AM
> 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?
>
> /john
>
More information about the Gdb
mailing list