Backtrace library?

John Yates jyates@netezza.com
Thu Aug 27 15:45:00 GMT 2009


Christophe-Marie Duquesne writes:

> I saw there was a C library libbacktrace which is supposed
> to replicate gdb's backtrace. I found it by chance while
> browsing the archlinux users repository :
> http://aur.archlinux.org/packages.php?ID=24369

Thanks for the suggestion.  Sadly this only maintains a stack in which code compiled with function entry and exit macros can explicitly push and pop file/lineno/function triples.  It does not decode the contents of the image.

/john



More information about the Gdb mailing list