Bug 225638 - [commands] Add support for multiple command controls.
Summary: [commands] Add support for multiple command controls.
Status: ASSIGNED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf (show other bugs)
Version: 0 DD 1.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks:
 
Reported: 2008-04-03 16:08 EDT by Pawel Piech CLA
Modified: 2020-09-04 15:17 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pawel Piech CLA 2008-04-03 16:08:23 EDT
In some use cases it would be useful to allow a single debug session to communicate with multiple instances of debugger back end (e.g. when debugging multiple cores).

I think we could this functionality with the following changes:
1) Add a new Data Model context type: ICommandControlDMContext, which returns a command control identifier.
2) Add a new utility object a command control proxy, which based on a Data Model context, can find the correct command control, and delegate the call to it.  
3) Convert all the services which currently assume that the command control is always available, to use the command control proxy.
4) Extend the CommandCache to be able to track commands in multiple comamnd controls.