Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355503 - Ranges can be produced in DwafInfoReader which are ~twice their correct addresses
Summary: Ranges can be produced in DwafInfoReader which are ~twice their correct addre...
Status: RESOLVED WONTFIX
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-edc (show other bugs)
Version: 8.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Ken Ryall CLA
QA Contact: Ken Ryall CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-23 09:51 EDT by Daniel Thomas CLA
Modified: 2019-12-30 18:39 EST (History)
1 user (show)

See Also:


Attachments
Patch to only use the currentCompileUnitLowAddress when it is after the start (1.62 KB, patch)
2011-08-23 10:04 EDT, Daniel Thomas CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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/