glib/backtrace question
muppet
scott@asofyet.org
Wed Feb 9 02:33:00 GMT 2005
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.
More information about the Gdb
mailing list