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?


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
> 


      


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