Bug 1223462

Summary: eu-addr2line needs --pretty-print support
Product: Red Hat Enterprise Linux 7 Reporter: Mark Wielaard <mjw>
Component: elfutilsAssignee: Mark Wielaard <mjw>
Status: CLOSED ERRATA QA Contact: qe-baseos-tools-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.1CC: mbenitez, mcermak, mjw, tspeetje
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: elfutils-0.162-1.el7 Doc Type: Enhancement
Doc Text:
The following changes and improvements have been made to the eu-addr2line tool: - Input addresses are now always interpreted as hexadecimal numbers, never as octal or decimal numbers. - A new option, "-a", "--addresses", to print address before each entry. - A new option, "-C", "--demangle", to show demangled symbols. - A new option, "--pretty-print", to print all information on one line. As a result, it is possible to use eu-addr2line as drop-in replacement for binutils addr2line.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 10:19:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mark Wielaard 2015-05-20 14:53:19 UTC
Description of problem:

eu-addr2line can mostly be used as replacement for binutils addr2line. eu-addr2line adds support for query binaries with separate debuginfo and process maps that binutils addr2line doesn't support. But it isn't a complete drop in replacement since it is missing some compatibility options. In particular it is missing the --pretty-print option.

Version-Release number of selected component (if applicable):

elfutils-0.160-1.el7

How reproducible:

Always

Steps to Reproduce:

$ eu-addr2line --pretty-print

Actual results:

eu-addr2line: unrecognized option '--pretty-print'

Expected results:

pretty printed output

Additional info:

Upstream has some proposed patches that would make eu-addr2line be more compatible with binutils addr2line:
https://lists.fedorahosted.org/pipermail/elfutils-devel/2015-May/004882.html

Comment 2 Mark Wielaard 2015-06-11 15:15:11 UTC
elfutils 0.162 has been released upstream.
So this will likely be resolved through bug #1224169.

Comment 6 errata-xmlrpc 2015-11-19 10:19:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2015-2126.html