On Wed, Aug 29, 2012 at 10:07:30AM +0200, Paweł Sikora 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
If Ian's DWARF reader is simple enough (since suited for a single purpose), it might be helpful to avoid yet another external library dependency for GCC. Regards -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***