ptm2human icon indicating copy to clipboard operation
ptm2human copied to clipboard

[Enhancement] translate the traced address to the source file and the line number

Open hwangcc23 opened this issue 9 years ago • 3 comments

Provide a built-in addr2line function. Survey if there is any open source library or write one (libaddr2line).

hwangcc23 avatar Aug 12 '15 04:08 hwangcc23

addr2line from binutils isnt't enough? http://elinux.org/Addr2line_for_kernel_debugging

cz172638 avatar Dec 10 '15 13:12 cz172638

It would be better to have each address translated to the source file/line number in the output directly rather than translate each of them manually via addr2line.

hwangcc23 avatar Dec 10 '15 16:12 hwangcc23

one option is to call addr2line second is to 'reuse' addr2line code (addr2line.c is not big file) :)

cz172638 avatar Dec 10 '15 22:12 cz172638