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 - eu-addr2line needs --pretty-print support
Summary: eu-addr2line needs --pretty-print support
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: elfutils
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Mark Wielaard
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-20 14:53 UTC by Mark Wielaard
Modified: 2019-09-12 08:29 UTC (History)
4 users (show)

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.
Clone Of:
Environment:
Last Closed: 2015-11-19 10:19:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:2126 0 normal SHIPPED_LIVE elfutils bug fix and enhancement update 2015-11-19 09:54:56 UTC

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


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