Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1223462 - eu-addr2line needs --pretty-print support
eu-addr2line needs --pretty-print support
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: elfutils (Show other bugs)
7.1
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Mark Wielaard
qe-baseos-tools
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-05-20 10:53 EDT by Mark Wielaard
Modified: 2015-11-19 05:19 EST (History)
4 users (show)

See Also:
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 05:19:40 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:2126 normal SHIPPED_LIVE elfutils bug fix and enhancement update 2015-11-19 04:54:56 EST

  None (edit)
Description Mark Wielaard 2015-05-20 10:53:19 EDT
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 11:15:11 EDT
elfutils 0.162 has been released upstream.
So this will likely be resolved through bug #1224169.
Comment 6 errata-xmlrpc 2015-11-19 05:19:40 EST
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

Note You need to log in before you can comment on or make changes to this bug.