Community
Participate
Working Groups
Build Identifier: There were TODOs in Scope asking for the implementation of proper merging which is now done. fixupRanges in Scope only fixed high and low addresses and took no account of the ranges of the children it is fixing up. DwarfInfoReader would return empty RangeLists when null is the canonical form for an empty range list. Reproducible: Always
Created attachment 200731 [details] Add support for rangelist merging, fixing up and not returning empty rangelists
Created attachment 200733 [details] Better patch which only upates rangelist using children also updating start and end addresses
Created attachment 200895 [details] Patch to add proper merging support, tests on this, use it and bug fixes This patch first adds support for proper merging of IRangeLists (as a static method in RangeList this time as that is a better location) Then it adds tests to check that this and other RangeList functionality works, in the process a bug in the isInRange function was found and fixed. Then it uses this rangelist merging functionality to make fixupRanges fixup the range lists as well as the start and end addresses. Then fix a bug in DwarfInfoReader where it would return a non-null RangeList which was empty rather than returning null (which means empty in the RangeList context).
i've moved the TestRangeList part of the patch to org.eclipse.cdt.debug.edc.tests. with that change, the patch has been merged and nominally tested in our local source base. waiting for final review and merge to eclipse edc git repository by committer Ken Ryall.
(this is part of a batch change) The Eclipse CDT EDC (https://wiki.eclipse.org/CDT/cdt-debug-edc) is now obsolete and has not had any active development since 2011. Therefore the still open bugs are being marked as wontfix. The git repo for the project still exists for posterity at https://git.eclipse.org/c/cdt/org.eclipse.cdt.edc.git/