Back to bug 1017185

Who When What Removed Added
Petr Machata 2013-10-17 17:09:02 UTC Status NEW MODIFIED
errata-xmlrpc 2013-10-17 17:17:43 UTC Status MODIFIED ON_QA
Dagmar Prokopová 2013-10-25 09:19:19 UTC CC dprokopo
QA Contact dprokopo
Dagmar Prokopová 2013-11-11 14:29:15 UTC Status ON_QA VERIFIED
Petr Machata 2014-01-14 00:59:27 UTC Doc Text Important: if this rebase instead contains *only bug fixes,* or *only enhancements*, select the correct option from the Doc Type drop-down list.

Rebase package(s) to version:
0.157

Highlights, important fixes, or notable enhancements:

For this bug in particular:
Cause:
dwarf_getfuncs should return all functions defined by a given compilation unit. But when considering candidate nodes, it only scanned the first layer of nodes attached to a given compilation unit, even though such function definition nodes could be nested in deeper layers of the Dwarf tree. GCC emits Dwarf nodes representing nested functions under the nodes that represent the outer function.

Consequence:
dwarf_getfuncs wouldn't report nested functions for GCC-generated Dwarf data.

Fix:
The whole Dwarf tree rooted at a given compilation unit is scanned.

Result:
All function definitions are found.
errata-xmlrpc 2014-03-03 14:03:16 UTC Status VERIFIED RELEASE_PENDING
errata-xmlrpc 2014-03-11 06:38:37 UTC Status RELEASE_PENDING CLOSED
Resolution --- ERRATA
Last Closed 2014-03-11 02:38:37 UTC
John Skeoch 2014-07-01 22:54:35 UTC CC ohudlick
John Skeoch 2015-05-05 01:38:17 UTC CC mnewsome

Back to bug 1017185