This is the mail archive of the
mailing list for the GCC project.
Re: GCC stack backtraces
On Wednesday 29 of August 2012 11:37:07 Ian Lance Taylor wrote:
> On Wed, Aug 29, 2012 at 1:07 AM, PaweÅ Sikora <email@example.com> wrote:
> > On Wednesday 29 of August 2012 00:22:55 Ian Lance Taylor wrote:
> >> I've spent the last couple of days working on a stack backtrace library.
> >> It uses the GCC unwind interface to collect a stack trace, and parses
> >> DWARF debug info to get file/line/function information. (Of course it's
> >> silly to write yet another DWARF reader, but I didn't find an existing
> >> reader that seemed wholly suitable.)
> > isn't the libdwarf a good enough for reading?
> > http://reality.sgiweb.org/davea/dwarf.html
> libdwarf is GPLv2, so it wouldn't work for libgo, which was one of my goals.
libdwarf is on lgpl, dwarfdump tools are on gpl.