Bug 225638

Summary: [commands] Add support for multiple command controls.
Product: [Tools] CDT Reporter: Pawel Piech <pawel.1.piech>
Component: cdt-debug-dsfAssignee: Project Inbox <cdt-debug-dsf-inbox>
Status: ASSIGNED --- QA Contact: Jonah Graham <jonah>
Severity: enhancement    
Priority: P3 CC: dd.general-inbox, pawel.1.piech
Version: 0 DD 1.0Keywords: api
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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.