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.




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