Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 355503

Summary: Ranges can be produced in DwafInfoReader which are ~twice their correct addresses
Product: [Tools] CDT Reporter: Daniel Thomas <daniel.thomas>
Component: cdt-debug-edcAssignee: Ken Ryall <ken.ryall>
Status: RESOLVED WONTFIX QA Contact: Ken Ryall <ken.ryall>
Severity: normal    
Priority: P3 CC: cdtdoug
Version: 8.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Patch to only use the currentCompileUnitLowAddress when it is after the start none

Description Daniel Thomas CLA 2011-08-23 09:51:24 EDT
Build Identifier: 

The base to which start and end are added to in DwarfInfoReader#readRangeList can be set to the low address of the current compile unit in cases when this is not the correct behavior (when 0 is the correct value of the base). This results in ranges being created which have addresses approximately double their correct values.
Instead the base should only be set to the low address of the compile unit if the start would otherwise be before the start of the compile unit.

Reproducible: Always
Comment 1 Daniel Thomas CLA 2011-08-23 10:04:04 EDT
Created attachment 202002 [details]
Patch to only use the currentCompileUnitLowAddress when it is after the start
Comment 2 Jonah Graham CLA 2019-12-30 18:39:56 EST
(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/