This is the mail archive of the gdb@sources.redhat.com 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: glib/backtrace question



On Feb 8, 2005, at 8:27 PM, Brian Hanley wrote:


Whatever happened to the backtrace() and backtrace_symbols() calls in glib?

You're thinking of glibc, not GLib.


  #include <execinfo.h>
    backtrace
    backtrace_symbols
    backtrace_symbols_fd

These give you module & offset; you still need to use the addr2line utility to get filename & line number information from debugging symbols.

--
She's obviously your child. She looks like you, she talks a lot, and most of it is gibberish.
-- Elysse, to me, of Zella.



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