[Dwarf-Discuss] Help and suggestion on DWARF file format

Roland McGrath roland at redhat.com
Mon Apr 20 00:35:09 PDT 2009

> Basically my intent is to write  a universal reader which can read the
> DWARF files and on basis of the program counters it should be able to
> tell the function name , line number and the file name.

You may find you already have a program invoked as "addr2line -f -e" or
"eu-addr2line -f -e" that can do this.  MacOS might even have something
nearly identical.


More information about the Dwarf-Discuss mailing list