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

Bug 352012

Summary: [update policy] "Breakpoint Hit" update policy does not have a constructor for clearing multiple number format values.
Product: [Tools] CDT Reporter: Pawel Piech <pawel.1.piech>
Component: cdt-debug-dsfAssignee: Pawel Piech <pawel.1.piech>
Status: RESOLVED FIXED QA Contact: Pawel Piech <pawel.1.piech>
Severity: normal    
Priority: P3 CC: cdtdoug
Version: 8.0Flags: pawel.1.piech: review? (Randy.Rohrbach)
Target Milestone: 8.0.1   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Patch with new constructors. pawel.1.piech: iplog-

Description Pawel Piech CLA 2011-07-13 14:21:13 EDT
Our (Wind River) product extends the registers view to show multiple formatted values (register value and emulator value).  Therefore we need the update policy infrastructure to allow flushing the cache for both values.

The DebugManualUpdatePolicy contains a constructor that allows specifying prefixes for formatted values, however the BreakpointHitPolicy does not.
Comment 1 Pawel Piech CLA 2011-07-13 15:01:28 EDT
Created attachment 199613 [details]
Patch with new constructors.
Comment 2 Pawel Piech CLA 2011-07-13 15:03:16 EDT
After an unpleasant experiment with git reset --hard, I managed to commit the fix.
Comment 3 CDT Genie CLA 2011-07-13 15:20:39 EDT
*** cdt git genie on behalf of Pawel Piech ***
    Bug 352012 - [update policy] &quot;Breakpoint Hit&quot; update policy does not
    have a constructor for clearing multiple number format values.

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=9f3bf0a326a7490723fd5fff305a91e628709b24

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=a1e5db5fee331c0b307b4a7bfb361d986e5874d8