Bug 688090

Summary: support DW_OP_GNU_entry_value and DW_TAG_GNU_call_site
Product: [Fedora] Fedora Reporter: Mark Wielaard <mjw>
Component: elfutilsAssignee: Roland McGrath <roland>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mjw, mjw, pmachata, roland
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: elfutils-0.153-1.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-02 01:19:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Mark Wielaard 2011-03-16 10:12:02 UTC
GCC (recent 4.7 patch) can now produce DW_OP_GNU_entry_value and DW_TAG_GNU_call_site. http://gcc.gnu.org/ml/gcc-patches/2011-03/msg00815.html

http://gcc.gnu.org/ml/gcc-patches/2010-08/msg01475.html
The DW_OP_GNU_entry_value special location op can be useful either
together with the DW_TAG_GNU_call_site DIEs, or e.g. for non-interactive
debugging (e.g. systemtap, where you know beforehand you'll need to query
value at some PC, and can insert breakpoint at the start of routine and
remember the value there).
DW_TAG_GNU_call_site can be useful also for more useful backtraces (where
the debugger can print you the values that were actually passed to
the function, rather than whatever the parameters contain now), for
virtual backtraces when tail calls are involved, for doing static call graph
analysis etc.

GCC summit paper: Improving debug info for optimized away parameters
http://gcc.gnu.org/wiki/summit2010?action=AttachFile&do=get&target=jelinek.pdf

Comment 1 Mark Wielaard 2011-03-16 10:16:42 UTC
Dwarf DW_OP_entry_value "Tracking of values passed as arguments to functions in debug information" proposal: http://www.dwarfstd.org/ShowIssue.php?issue=100909.1

Dwarf DW_TAG_call_site "Representation of call sites in the debugging information" proposal: http://www.dwarfstd.org/ShowIssue.php?issue=100909.2

Comment 3 Fedora Update System 2012-02-24 15:22:57 UTC
elfutils-0.153-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/elfutils-0.153-1.fc16

Comment 4 Fedora Update System 2012-02-24 16:03:01 UTC
elfutils-0.153-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/elfutils-0.153-1.fc17

Comment 5 Fedora Update System 2012-02-24 22:32:52 UTC
Package elfutils-0.153-1.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing elfutils-0.153-1.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-2344/elfutils-0.153-1.fc17
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-03-02 01:19:02 UTC
elfutils-0.153-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2012-03-10 13:06:07 UTC
elfutils-0.153-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/elfutils-0.153-1.fc15

Comment 8 Fedora Update System 2012-03-10 21:53:35 UTC
elfutils-0.153-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2012-03-26 03:55:25 UTC
elfutils-0.153-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2012-03-26 17:58:57 UTC
elfutils-0.153-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.