This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: Backtrace library?
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