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

Bug 353737

Summary: DwafModuleScope only uses data sections to compute its low and high addresses
Product: [Tools] CDT Reporter: Daniel Thomas <daniel.thomas>
Component: cdt-debug-edcAssignee: Ken Ryall <ken.ryall>
Status: RESOLVED FIXED 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
Use both text and data sections.
cdtdoug: iplog+
Add test on this behaviour. cdtdoug: iplog+

Description Daniel Thomas CLA 2011-08-03 07:34:37 EDT
Build Identifier: 

DwarfModuleScope only uses data ISections to compute its start and end addresses and so ISections which are allocated but are code do not contribute. Hence code sections before the first data section are not inside the DwarfModuleScope when they should be.
Using both text and data sections fixes this.

Reproducible: Always
Comment 1 Daniel Thomas CLA 2011-08-03 07:35:03 EDT
Created attachment 200800 [details]
Use both text and data sections.
Comment 2 Daniel Thomas CLA 2011-08-12 08:17:49 EDT
Created attachment 201390 [details]
Add test on this behaviour.