mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 223200
Removal of commandCache
This commit is contained in:
parent
3cc3d633da
commit
bff2486202
1 changed files with 0 additions and 18 deletions
|
@ -35,7 +35,6 @@ import org.eclipse.dd.dsf.concurrent.DsfRunnable;
|
|||
import org.eclipse.dd.dsf.concurrent.RequestMonitor;
|
||||
import org.eclipse.dd.dsf.concurrent.Sequence;
|
||||
import org.eclipse.dd.dsf.datamodel.AbstractDMEvent;
|
||||
import org.eclipse.dd.dsf.debug.service.command.CommandCache;
|
||||
import org.eclipse.dd.dsf.debug.service.command.ICommandControl;
|
||||
import org.eclipse.dd.dsf.service.DsfServiceEventHandler;
|
||||
import org.eclipse.dd.dsf.service.DsfSession;
|
||||
|
@ -48,9 +47,7 @@ import org.eclipse.dd.mi.service.command.MIControlDMContext;
|
|||
import org.eclipse.dd.mi.service.command.MIInferiorProcess;
|
||||
import org.eclipse.dd.mi.service.command.MIRunControlEventProcessor;
|
||||
import org.eclipse.dd.mi.service.command.commands.MIGDBExit;
|
||||
import org.eclipse.dd.mi.service.command.commands.MIGDBShowExitCode;
|
||||
import org.eclipse.dd.mi.service.command.commands.MIInterpreterExecConsole;
|
||||
import org.eclipse.dd.mi.service.command.output.MIGDBShowExitCodeInfo;
|
||||
import org.eclipse.dd.mi.service.command.output.MIInfo;
|
||||
import org.eclipse.debug.core.DebugException;
|
||||
import org.osgi.framework.BundleContext;
|
||||
|
@ -99,8 +96,6 @@ public class GDBControl extends AbstractMIControl {
|
|||
private int fGDBExitValue;
|
||||
final private int fGDBLaunchTimeout;
|
||||
|
||||
private CommandCache fCommandCache;
|
||||
|
||||
private MIRunControlEventProcessor fMIEventProcessor;
|
||||
private CLIEventProcessor fCLICommandProcessor;
|
||||
private AbstractCLIProcess fCLIProcess;
|
||||
|
@ -264,18 +259,6 @@ public class GDBControl extends AbstractMIControl {
|
|||
|
||||
public IPath getExecutablePath() { return fExecPath; }
|
||||
|
||||
public void getInferiorExitCode(final DataRequestMonitor<Integer> rm) {
|
||||
fCommandCache.execute(
|
||||
new MIGDBShowExitCode(fControlDmc),
|
||||
new DataRequestMonitor<MIGDBShowExitCodeInfo>(getExecutor(), rm) {
|
||||
@Override
|
||||
protected void handleOK() {
|
||||
rm.setData(getData().getCode());
|
||||
rm.done();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void getInferiorProcessId(DataRequestMonitor<Integer> rm) {
|
||||
}
|
||||
|
||||
|
@ -559,7 +542,6 @@ public class GDBControl extends AbstractMIControl {
|
|||
fInferiorProcess = new GDBInferiorProcess(GDBControl.this, fProcess.getOutputStream());
|
||||
fCLICommandProcessor = new CLIEventProcessor(GDBControl.this, fControlDmc, fInferiorProcess);
|
||||
fMIEventProcessor = new MIRunControlEventProcessor(GDBControl.this, fControlDmc);
|
||||
fCommandCache = new CommandCache(GDBControl.this);
|
||||
|
||||
requestMonitor.done();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue