Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329234 - edc - DWARF - better handling for incorrectly generated scope address bounds for inline functions
Summary: edc - DWARF - better handling for incorrectly generated scope address bounds ...
Status: RESOLVED WONTFIX
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-edc (show other bugs)
Version: 7.0.1   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: 2010-11-02 03:23 EDT by Kirk Beitz CLA
Modified: 2019-12-30 18:39 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kirk Beitz CLA 2010-11-02 03:23:32 EDT
at least one compiler that the edc debugger relies on is currently generating DWARF that contains DWARF_AT_high_address that is loswer than the corresponding DWARF_AT_low_address.

currently, DwarfInfoReader#setupAddresses() handles this by simply applying the high-address of the parent.

a solution which attempts to determine the high-address based upon line-entry info for the badly generated dwarf would be better.

(and yes, best would be to fix the compiler to generate better DWARF; if/when that ever happens, the solution for this issue won't need to get executed; however, it is expected that a version of the compiler that has this bug may exist for a while …)
Comment 1 Jonah Graham CLA 2019-12-30 18:39:59 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/