Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hwangcc23 opened this issue Aug 12, 2015 · 3 comments

Comments

@hwangcc23
Copy link
Owner

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

@cz172638
Copy link

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

@hwangcc23
Copy link
Owner Author

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.

@cz172638
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants