diff options
author | Mark Wielaard <mjw@redhat.com> | 2015-05-20 14:09:46 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2015-05-27 17:17:51 +0200 |
commit | b23a5b2dda2a0beaaa12c8174808b5d0bd5996ea (patch) | |
tree | 788c6ff78cdd2901d8253946ddab3e704803cb7a /NEWS | |
parent | cd2da6c37b468c7ac66d2edcd83f8bcbaeb793ec (diff) | |
download | elfutils-b23a5b2dda2a0beaaa12c8174808b5d0bd5996ea.tar.gz |
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 <mjw@redhat.com>
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -6,6 +6,7 @@ addr2line: Input addresses are now always interpreted as hexadecimal numbers, never as octal or decimal numbers. New option -a, --addresses to print address before each entry. New option -C, --demangle to show demangled symbols. + New option --pretty-print to print all information on one line. Version 0.161 |