From: Hyogeol L. <hyo...@gm...> - 2009-07-11 05:38:53
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Kai Wang : > On Sat, Jul 11, 2009 at 12:48:09AM +0200, Pawel Worach wrote: >> On Sat, Jul 11, 2009 at 00:38, Kai Wang<kai...@gm...> wrote: >>>> Hi again, >>>> >>>> Is anyone working on addr2line ? Is the necessary stuff for it in >>>> libelf already ? >>> Our addr2line will depend on libdwarf, while our libdwarf is still on >>> planning stage, so... >>> >> What is the status of nm/dwarf_line_number.c, it seems to have >> everything that addr2line would need :) Does it work?, nm -l does not >> show any line info.. /me investigates. > > I'm not sure about nm/dwarf_line_number.c, just did a little test and > nm -l doesn't work for me either. > > This needs more investigation. By the way nm/dwarf_line_number.c should > be integrated into libdwarf later. > > -Kai Hi, There was some bugs on nm/dwarf_line_number.c, and fixed now. Would you test that ? FYI, you need to compile test target with debug option, -g in GCC. There is some limit on dwarf_line_number.c, it does not print path if there is not 'include directory' information. But GNU nm shows compiled path. Regards, - ---- Hyogeol Lee hyo...@gm... -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREKAAYFAkpYJV8ACgkQ1D7/GiH6QSEdFQCdGPZgkMkoQjTHyyndI5JS5NKX K1UAmgMI1CMF8jL1LjPfkX4tEp4g/Erz =PQ3L -----END PGP SIGNATURE----- |