Hide Forgot
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
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
Low level support added: http://git.fedorahosted.org/git/?p=elfutils.git;a=commit;h=e3368c58342aa11d833f8657950aca5501483826 http://git.fedorahosted.org/git/?p=elfutils.git;a=commit;h=49c206bdc316e3722012751d66300015e45a1a20 Now we need libdw support with some dwarf_get_location () variant. https://fedorahosted.org/pipermail/elfutils-devel/2011-March/001910.html And maybe some high-level dwarflint check?
elfutils-0.153-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/elfutils-0.153-1.fc16
elfutils-0.153-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/elfutils-0.153-1.fc17
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).
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.
elfutils-0.153-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/elfutils-0.153-1.fc15
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.
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.