| Summary: | Add support for merging and fixing up RangeLists and fix empty RangeList bug | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Daniel Thomas <daniel.thomas> |
| Component: | cdt-debug-edc | Assignee: | Ken Ryall <ken.ryall> |
| Status: | RESOLVED WONTFIX | QA Contact: | Ken Ryall <ken.ryall> |
| Severity: | normal | ||
| Priority: | P3 | CC: | cdtdoug, kirk.beitz |
| Version: | 8.0 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Attachments: | |||
|
Description
Daniel Thomas
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/ |