Adding line numbers to backtrace()

Andreas Schwab schwab@linux-m68k.org
Fri Aug 24 22:45:00 GMT 2012


Mike Frysinger <vapier@gentoo.org> writes:

> the symbol table doesn't have line information, only the DWARF stuff does.  i'm 
> not sure if we have DWARF parsers already in the C library ...

The debugging sections are not loaded, so this cannot work.  Use
addr2line(1) instead.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Libc-alpha mailing list