GCC stack backtraces
Paweł Sikora
pluto@agmk.net
Wed Aug 29 18:45:00 GMT 2012
On Wednesday 29 of August 2012 11:37:07 Ian Lance Taylor wrote:
> On Wed, Aug 29, 2012 at 1:07 AM, Paweł Sikora <pluto@agmk.net> 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.
More information about the Gcc
mailing list