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

Bug 364405

Summary: [disassembly] Multiple instruction pointers
Product: [Tools] CDT Reporter: Patrick Chuong <pchuong>
Component: cdt-debugAssignee: Patrick Chuong <pchuong>
Status: RESOLVED FIXED QA Contact: Ken Ryall <ken.ryall>
Severity: normal    
Priority: P3 CC: aleherb+eclipse, cdtdoug, malaperle, pawel.1.piech
Version: 8.0Flags: aleherb+eclipse: review+
Target Milestone: 8.1.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
patch pchuong: iplog-

Description Patrick Chuong CLA 2011-11-21 13:42:51 EST
We have core that can execute multiple instructions at the same time, I like to request to have support for multiple instruction pointers for the Disassembly view.
Comment 1 Patrick Chuong CLA 2012-01-03 11:34:51 EST
Created attachment 208946 [details]
patch

Toni, is this approach acceptable? In my debugger, I override DisassemblyBackendDsf to add additional PC annotation to the model.
Comment 2 Anton Leherbauer CLA 2012-01-04 05:22:41 EST
(In reply to comment #1)
> Toni, is this approach acceptable? In my debugger, I override
> DisassemblyBackendDsf to add additional PC annotation to the model.

Looks reasonable.
Why do you define the class ExtendedPCAnnotationModel?  It does not add any value.
Please update the year in the copyright headers (2011 -> 2012).
Comment 3 Patrick Chuong CLA 2012-01-05 11:30:13 EST
Thanks Toni, I have removed the ExtendedPCAnnotationModel class and updated the copyright. I also made an additional check for nullpointer for contextBackend within the DisassemblyPart class.