|
Lines 25-37
Link Here
|
| 25 |
import org.eclipse.cdt.dsf.concurrent.Sequence.Step; |
25 |
import org.eclipse.cdt.dsf.concurrent.Sequence.Step; |
| 26 |
import org.eclipse.cdt.dsf.datamodel.DMContexts; |
26 |
import org.eclipse.cdt.dsf.datamodel.DMContexts; |
| 27 |
import org.eclipse.cdt.dsf.debug.service.IBreakpoints.IBreakpointsTargetDMContext; |
27 |
import org.eclipse.cdt.dsf.debug.service.IBreakpoints.IBreakpointsTargetDMContext; |
| 28 |
import org.eclipse.cdt.dsf.debug.service.IProcesses.IProcessDMContext; |
|
|
| 29 |
import org.eclipse.cdt.dsf.debug.service.IRunControl.IContainerDMContext; |
28 |
import org.eclipse.cdt.dsf.debug.service.IRunControl.IContainerDMContext; |
| 30 |
import org.eclipse.cdt.dsf.debug.service.IRunControl.ISuspendedDMEvent; |
29 |
import org.eclipse.cdt.dsf.debug.service.IRunControl.ISuspendedDMEvent; |
| 31 |
import org.eclipse.cdt.dsf.gdb.service.command.IGDBControl; |
30 |
import org.eclipse.cdt.dsf.gdb.service.command.IGDBControl; |
| 32 |
import org.eclipse.cdt.dsf.mi.service.IMIProcesses; |
|
|
| 33 |
import org.eclipse.cdt.dsf.mi.service.IMIRunControl; |
31 |
import org.eclipse.cdt.dsf.mi.service.IMIRunControl; |
| 34 |
import org.eclipse.cdt.dsf.mi.service.MIProcesses; |
|
|
| 35 |
import org.eclipse.cdt.dsf.mi.service.command.output.MIBreakInsertInfo; |
32 |
import org.eclipse.cdt.dsf.mi.service.command.output.MIBreakInsertInfo; |
| 36 |
import org.eclipse.cdt.dsf.service.DsfServicesTracker; |
33 |
import org.eclipse.cdt.dsf.service.DsfServicesTracker; |
| 37 |
import org.eclipse.cdt.dsf.service.DsfSession; |
34 |
import org.eclipse.cdt.dsf.service.DsfSession; |
|
Lines 84-97
Link Here
|
| 84 |
session.getId()); |
81 |
session.getId()); |
| 85 |
fGDBCtrl = fServicesTracker.getService(IGDBControl.class); |
82 |
fGDBCtrl = fServicesTracker.getService(IGDBControl.class); |
| 86 |
|
83 |
|
| 87 |
IMIProcesses procService = fServicesTracker.getService(IMIProcesses.class); |
|
|
| 88 |
IProcessDMContext procDmc = procService.createProcessContext(fGDBCtrl.getContext(), MIProcesses.UNIQUE_GROUP_ID); |
| 89 |
fContainerDmc = procService.createContainerContext(procDmc, MIProcesses.UNIQUE_GROUP_ID); |
| 90 |
|
| 91 |
fRunCtrl = fServicesTracker.getService(IMIRunControl.class); |
84 |
fRunCtrl = fServicesTracker.getService(IMIRunControl.class); |
| 92 |
} |
85 |
} |
| 93 |
}; |
86 |
}; |
| 94 |
session.getExecutor().submit(runnable).get(); |
87 |
session.getExecutor().submit(runnable).get(); |
|
|
88 |
|
| 89 |
fContainerDmc = SyncUtil.getContainerContext(); |
| 95 |
} |
90 |
} |
| 96 |
|
91 |
|
| 97 |
|
92 |
|