diff options
| author | Mark Wielaard <[email protected]> | 2015-05-20 14:09:46 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2015-05-27 17:17:51 +0200 |
| commit | b23a5b2dda2a0beaaa12c8174808b5d0bd5996ea (patch) | |
| tree | 788c6ff78cdd2901d8253946ddab3e704803cb7a /libelf/elf32_updatefile.c | |
| parent | cd2da6c37b468c7ac66d2edcd83f8bcbaeb793ec (diff) | |
addr2line: Add --pretty-print option to show all information on one line.
This adds an option --pretty-print to eu-addr2line to show all information
on one line and all inlines on a line of their own. This mimics the same
option from binutils addr2line, but without the short option variant -p.
Since we already use -p to select the process.
Example output:
eu-addr2line --pretty-print -s -i -f -C -p$(pidof firefox) 0x00007f368c6f8915
mozilla::ReentrantMonitor::Wait(unsigned int) at ReentrantMonitor.h:92
(inlined by) mozilla::ReentrantMonitorAutoEnter::Wait(unsigned int) at ReentrantMonitor.h:190
A couple of tests were added to check the output matches that of
binutils addr2line.
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'libelf/elf32_updatefile.c')
0 files changed, 0 insertions, 0 deletions
