Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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