Re: glib/backtrace question
- From: muppet <scott asofyet org>
- To: "Brian Hanley" <brian hanley flextrade com>
- Cc: GDB Mailing List <gdb sources redhat com>, GCC Mailing List <gcc gcc gnu org>, GTK Dev List <gtk-devel-list gnome org>
- Subject: Re: glib/backtrace question
- Date: Tue, 8 Feb 2005 20:47:35 -0500
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]