Community
Participate
Working Groups
Build Identifier: I20110613-1736 I have written 12 minor fixes to EDC: 1: Take account of the highAddress of a scope if the low addresses are equal 2: Use toHexAddress in CompileUnitScope as used elsewhere 3: Remove duplicate child methods from DwarfCompileUnit which repeat parent methods 4: Fix incorrect case in OpaqueTypeResolving which causes test to fail on Linux. 5: Consistently use lastSegment in TestDwarfReader as these give move legible errors 6: In DwarfInfoReader fix case where next() called without check on hasNext() 7: Use lastKey() in SortedMaps to avoid iterating through whole map 8: Log exceptions in TestUtils rather than ignoring them 9: Try adding a parameter to the parent function scope if found in a lexical block 10: Make typedefs in ModuleLineEntryProvider static 11: Make full use of super constructor in DwarfVariable 12: Add toString() method to Type Further details can be found in the patch. Reproducible: Always
Created attachment 200710 [details] Add patch of all these misc changes in 12 sections
Created attachment 200898 [details] Patch with 10 misc fixes Removes changes 6 and 9 as these need to be filed as separate bugs.
Created attachment 200904 [details] Test on changes to scope
for the most part, the patch looks good. while these are all minor fixes, a couple of them are higher risk items than others. after running through part of our local test-suite, i've committed all but #1 from the original description to our local repository for now, pending Ken Ryall's final look-see and merge to the eclipse edc git repository. i'm awaiting some discussion from one of our other people who knows our local compiler quirks and what we're trying to live with insofar as the DWARF is concerned before merging item 1 from this list. the use of 0-size regions and having to fix them up ourselves rings a bell with me, and so i'm afraid committing this may break certain things for us, but i'm not exactly certain whether this was the trouble spot or not.
also, w.r.t. the ScopeTest regression test, rather than beginning the regression suite just now, i've added all of this test to package org.eclipse.cdt.debug.edc.tests for regular JUnit regression testing like other current JUnit tests. Ken Ryall will also perform the final review and merge of this item to the eclipse edc git repository.
Fixed in: http://git.eclipse.org/c/cdt/org.eclipse.cdt.edc.git/commit/?id=f7c4790c134d0cdc30cdbe8d2a016bf27cd25528