mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
[239050] IProcesses.runNewProcess() and IProcesses.debugNewProcess() should take a context as a parameter to know which command control the command affects.
This commit is contained in:
parent
546864ed77
commit
81d3982175
3 changed files with 8 additions and 6 deletions
|
@ -123,10 +123,11 @@ public interface IProcesses extends IDMService {
|
|||
|
||||
/**
|
||||
* Starts a new process.
|
||||
* @param dmc The processor or core on which we want to run a new process.
|
||||
* @param file Process image to use for the new process.
|
||||
* @param rm Request completion monitor, to be filled in with the process context.
|
||||
*/
|
||||
void runNewProcess(String file, DataRequestMonitor<IProcessDMContext> rm);
|
||||
void runNewProcess(IDMContext dmc, String file, DataRequestMonitor<IProcessDMContext> rm);
|
||||
|
||||
/**
|
||||
* Checks whether it is possible to start a new process with the debugger attached
|
||||
|
@ -137,11 +138,12 @@ public interface IProcesses extends IDMService {
|
|||
|
||||
/**
|
||||
* Starts a new process with the debugger attached.
|
||||
* @param dmc The processor or core on which we want to start and debug the new process.
|
||||
* @param file Process image to use for the new process.
|
||||
* @param rm Request completion monitor, to be filled in with the
|
||||
* debugging context that can now be used to characterize the process
|
||||
*/
|
||||
void debugNewProcess(String file, DataRequestMonitor<IDMContext> rm);
|
||||
void debugNewProcess(IDMContext dmc, String file, DataRequestMonitor<IDMContext> rm);
|
||||
|
||||
/**
|
||||
* Retrieves the list of processes which are currently under debugger control.
|
||||
|
|
|
@ -568,7 +568,7 @@ public class GDBProcesses_7_0 extends AbstractDsfService implements IMIProcesses
|
|||
rm.done();
|
||||
}
|
||||
|
||||
public void debugNewProcess(String file, DataRequestMonitor<IDMContext> rm) {
|
||||
public void debugNewProcess(IDMContext dmc, String file, DataRequestMonitor<IDMContext> rm) {
|
||||
rm.setStatus(new Status(IStatus.ERROR, GdbPlugin.PLUGIN_ID,
|
||||
NOT_SUPPORTED, "Not supported", null)); //$NON-NLS-1$
|
||||
rm.done();
|
||||
|
@ -684,7 +684,7 @@ public class GDBProcesses_7_0 extends AbstractDsfService implements IMIProcesses
|
|||
rm.setData(false);
|
||||
rm.done();
|
||||
}
|
||||
public void runNewProcess(String file, DataRequestMonitor<IProcessDMContext> rm) {
|
||||
public void runNewProcess(IDMContext dmc, String file, DataRequestMonitor<IProcessDMContext> rm) {
|
||||
rm.setStatus(new Status(IStatus.ERROR, GdbPlugin.PLUGIN_ID,
|
||||
NOT_SUPPORTED, "Not supported", null)); //$NON-NLS-1$
|
||||
rm.done();
|
||||
|
|
|
@ -538,7 +538,7 @@ public class MIProcesses extends AbstractDsfService implements IMIProcesses, ICa
|
|||
rm.done();
|
||||
}
|
||||
|
||||
public void debugNewProcess(String file, DataRequestMonitor<IDMContext> rm) {
|
||||
public void debugNewProcess(IDMContext dmc, String file, DataRequestMonitor<IDMContext> rm) {
|
||||
rm.setStatus(new Status(IStatus.ERROR, MIPlugin.PLUGIN_ID,
|
||||
NOT_SUPPORTED, "Not supported", null)); //$NON-NLS-1$
|
||||
rm.done();
|
||||
|
@ -601,7 +601,7 @@ public class MIProcesses extends AbstractDsfService implements IMIProcesses, ICa
|
|||
rm.setData(false);
|
||||
rm.done();
|
||||
}
|
||||
public void runNewProcess(String file, DataRequestMonitor<IProcessDMContext> rm) {
|
||||
public void runNewProcess(IDMContext dmc, String file, DataRequestMonitor<IProcessDMContext> rm) {
|
||||
rm.setStatus(new Status(IStatus.ERROR, MIPlugin.PLUGIN_ID,
|
||||
NOT_SUPPORTED, "Not supported", null)); //$NON-NLS-1$
|
||||
rm.done();
|
||||
|
|
Loading…
Add table
Reference in a new issue