Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command')
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/CLICommand.java38
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/Command.java87
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/CommandFactory.java352
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/CygwinCommandFactory.java19
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/CygwinMIEnvironmentDirectory.java43
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakAfter.java28
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakCondition.java24
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakDelete.java32
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakDisable.java31
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakEnable.java30
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakInsert.java121
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakList.java68
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakWatch.java58
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MICommand.java130
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataDisassemble.java105
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataEvaluateExpression.java44
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataListChangedRegisters.java42
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataListRegisterNames.java58
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataListRegisterValues.java89
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataReadMemory.java147
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataWriteMemory.java93
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataWriteRegisterValues.java67
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentCD.java23
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentDirectory.java22
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentPWD.java39
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentPath.java21
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecAbort.java23
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecArguments.java22
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecContinue.java22
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecFinish.java23
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecInterrupt.java26
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecNext.java22
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecNextInstruction.java24
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecReturn.java24
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecRun.java27
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecStep.java24
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecStepInstruction.java27
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecUntil.java29
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIFileExecFile.java25
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIFileSymbolFile.java23
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBExit.java21
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBSet.java21
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBSetAutoSolib.java20
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBSetSolibSearchPath.java32
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBShow.java41
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBShowDirectories.java40
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBShowExitCode.java43
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBShowSolibSearchPath.java40
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIHandle.java22
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIInfoSharedLibrary.java40
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIInfoSignals.java44
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIInfoThreads.java40
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIJump.java43
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIPType.java40
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MISharedLibrary.java25
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MISignal.java44
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIStackInfoDepth.java47
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIStackListArguments.java67
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIStackListFrames.java69
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIStackListLocals.java49
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIStackSelectFrame.java24
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MITargetAttach.java22
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MITargetDetach.java22
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MITargetDownload.java37
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MITargetSelect.java34
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIThreadListIds.java43
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIThreadSelect.java43
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarAssign.java22
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarCreate.java72
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarDelete.java44
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarEvaluateExpression.java46
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarInfoExpression.java25
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarInfoNumChildren.java44
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarInfoType.java24
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarListChildren.java45
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarSetFormat.java52
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarShowAttributes.java46
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarShowFormat.java24
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarUpdate.java48
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIWhatis.java40
80 files changed, 0 insertions, 3697 deletions
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/CLICommand.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/CLICommand.java
deleted file mode 100644
index 1cf0d811bdc..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/CLICommand.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-
-
-/**
- * Represents a CLI command.
- */
-public class CLICommand extends Command
-{
-
- String operation = "";
-
- public CLICommand(String oper) {
- operation = oper;
- }
-
- public String getOperation() {
- return operation;
- }
-
- /**
- * Returns the text representation of this command.
- *
- * @return the text representation of this command
- */
- public String toString(){
- String str = getToken() + " " + operation;
- if (str.endsWith("\n"))
- return str;
- return str + "\n";
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/Command.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/Command.java
deleted file mode 100644
index b83d213393e..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/Command.java
+++ /dev/null
@@ -1,87 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MILogStreamOutput;
-import org.eclipse.cdt.debug.mi.core.output.MIOOBRecord;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-import org.eclipse.cdt.debug.mi.core.output.MIStreamRecord;
-
-/**
- * A base class for all mi requests.
- */
-public abstract class Command
-{
- private static int globalCounter;
-
- int token = 0;
- MIOutput output;
-
- /**
- * A global counter for all command, the token
- * will be use to identify uniquely a command.
- * Unless the value wraps around which is unlikely.
- */
- private static synchronized int getUniqToken() {
- int count = ++globalCounter;
- // If we ever wrap around.
- if (count <= 0) {
- count = globalCounter = 1;
- }
- return count;
- }
-
- /**
- * Returns the identifier of this request.
- *
- * @return the identifier of this request
- */
- public int getToken() {
- if (token == 0) {
- token = getUniqToken();
- }
- return token;
- }
-
-// public void setToken(int token) {
-// this.token = token;
-// }
-
- public MIOutput getMIOutput() {
- return output;
- }
-
- public void setMIOutput(MIOutput mi) {
- output = mi;
- }
-
- /**
- * Parse the MIOutput generate after posting the command.
- */
- public MIInfo getMIInfo () throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIInfo(out);
- if (info.isError()) {
- String mesg = info.getErrorMsg();
- StringBuffer sb = new StringBuffer();
- MIOOBRecord[] oobs = out.getMIOOBRecords();
- for (int i = 0; i < oobs.length; i++) {
- if (oobs[i] instanceof MILogStreamOutput) {
- MIStreamRecord o = (MIStreamRecord) oobs[i];
- sb.append(o.getString());
- }
- }
- throw new MIException(mesg, sb.toString());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/CommandFactory.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/CommandFactory.java
deleted file mode 100644
index 3a8e9afeb4f..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/CommandFactory.java
+++ /dev/null
@@ -1,352 +0,0 @@
-/*
- * (c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- * Factory to create GDB commands.
- */
-public class CommandFactory {
-
- public MIBreakAfter createMIBreakAfter(int brknum, int count) {
- return new MIBreakAfter(brknum, count);
- }
-
- public MIBreakCondition createMIBreakCondition (int brknum, String expr) {
- return new MIBreakCondition(brknum, expr);
- }
-
- public MIBreakDelete createMIBreakDelete (int[] brknum) {
- return new MIBreakDelete(brknum);
- }
-
- public MIBreakDisable createMIBreakDisable(int[] brknum) {
- return new MIBreakDisable(brknum);
- }
-
- public MIBreakEnable createMIBreakEnable(int[] brknum) {
- return new MIBreakEnable(brknum);
- }
-
- public MIBreakInsert createMIBreakInsert(boolean isTemporary, boolean isHardware,
- String condition, int ignoreCount, String line) {
- return new MIBreakInsert(isTemporary, isHardware, condition, ignoreCount, line);
- }
-
- public MIBreakInsert createMIBreakInsert(String func) {
- return new MIBreakInsert(func);
- }
-
- public MIBreakList createMIBreakList() {
- return new MIBreakList();
- }
-
- public MIBreakWatch createMIBreakWatch(boolean access, boolean read, String expression) {
- return new MIBreakWatch(access, read, expression);
- }
-
- public MIDataDisassemble createMIDataDisassemble(String start, String end, boolean mixed) {
- return new MIDataDisassemble(start, end, mixed);
- }
-
- public MIDataDisassemble createMIDataDisassemble(String file, int linenum, int lines, boolean mixed) {
- return new MIDataDisassemble(file, linenum, lines, mixed);
- }
-
- public MIDataEvaluateExpression createMIDataEvaluateExpression(String expression) {
- return new MIDataEvaluateExpression(expression);
- }
-
- public MIDataListChangedRegisters createMIDataListChangedRegisters() {
- return new MIDataListChangedRegisters();
- }
-
- public MIDataListRegisterNames createMIDataListRegisterNames() {
- return new MIDataListRegisterNames();
- }
-
- public MIDataListRegisterNames createMIDataListRegisterNames(int[] regnos) {
- return new MIDataListRegisterNames(regnos);
- }
-
- public MIDataListRegisterValues createMIDataListRegisterValues(int fmt, int[] regnos) {
- return new MIDataListRegisterValues(fmt, regnos);
- }
-
- public MIDataWriteRegisterValues createMIDataWriteRegisterValues(int fmt, int[] regnos, String[] values) {
- return new MIDataWriteRegisterValues(fmt, regnos, values);
- }
-
- public MIDataReadMemory createMIDataReadMemory(long offset, String address,
- int wordFormat, int wordSize,
- int rows, int cols, Character asChar) {
- return new MIDataReadMemory(offset, address, wordFormat, wordSize,
- rows, cols, asChar);
- }
-
- public MIDataWriteMemory createMIDataWriteMemory(long offset, String address,
- int wordFormat, int wordSize,
- String value) {
- return new MIDataWriteMemory(offset, address, wordFormat, wordSize, value);
- }
-
- public MIEnvironmentCD createMIEnvironmentCD(String pathdir) {
- return new MIEnvironmentCD(pathdir);
- }
-
- public MIEnvironmentDirectory createMIEnvironmentDirectory(String[] pathdirs) {
- return new MIEnvironmentDirectory(pathdirs);
- }
-
- public MIEnvironmentPath createMIEnvironmentPath(String[] paths) {
- return new MIEnvironmentPath(paths);
- }
-
- public MIEnvironmentPWD createMIEnvironmentPWD() {
- return new MIEnvironmentPWD();
- }
-
- public MIExecAbort createMIExecAbort() {
- return new MIExecAbort();
- }
-
- public MIExecArguments createMIExecArguments(String[] args) {
- return new MIExecArguments(args);
- }
-
- public MIExecContinue createMIExecContinue() {
- return new MIExecContinue();
- }
-
- public MIExecFinish createMIExecFinish() {
- return new MIExecFinish();
- }
-
- public MIExecInterrupt createMIExecInterrupt() {
- return new MIExecInterrupt();
- }
-
- public MIExecNext createMIExecNext() {
- return new MIExecNext();
- }
-
- public MIExecNextInstruction createMIExecNextInstruction() {
- return new MIExecNextInstruction();
- }
-
- public MIExecReturn createMIExecReturn() {
- return new MIExecReturn();
- }
-
- public MIExecRun createMIExecRun(String[] args) {
- return new MIExecRun(args);
- }
-
- public MIExecStep createMIExecStep() {
- return new MIExecStep();
- }
-
- public MIExecStepInstruction createMIExecStepInstruction() {
- return new MIExecStepInstruction();
- }
-
- public MIExecUntil createMIExecUntil(String location) {
- return new MIExecUntil(location);
- }
-
- public MIJump createMIJump(String location) {
- return new MIJump(location);
- }
-
- public MIFileExecFile createMIFileExecFile(String file) {
- return new MIFileExecFile(file);
- }
-
- public MIFileSymbolFile createMIFileSymbolFile(String file) {
- return new MIFileSymbolFile(file);
- }
-
- public MIGDBExit createMIGDBExit() {
- return new MIGDBExit();
- }
-
- public MIGDBSet createMIGDBSet(String[] params) {
- return new MIGDBSet(params);
- }
-
- public MIGDBSetAutoSolib createMIGDBSetAutoSolib(boolean set) {
- return new MIGDBSetAutoSolib(set);
- }
-
- public MIGDBSetSolibSearchPath createMIGDBSetSolibSearchPath(String[] params) {
- return new MIGDBSetSolibSearchPath(params);
- }
-
- public MIGDBShow createMIGDBShow(String[] params) {
- return new MIGDBShow(params);
- }
-
- public MIGDBShowExitCode createMIGDBShowExitCode() {
- return new MIGDBShowExitCode();
- }
-
- public MIGDBShowDirectories createMIGDBShowDirectories() {
- return new MIGDBShowDirectories();
- }
-
- public MIGDBShowSolibSearchPath createMIGDBShowSolibSearchPath() {
- return new MIGDBShowSolibSearchPath();
- }
-
- public MIStackInfoDepth createMIStackInfoDepth() {
- return new MIStackInfoDepth();
- }
-
- public MIStackInfoDepth createMIStackInfoDepth(int depth) {
- return new MIStackInfoDepth(depth);
- }
-
- public MIStackListArguments createMIStackListArguments(boolean showValue) {
- return new MIStackListArguments(showValue);
- }
-
- public MIStackListArguments createMIStackListArguments(boolean showValue, int lowFrame, int highFrame) {
- return new MIStackListArguments(showValue, lowFrame, highFrame);
- }
-
- public MIStackListFrames createMIStackListFrames() {
- return new MIStackListFrames();
- }
-
- public MIStackListFrames createMIStackListFrames(int lowFrame, int highFrame) {
- return new MIStackListFrames(lowFrame, highFrame);
- }
-
- public MIStackListLocals createMIStackListLocals(boolean showValues) {
- return new MIStackListLocals(showValues);
- }
-
- public MIStackSelectFrame createMIStackSelectFrame(int frameNum) {
- return new MIStackSelectFrame(frameNum);
- }
-
- public MITargetAttach createMITargetAttach(int pid) {
- return new MITargetAttach(pid);
- }
-
- public MITargetDetach createMITargetDetach() {
- return new MITargetDetach();
- }
-
- public MITargetSelect createMITargetSelect(String[] params) {
- return new MITargetSelect(params);
- }
-
- public MIThreadListIds createMIThreadListIds() {
- return new MIThreadListIds();
- }
-
- public MIInfoThreads createMIInfoThreads() {
- return new MIInfoThreads();
- }
-
- public MIThreadSelect createMIThreadSelect(int threadNum) {
- return new MIThreadSelect(threadNum);
- }
-
- public MIInfoSharedLibrary createMIInfoSharedLibrary() {
- return new MIInfoSharedLibrary();
- }
-
- public MISharedLibrary createMISharedLibrary() {
- return new MISharedLibrary();
- }
-
- public MISharedLibrary createMISharedLibrary(String name) {
- return new MISharedLibrary(name);
- }
-
- public MIWhatis createMIWhatis(String name) {
- return new MIWhatis(name);
- }
-
- public MIInfoSignals createMIInfoSignals() {
- return new MIInfoSignals();
- }
-
- public MIInfoSignals createMIInfoSignals(String name) {
- return new MIInfoSignals(name);
- }
-
- public MIHandle createMIHandle(String arg) {
- return new MIHandle(arg);
- }
-
- public MISignal createMISignal(String arg) {
- return new MISignal(arg);
- }
-
- public MIPType createMIPType(String name) {
- return new MIPType(name);
- }
-
- public MIVarCreate createMIVarCreate(String expression) {
- return new MIVarCreate(expression);
- }
-
- public MIVarCreate createMIVarCreate(String name, String frameAddr, String expression) {
- return new MIVarCreate(name, frameAddr, expression);
- }
-
- public MIVarDelete createMIVarDelete(String name) {
- return new MIVarDelete(name);
- }
-
- public MIVarSetFormat createMIVarSetFormat(String name, int format) {
- return new MIVarSetFormat(name, format);
- }
-
- public MIVarShowFormat createMIVarShowFormat(String name) {
- return new MIVarShowFormat(name);
- }
-
- public MIVarInfoNumChildren createMIVarInfoNumChildren(String name) {
- return new MIVarInfoNumChildren(name);
- }
-
- public MIVarListChildren createMIVarListChildren(String name) {
- return new MIVarListChildren(name);
- }
-
- public MIVarInfoType createMIVarInfoType(String name) {
- return new MIVarInfoType(name);
- }
-
- public MIVarInfoExpression createMIVarInfoExpression(String name) {
- return new MIVarInfoExpression(name);
- }
-
- public MIVarShowAttributes createMIVarShowAttributes(String name) {
- return new MIVarShowAttributes(name);
- }
-
- public MIVarEvaluateExpression createMIVarEvaluateExpression(String name) {
- return new MIVarEvaluateExpression(name);
- }
-
- public MIVarAssign createMIVarAssign(String name, String expr) {
- return new MIVarAssign(name, expr);
- }
-
- public MIVarUpdate createMIVarUpdate() {
- return new MIVarUpdate();
- }
-
- public MIVarUpdate createMIVarUpdate(String name) {
- return new MIVarUpdate(name);
- }
-
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/CygwinCommandFactory.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/CygwinCommandFactory.java
deleted file mode 100644
index 2ca72c38e47..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/CygwinCommandFactory.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- *(c) Copyright Rational Software Corporation, 2002
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- * Cygwin Command Factory overrides the regular Command Factory to allow for
- * commands to take into account the cygwin environment.
- */
-public class CygwinCommandFactory extends CommandFactory {
-
- public MIEnvironmentDirectory createMIEnvironmentDirectory(String[] pathdirs) {
- return new CygwinMIEnvironmentDirectory(pathdirs);
- }
-
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/CygwinMIEnvironmentDirectory.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/CygwinMIEnvironmentDirectory.java
deleted file mode 100644
index 3265bee8822..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/CygwinMIEnvironmentDirectory.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- *(c) Copyright Rational Software Corporation, 2002
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import java.io.ByteArrayOutputStream;
-
-import org.eclipse.cdt.core.CommandLauncher;
-import org.eclipse.core.runtime.Path;
-
-/**
- * Cygwin implementation of the MIEnvironmentDirectory command. In the cygwin
- * environment, the paths are DOS paths and need to be converted to cygwin
- * style paths before passing them to gdb.
- */
-public class CygwinMIEnvironmentDirectory extends MIEnvironmentDirectory {
-
- CygwinMIEnvironmentDirectory(String[] paths) {
- super(paths);
-
- String[] newpaths = new String[paths.length];
- for (int i = 0; i < paths.length; i++) {
- // Use the cygpath utility to convert the path
- CommandLauncher launcher = new CommandLauncher();
- ByteArrayOutputStream output = new ByteArrayOutputStream();
-
- launcher.execute(
- new Path("cygpath"),
- new String[] { "-u", paths[i] },
- new String[0],
- new Path("."));
- if (launcher.waitAndRead(output, output) != CommandLauncher.OK)
- newpaths[i] = paths[i];
- else
- newpaths[i] = output.toString().trim();
- }
-
- setParameters(newpaths);
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakAfter.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakAfter.java
deleted file mode 100644
index ec13e9e38c9..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakAfter.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-
-
-/**
- *
- * -break-after NUMBER COUNT
- * The breakpoint number NUMBER is not in effect until it has been hit
- * COUNT times.
- *
- * Result:
- * ^done
- *
- */
-public class MIBreakAfter extends MICommand
-{
- public MIBreakAfter(int brknum, int count) {
- super("-break-after",new String[]{Integer.toString(brknum),
- Integer.toString(count)});;
-
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakCondition.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakCondition.java
deleted file mode 100644
index 924bee8ddff..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakCondition.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- *
- * -break-condition NUMBER EXPR
- *
- * Breakpoint NUMBER will stop the program only if the condition in
- * EXPR is true. The condition becomes part of the `-break-list' output
- * Result:
- * ^done
- */
-public class MIBreakCondition extends MICommand
-{
- public MIBreakCondition (int brknum, String expr) {
- super("-break-condition", new String[]{Integer.toString(brknum), expr});
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakDelete.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakDelete.java
deleted file mode 100644
index eb238efe31d..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakDelete.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- * -break-delete ( BREAKPOINT )+
- *
- * Delete the breakpoint(s) whose number(s) are specified in the
- * argument list. This is obviously reflected in the breakpoint list.
- *
- * Result:
- * ^done
- *
- */
-public class MIBreakDelete extends MICommand
-{
- public MIBreakDelete (int[] array) {
- super("-break-delete");
- if (array != null && array.length > 0) {
- String[] brkids = new String[array.length];
- for (int i = 0; i < array.length; i++) {
- brkids[i] = Integer.toString(array[i]);
- }
- setParameters(brkids);
- }
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakDisable.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakDisable.java
deleted file mode 100644
index 736602c4a9f..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakDisable.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- * -break-disable ( BREAKPOINT )+
- *
- * Disable the named BREAKPOINT(s). The field `enabled' in the break
- * list is now set to `n' for the named BREAKPOINT(s).
- *
- * Result:
- * ^done
- */
-public class MIBreakDisable extends MICommand
-{
- public MIBreakDisable (int[] array) {
- super("-break-disable");
- if (array != null && array.length > 0) {
- String[] brkids = new String[array.length];
- for (int i = 0; i < array.length; i++) {
- brkids[i] = Integer.toString(array[i]);
- }
- setParameters(brkids);
- }
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakEnable.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakEnable.java
deleted file mode 100644
index 46e4e3a4509..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakEnable.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- * -break-enable ( BREAKPOINT )+
- *
- * Enable (previously disabled) BREAKPOINT(s).
- *
- * Result:
- * ^done
- */
-public class MIBreakEnable extends MICommand
-{
- public MIBreakEnable (int[] array) {
- super("-break-enable");
- if (array != null && array.length > 0) {
- String[] brkids = new String[array.length];
- for (int i = 0; i < array.length; i++) {
- brkids[i] = Integer.toString(array[i]);
- }
- setParameters(brkids);
- }
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakInsert.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakInsert.java
deleted file mode 100644
index 29fb3560664..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakInsert.java
+++ /dev/null
@@ -1,121 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIBreakInsertInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-
-/**
- *
- * -break-insert [ -t ] [ -h ] [ -r ]
- * [ -c CONDITION ] [ -i IGNORE-COUNT ]
- * [ -p THREAD ] [ LINE | ADDR ]
- *
- * If specified, LINE, can be one of:
- *
- * * function
- *
- * * filename:linenum
- *
- * * filename:function
- *
- * * *address
- *
- * The possible optional parameters of this command are:
- *
- * `-t'
- * Insert a tempoary breakpoint.
- *
- * `-h'
- * Insert a hardware breakpoint.
- *
- * `-c CONDITION'
- * Make the breakpoint conditional on CONDITION.
- *
- * `-i IGNORE-COUNT'
- * Initialize the IGNORE-COUNT.
- *
- * `-r'
- *
- * Insert a regular breakpoint in all the functions whose names match
- * the given regular expression. Other flags are not applicable to
- * regular expresson.
- *
- * The result is in the form:
- *
- * ^done,bkptno="NUMBER",func="FUNCNAME",
- * file="FILENAME",line="LINENO"
- *
- */
-public class MIBreakInsert extends MICommand
-{
- public MIBreakInsert(String func) {
- this(false, false, null, 0, func);
- }
-
- public MIBreakInsert(boolean isTemporary, boolean isHardware,
- String condition, int ignoreCount, String line) {
- super("-break-insert");
-
- int i = 0;
- if (isTemporary || isHardware) {
- i++;
- }
- if (condition != null && condition.length() > 0) {
- i += 2;
- }
- if (ignoreCount > 0) {
- i += 2;
- }
-
- String[] opts = new String[i];
-
- i = 0;
- if (isTemporary) {
- opts[i] = "-t";
- i++;
- } else if (isHardware) {
- opts[i] = "-h";
- i++;
- }
- if (condition != null && condition.length() > 0) {
- opts[i] = "-c";
- i++;
- opts[i] = condition;
- i++;
- }
- if (ignoreCount > 0) {
- opts[i] = "-i";
- i++;
- opts[i] = Integer.toString(ignoreCount);
- i++;
- }
-
- if (opts.length > 0) {
- setOptions(opts);
- }
- setParameters(new String[]{line});
- }
-
- public MIBreakInsertInfo getMIBreakInsertInfo() throws MIException {
- return (MIBreakInsertInfo)getMIInfo();
- }
-
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIBreakInsertInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakList.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakList.java
deleted file mode 100644
index 76e1d1049e5..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakList.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIBreakListInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-
-/**
- *
- * -break-list
- *
- * Displays the list of inserted breakpoints, showing the following
- * fields:
- *
- * `Number'
- * number of the breakpoint
- *
- * `Type'
- * type of the breakpoint: `breakpoint' or `watchpoint'
- *
- * `Disposition'
- * should the breakpoint be deleted or disabled when it is hit: `keep'
- * or `nokeep'
- *
- * `Enabled'
- * is the breakpoint enabled or no: `y' or `n'
- *
- * `Address'
- * memory location at which the breakpoint is set
- *
- * `What'
- * logical location of the breakpoint, expressed by function name,
- *
- * `Times'
- * number of times the breakpoint has been hit
- *
- * If there are no breakpoints or watchpoints, the `BreakpointTable'
- * `body' field is an empty list.
- *
- */
-public class MIBreakList extends MICommand
-{
- public MIBreakList () {
- super("-break-list");
- }
-
- public MIBreakListInfo getMIBreakListInfo() throws MIException {
- return (MIBreakListInfo)getMIInfo();
- }
-
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIBreakListInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakWatch.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakWatch.java
deleted file mode 100644
index 6e396646c24..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIBreakWatch.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIBreakWatchInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-
-/**
- *
- * -break-watch [ -a | -r ]
- *
- * Create a watchpoint. With the `-a' option it will create an
- * "access" watchpoint, i.e. a watchpoint that triggers either on a read
- * from or on a write to the memory location. With the `-r' option, the
- * watchpoint created is a "read" watchpoint, i.e. it will trigger only
- * when the memory location is accessed for reading. Without either of
- * the options, the watchpoint created is a regular watchpoint, i.e. it
- * will trigger when the memory location is accessed for writing.
- *
- */
-public class MIBreakWatch extends MICommand
-{
- public MIBreakWatch (boolean access, boolean read, String expr) {
- super("-break-watch");
- String[] opts = null;
- if (access) {
- opts = new String[] {"-a"};
- } else if (read) {
- opts = new String[] {"-r"};
- }
- if (opts != null) {
- setOptions(opts);
- }
- setParameters(new String[]{expr});
- }
-
- public MIBreakWatchInfo getMIBreakWatchInfo() throws MIException {
- return (MIBreakWatchInfo)getMIInfo();
- }
-
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIBreakWatchInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MICommand.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MICommand.java
deleted file mode 100644
index edc386c2fa3..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MICommand.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-
-
-/**
- *
- * Represents a MI command.
- */
-public class MICommand extends Command
-{
- final String[] empty = new String[0];
- String[] options = empty;
- String[] parameters = empty;
- String operation = "";
-
- public MICommand(String oper) {
- this.operation = oper;
- }
-
- public MICommand(String oper, String[] param) {
- this.operation = oper;
- this.parameters = param;
- }
-
- public MICommand(String oper, String[] opt, String[] param) {
- this.operation = oper;
- this.options = opt;
- this.parameters = param;
- }
-
- /**
- * Returns the operation of this command.
- *
- * @return the operation of this command
- */
- public String getOperation() {
- return operation;
- }
-
- /**
- * Returns an array of command's options. An empty collection is
- * returned if there are no options.
- *
- * @return an array of command's options
- */
- public String[] getOptions() {
- return options;
- }
-
- public void setOptions(String[] opt) {
- options = opt;
- }
-
- /**
- * Returns an array of command's parameters. An empty collection is
- * returned if there are no parameters.
- *
- * @return an array of command's parameters
- */
- public String[] getParameters() {
- return parameters;
- }
-
- public void setParameters(String[] p) {
- parameters = p;
- }
-
- public String toString() {
- String command = getToken() + getOperation();
- if (options != null && options.length > 0) {
- for (int i = 0; i < options.length; i++) {
- if (options[i].indexOf('\t') != -1 ||
- options[i].indexOf(' ') != -1) {
- command += " \"" + options[i] + "\"";
- } else {
- command += " " + options[i];
- }
- }
- }
- if (parameters != null && parameters.length > 0) {
- // Add a "--" separator if a parameter starts with "-"
- if (options != null && options.length > 0) {
- for (int i = 0; i < parameters.length; i++) {
- if (parameters[i].startsWith("-")) {
- command += " --";
- break;
- }
- }
- }
-
- StringBuffer sb = new StringBuffer();
- for (int i = 0; i < parameters.length; i++) {
- // We need to escape the double quotes and the backslash.
- sb.setLength(0);
- String param = parameters[i];
- for (int j = 0; j < param.length(); j++) {
- char c = param.charAt(j);
- if (c == '"' || c == '\\') {
- sb.append('\\');
- }
- sb.append(c);
- }
-
- // If the string contains spaces instead of escaping
- // surround the parameter with double quotes.
- if (containsWhitespace(param)) {
- sb.insert(0, '"');
- sb.append('"');
- }
- command += " " + sb.toString();
- }
- }
- return command + "\n";
- }
-
- boolean containsWhitespace(String s) {
- for (int i = 0; i < s.length(); i++) {
- if (Character.isWhitespace(s.charAt(i))) {
- return true;
- }
- }
- return false;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataDisassemble.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataDisassemble.java
deleted file mode 100644
index c0ceecbbb52..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataDisassemble.java
+++ /dev/null
@@ -1,105 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIDataDisassembleInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-
-/**
- *
- * -data-disassemble
- * [ -s START-ADDR -e END-ADDR ]
- * | [ -f FILENAME -l LINENUM [ -n LINES ] ]
- * -- MODE
- *
- *Where:
- *
- *`START-ADDR'
- * is the beginning address (or `$pc')
- *
- *`END-ADDR'
- * is the end address
- *
- *`FILENAME'
- * is the name of the file to disassemble
- *
- *`LINENUM'
- * is the line number to disassemble around
- *
- *`LINES'
- * is the the number of disassembly lines to be produced. If it is
- * -1, the whole function will be disassembled, in case no END-ADDR is
- * specified. If END-ADDR is specified as a non-zero value, and
- * LINES is lower than the number of disassembly lines between
- * START-ADDR and END-ADDR, only LINES lines are displayed; if LINES
- * is higher than the number of lines between START-ADDR and
- * END-ADDR, only the lines up to END-ADDR are displayed.
- *
- *`MODE'
- * is either 0 (meaning only disassembly) or 1 (meaning mixed source
- * and disassembly).
- *
- *Result
- *......
- *
- * The output for each instruction is composed of four fields:
- *
- * * Address
- *
- * * Func-name
- *
- * * Offset
- *
- * * Instruction
- *
- * Note that whatever included in the instruction field, is not
- *manipulated directely by GDB/MI, i.e. it is not possible to adjust its
- *format.
- *
- *
- */
-public class MIDataDisassemble extends MICommand
-{
- public MIDataDisassemble(String start, String end, boolean mode) {
- super("-data-disassemble");
- setOptions(new String[]{"-s", start, "-e", end});
- String mixed = "0";
- if (mode) {
- mixed = "1";
- }
- setParameters(new String[]{mixed});
- }
-
- public MIDataDisassemble(String file, int linenum, int lines, boolean mode) {
- super("-data-disassemble");
- setOptions(new String[]{"-f", file, "-l",
- Integer.toString(linenum), "-n", Integer.toString(lines)});
- String mixed = "0";
- if (mode) {
- mixed = "1";
- }
- setParameters(new String[]{mixed});
- }
-
- public MIDataDisassembleInfo getMIDataDisassembleInfo() throws MIException {
- return (MIDataDisassembleInfo)getMIInfo();
- }
-
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIDataDisassembleInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataEvaluateExpression.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataEvaluateExpression.java
deleted file mode 100644
index ef622092ef5..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataEvaluateExpression.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIDataEvaluateExpressionInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-
-/**
- *
- * -data-evaluate-expression EXPR
- *
- * Evaluate EXPR as an expression. The expression could contain an
- *inferior function call. The function call will execute synchronously.
- *If the expression contains spaces, it must be enclosed in double quotes.
- *
- */
-public class MIDataEvaluateExpression extends MICommand
-{
- public MIDataEvaluateExpression(String expr) {
- super("-data-evaluate-expression", new String[]{expr});
- }
-
- public MIDataEvaluateExpressionInfo getMIDataEvaluateExpressionInfo() throws MIException {
- return (MIDataEvaluateExpressionInfo)getMIInfo();
- }
-
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIDataEvaluateExpressionInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataListChangedRegisters.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataListChangedRegisters.java
deleted file mode 100644
index 945aa4e3b49..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataListChangedRegisters.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIDataListChangedRegistersInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-
-/**
- *
- * -data-list-changed-registers
- *
- * Display a list of the registers that have changed.
- *
- */
-public class MIDataListChangedRegisters extends MICommand
-{
- public MIDataListChangedRegisters() {
- super("-data-list-changed-registers" );
- }
-
- public MIDataListChangedRegistersInfo getMIDataListChangedRegistersInfo() throws MIException {
- return (MIDataListChangedRegistersInfo)getMIInfo();
- }
-
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIDataListChangedRegistersInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataListRegisterNames.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataListRegisterNames.java
deleted file mode 100644
index 2ea69d1815b..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataListRegisterNames.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIDataListRegisterNamesInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-
-/**
- *
- * -data-list-register-names [ ( REGNO )+ ]
- *
- * Show a list of register names for the current target. If no
- * arguments are given, it shows a list of the names of all the registers.
- * If integer numbers are given as arguments, it will print a list of the
- * names of the registers corresponding to the arguments. To ensure
- * consistency between a register name and its number, the output list may
- * include empty register names.
- *
- */
-public class MIDataListRegisterNames extends MICommand
-{
- public MIDataListRegisterNames() {
- super("-data-list-register-names");
- }
-
- public MIDataListRegisterNames(int [] regnos) {
- this();
- if (regnos != null && regnos.length > 0) {
- String[] array = new String[regnos.length];
- for (int i = 0; i < regnos.length; i++) {
- array[i] = Integer.toString(regnos[i]);
- }
- setParameters(array);
- }
- }
-
- public MIDataListRegisterNamesInfo getMIDataListRegisterNamesInfo() throws MIException {
- return (MIDataListRegisterNamesInfo)getMIInfo();
- }
-
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIDataListRegisterNamesInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataListRegisterValues.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataListRegisterValues.java
deleted file mode 100644
index 00208281a64..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataListRegisterValues.java
+++ /dev/null
@@ -1,89 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.MIFormat;
-import org.eclipse.cdt.debug.mi.core.output.MIDataListRegisterValuesInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-
-/**
- *
- * -data-list-register-values FMT [ ( REGNO )*]
- *
- * Display the registers' contents. FMT is the format according to
- * which the registers' contents are to be returned, followed by an
- * optional list of numbers specifying the registers to display. A
- * missing list of numbers indicates that the contents of all the
- * registers must be returned.
- *
- */
-public class MIDataListRegisterValues extends MICommand
-{
- public MIDataListRegisterValues(int fmt) {
- this(fmt, null);
- }
-
- public MIDataListRegisterValues(int fmt, int [] regnos) {
- super("-data-list-register-values");
-
- String format = "x";
- switch (fmt) {
- case MIFormat.NATURAL:
- format = "N";
- break;
-
- case MIFormat.RAW:
- format = "r";
- break;
-
- case MIFormat.DECIMAL:
- format = "d";
- break;
-
- case MIFormat.BINARY:
- format = "t";
- break;
-
- case MIFormat.OCTAL:
- format = "o";
- break;
-
- case MIFormat.HEXADECIMAL:
- default:
- format = "x";
- break;
- }
-
- setOptions(new String[]{format});
-
- if (regnos != null && regnos.length > 0) {
- String[] array = new String[regnos.length];
- for (int i = 0; i < regnos.length; i++) {
- array[i] = Integer.toString(regnos[i]);
- }
- setParameters(array);
- }
- }
-
- public MIDataListRegisterValuesInfo getMIDataListRegisterValuesInfo() throws MIException {
- return (MIDataListRegisterValuesInfo)getMIInfo();
- }
-
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIDataListRegisterValuesInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataReadMemory.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataReadMemory.java
deleted file mode 100644
index 6ef42f797f6..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataReadMemory.java
+++ /dev/null
@@ -1,147 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.MIFormat;
-import org.eclipse.cdt.debug.mi.core.output.MIDataReadMemoryInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-
-/**
- *
- * -data-read-memory [ -o BYTE-OFFSET ]
- * ADDRESS WORD-FORMAT WORD-SIZE
- * NR-ROWS NR-COLS [ ASCHAR ]
- *
- * where:
- *
- * `ADDRESS'
- * An expression specifying the address of the first memory word to be
- * read. Complex expressions containing embedded white space should
- * be quoted using the C convention.
- *
- * `WORD-FORMAT'
- * The format to be used to print the memory words. The notation is
- * the same as for GDB's `print' command (*note Output formats:
- * Output Formats.).
- *
- * `WORD-SIZE'
- * The size of each memory word in bytes.
- *
- * `NR-ROWS'
- * The number of rows in the output table.
- *
- * `NR-COLS'
- * The number of columns in the output table.
- *
- * `ASCHAR'
- * If present, indicates that each row should include an ASCII dump.
- * The value of ASCHAR is used as a padding character when a byte is
- * not a member of the printable ASCII character set (printable ASCII
- * characters are those whose code is between 32 and 126,
- * inclusively).
- *
- * `BYTE-OFFSET'
- *
- *
- */
-public class MIDataReadMemory extends MICommand {
-
- public MIDataReadMemory(
- long offset,
- String address,
- int wordFormat,
- int wordSize,
- int rows,
- int cols,
- Character asChar) {
- super("-data-read-memory");
- if (offset != 0) {
- setOptions(new String[] { "-o", Long.toString(offset)});
- }
-
- String format = "x";
- switch (wordFormat) {
- case MIFormat.UNSIGNED :
- format = "u";
- break;
-
- case MIFormat.FLOAT :
- format = "f";
- break;
-
- case MIFormat.ADDRESS :
- format = "a";
- break;
-
- case MIFormat.INSTRUCTION :
- format = "i";
- break;
-
- case MIFormat.CHAR :
- format = "c";
- break;
-
- case MIFormat.STRING :
- format = "s";
- break;
-
- case MIFormat.DECIMAL :
- format = "d";
- break;
-
- case MIFormat.BINARY :
- format = "t";
- break;
-
- case MIFormat.OCTAL :
- format = "o";
- break;
-
- case MIFormat.HEXADECIMAL :
- default :
- format = "x";
- break;
- }
-
- if (asChar == null) {
- setParameters(
- new String[] {
- address,
- format,
- Integer.toString(wordSize),
- Integer.toString(rows),
- Integer.toString(cols)});
- } else {
- setParameters(
- new String[] {
- address,
- format,
- Integer.toString(wordSize),
- Integer.toString(rows),
- Integer.toString(cols),
- asChar.toString()});
- }
- }
-
- public MIDataReadMemoryInfo getMIDataReadMemoryInfo() throws MIException {
- return (MIDataReadMemoryInfo)getMIInfo();
- }
-
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIDataReadMemoryInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataWriteMemory.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataWriteMemory.java
deleted file mode 100644
index 316af46e1b8..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataWriteMemory.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIFormat;
-
-/**
- *
- * -data-write-memory [-o COLUMN_OFFSET] ADDR FORMAT WORD-SIZE VALUE.");
- *
- * where:
- *
- * DATA-MEMORY-WRITE:
- *
- * COLUMN_OFFSET: optional argument. Must be preceeded by '-o'. The
- * offset from the beginning of the memory grid row where the cell to
- * be written is.
- * ADDR: start address of the row in the memory grid where the memory
- * cell is, if OFFSET_COLUMN is specified. Otherwise, the address of
- * the location to write to.
- * FORMAT: a char indicating format for the ``word''. See
- * the ``x'' command.
- * WORD_SIZE: size of each ``word''; 1,2,4, or 8 bytes
- * VALUE: value to be written into the memory address.
- *
- * Writes VALUE into ADDR + (COLUMN_OFFSET * WORD_SIZE).
- *
- * Prints nothing.
- *
- */
-public class MIDataWriteMemory extends MICommand {
-
- public MIDataWriteMemory(long offset, String address, int wordFormat, int wordSize,
- String value) {
-
- super ("-data-write-memory");
-
- if (offset != 0) {
- setOptions(new String[] { "-o", Long.toString(offset)});
- }
-
- String format = "x";
- switch (wordFormat) {
- case MIFormat.UNSIGNED :
- format = "u";
- break;
-
- case MIFormat.FLOAT :
- format = "f";
- break;
-
- case MIFormat.ADDRESS :
- format = "a";
- break;
-
- case MIFormat.INSTRUCTION :
- format = "i";
- break;
-
- case MIFormat.CHAR :
- format = "c";
- break;
-
- case MIFormat.STRING :
- format = "s";
- break;
-
- case MIFormat.DECIMAL :
- format = "d";
- break;
-
- case MIFormat.BINARY :
- format = "t";
- break;
-
- case MIFormat.OCTAL :
- format = "o";
- break;
-
- case MIFormat.HEXADECIMAL :
- default :
- format = "x";
- break;
- }
-
- setParameters(new String[] {address, format, Integer.toString(wordSize), value});
- }
-
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataWriteRegisterValues.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataWriteRegisterValues.java
deleted file mode 100644
index 9d6992b81be..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIDataWriteRegisterValues.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.cdt.debug.mi.core.MIFormat;
-
-/**
- *
- * Write given values into registers. The registers and values are
- * given as pairs. The corresponding MI command is
- * -data-write-register-values <format> [<regnum1> <value1>...<regnumN> <valueN>]
- *
- */
-public class MIDataWriteRegisterValues extends MICommand {
-
- public MIDataWriteRegisterValues(int fmt, int[] regnos, String[] values) {
- super("-data-write-register-values");
-
- String format = "x";
- switch (fmt) {
- case MIFormat.NATURAL:
- format = "N";
- break;
-
- case MIFormat.RAW:
- format = "r";
- break;
-
- case MIFormat.DECIMAL:
- format = "d";
- break;
-
- case MIFormat.BINARY:
- format = "t";
- break;
-
- case MIFormat.OCTAL:
- format = "o";
- break;
-
- case MIFormat.HEXADECIMAL:
- default:
- format = "x";
- break;
- }
-
- setOptions(new String[]{format});
-
- if (regnos != null && values != null) {
- List aList = new ArrayList(regnos.length);
- for (int i = 0; i < regnos.length && i < values.length; i++) {
- aList.add(Integer.toString(regnos[i]));
- aList.add(values[i]);
- }
- String[] array = (String[])aList.toArray(new String[0]);
- setParameters(array);
- }
- }
-
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentCD.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentCD.java
deleted file mode 100644
index 251f47f25a9..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentCD.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- *
- * -environment-cd PATHDIR
- *
- * Set GDB's working directory.
- *
- *
- */
-public class MIEnvironmentCD extends MICommand
-{
- public MIEnvironmentCD(String path) {
- super("-environment-cd", new String[]{path});
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentDirectory.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentDirectory.java
deleted file mode 100644
index 6dd7168a6b4..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentDirectory.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- * -environment-directory PATHDIR
- *
- * Add directory PATHDIR to beginning of search path for source files.
- *
- */
-public class MIEnvironmentDirectory extends MICommand
-{
- public MIEnvironmentDirectory(String[] paths) {
- super("-environment-directory", paths);
- }
-
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentPWD.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentPWD.java
deleted file mode 100644
index bc586ca3328..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentPWD.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIEnvironmentPWDInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-
-/**
- *
- * -environment-pwd
- *
- * Show the current working directory.
- *
- */
-public class MIEnvironmentPWD extends MICommand
-{
- public MIEnvironmentPWD() {
- super("-environment-pwd");
- }
-
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIEnvironmentPWDInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentPath.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentPath.java
deleted file mode 100644
index 7f4dd1f4fac..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIEnvironmentPath.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- * -environment-path ( PATHDIR )+
- *
- * Add directories PATHDIR to beginning of search path for object files.
- *
- */
-public class MIEnvironmentPath extends MICommand
-{
- public MIEnvironmentPath(String[] paths) {
- super("-environment-path", paths);
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecAbort.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecAbort.java
deleted file mode 100644
index 58a24d28075..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecAbort.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- * -exec-finish
- *
- * Asynchronous command. Resumes the execution of the inferior program
- * until the current function is exited. Displays the results returned by
- * the function.
- *
- */
-public class MIExecAbort extends CLICommand
-{
- public MIExecAbort() {
- super("kill");
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecArguments.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecArguments.java
deleted file mode 100644
index 17cf2c15926..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecArguments.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- * -exec-arguments ARGS
- *
- * Set the inferior program arguments, to be used in the next
- * `-exec-run'.
- *
- */
-public class MIExecArguments extends MICommand
-{
- public MIExecArguments(String[] args) {
- super("-exec-arguments", args);
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecContinue.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecContinue.java
deleted file mode 100644
index a9a9b5a7325..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecContinue.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- * -exec-continue
- *
- * Asynchronous command. Resumes the execution of the inferior program
- * until a breakpoint is encountered, or until the inferior exits.
- *
- */
-public class MIExecContinue extends MICommand
-{
- public MIExecContinue() {
- super("-exec-continue");
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecFinish.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecFinish.java
deleted file mode 100644
index 9d71a839ced..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecFinish.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- * -exec-finish
- *
- * Asynchronous command. Resumes the execution of the inferior program
- * until the current function is exited. Displays the results returned by
- * the function.
- *
- */
-public class MIExecFinish extends MICommand
-{
- public MIExecFinish() {
- super("-exec-finish");
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecInterrupt.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecInterrupt.java
deleted file mode 100644
index 11ad0144408..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecInterrupt.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- * -exec-interrupt
- *
- * Asynchronous command. Interrupts the background execution of the
- * target. Note how the token associated with the stop message is the one
- * for the execution command that has been interrupted. The token for the
- * interrupt itself only appears in the `^done' output. If the user is
- * trying to interrupt a non-running program, an error message will be
- * printed.
- *
- */
-public class MIExecInterrupt extends MICommand
-{
- public MIExecInterrupt() {
- super("-exec-interrupt");
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecNext.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecNext.java
deleted file mode 100644
index ec8c4878298..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecNext.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- * -exec-next
- *
- * Asynchronous command. Resumes execution of the inferior program,
- * stopping when the beginning of the next source line is reached.
- *
- */
-public class MIExecNext extends MICommand
-{
- public MIExecNext() {
- super("-exec-next");
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecNextInstruction.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecNextInstruction.java
deleted file mode 100644
index a93d3e5edab..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecNextInstruction.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- * -exec-next-instruction
- *
- * Asynchronous command. Executes one machine instruction. If the
- * instruction is a function call continues until the function returns. If
- * the program stops at an instruction in the middle of a source line, the
- * address will be printed as well.
- *
- */
-public class MIExecNextInstruction extends MICommand
-{
- public MIExecNextInstruction() {
- super("-exec-next-instruction");
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecReturn.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecReturn.java
deleted file mode 100644
index 3c8a00eadcc..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecReturn.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-
-
-/**
- *
- * -exec-return
- *
- * Makes current function return immediately. Doesn't execute the
- * inferior. Displays the new current frame.
- *
- */
-public class MIExecReturn extends MICommand
-{
- public MIExecReturn() {
- super("-exec-return");
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecRun.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecRun.java
deleted file mode 100644
index f47d1b654c6..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecRun.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- * -exec-run
- *
- * Asynchronous command. Starts execution of the inferior from the
- * beginning. The inferior executes until either a breakpoint is
- * encountered or the program exits.
- *
- */
-public class MIExecRun extends MICommand
-{
- public MIExecRun() {
- super("-exec-run");
- }
-
- public MIExecRun(String[] args) {
- super("-exec-run", args);
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecStep.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecStep.java
deleted file mode 100644
index 4bf36936951..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecStep.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- * -exec-step
- *
- * Asynchronous command. Resumes execution of the inferior program,
- * stopping when the beginning of the next source line is reached, if the
- * next source line is not a function call. If it is, stop at the first
- * instruction of the called function.
- *
- */
-public class MIExecStep extends MICommand
-{
- public MIExecStep() {
- super("-exec-step");
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecStepInstruction.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecStepInstruction.java
deleted file mode 100644
index b784cb639a9..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecStepInstruction.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-
-
-/**
- *
- * -exec-step-instruction
-
- * Asynchronous command. Resumes the inferior which executes one
- * machine instruction. The output, once GDB has stopped, will vary
- * depending on whether we have stopped in the middle of a source line or
- * not. In the former case, the address at which the program stopped will
- * be printed as well.
- *
- */
-public class MIExecStepInstruction extends MICommand
-{
- public MIExecStepInstruction() {
- super("-exec-step-instruction");
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecUntil.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecUntil.java
deleted file mode 100644
index bdf98e68a1a..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIExecUntil.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- * -exec-until [ LOCATION ]
- *
- * Asynchronous command. Executes the inferior until the LOCATION
- * specified in the argument is reached. If there is no argument, the
- * inferior executes until a source line greater than the current one is
- * reached. The reason for stopping in this case will be
- * `location-reached'.
- *
- */
-public class MIExecUntil extends MICommand
-{
- public MIExecUntil() {
- super("-exec-until");
- }
-
- public MIExecUntil(String loc) {
- super("-exec-until", new String[]{loc});
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIFileExecFile.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIFileExecFile.java
deleted file mode 100644
index 1abda350dd9..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIFileExecFile.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- * -file-exec-file FILE
- *
- * Specify the executable file to be debugged. Unlike
- * `-file-exec-and-symbols', the symbol table is _not_ read from this
- * file. If used without argument, GDB clears the information about the
- * executable file. No output is produced, except a completion
- * notification.
- *
- */
-public class MIFileExecFile extends MICommand
-{
- public MIFileExecFile(String file) {
- super("-file-exec-file", new String[]{file});
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIFileSymbolFile.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIFileSymbolFile.java
deleted file mode 100644
index 284b37f90d3..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIFileSymbolFile.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- * -file-symbol-file FILE
- *
- * Read symbol table info from the specified FILE argument. When used
- * without arguments, clears GDB's symbol table info. No output is
- * produced, except for a completion notification.
- *
- */
-public class MIFileSymbolFile extends MICommand
-{
- public MIFileSymbolFile(String file) {
- super("-file-symbol-file", new String[]{file});
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBExit.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBExit.java
deleted file mode 100644
index 88cb763f86d..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBExit.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- * -gdb-exit
- *
- * Exit GDB immediately.
- *
- */
-public class MIGDBExit extends MICommand
-{
- public MIGDBExit() {
- super("-gdb-exit");
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBSet.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBSet.java
deleted file mode 100644
index 4ed52be2af2..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBSet.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- * -gdb-set
- *
- * Set an internal GDB variable.
- *
- */
-public class MIGDBSet extends MICommand
-{
- public MIGDBSet(String[] params) {
- super("-gdb-set", params);
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBSetAutoSolib.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBSetAutoSolib.java
deleted file mode 100644
index f91d3274bd8..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBSetAutoSolib.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- * -gdb-set
- *
- * Set an internal GDB variable.
- *
- */
-public class MIGDBSetAutoSolib extends MIGDBSet {
- public MIGDBSetAutoSolib(boolean isSet) {
- super(new String[] {"auto-solib-add", (isSet) ? "on" : "off"});
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBSetSolibSearchPath.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBSetSolibSearchPath.java
deleted file mode 100644
index 8a8625d8d76..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBSetSolibSearchPath.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- * -gdb-set
- *
- * Set an internal GDB variable.
- *
- */
-public class MIGDBSetSolibSearchPath extends MIGDBSet {
- public MIGDBSetSolibSearchPath(String[] paths) {
- super(paths);
- // Overload the parameter
- String sep = System.getProperty("path.separator", ":");
- StringBuffer buffer = new StringBuffer();
- for (int i = 0; i < paths.length; i++) {
- if (buffer.length() == 0) {
- buffer.append(paths[i]);
- } else {
- buffer.append(sep).append(paths[i]);
- }
- }
- String[] p = new String [] {"solib-search-path", buffer.toString()};
- setParameters(p);
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBShow.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBShow.java
deleted file mode 100644
index 0517fa46616..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBShow.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIGDBShowInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-
-/**
- *
- * -gdb-show
- *
- * Show the current value of a GDB variable.
- *
- */
-public class MIGDBShow extends MICommand {
- public MIGDBShow(String[] params) {
- super("-gdb-show", params);
- }
-
- public MIGDBShowInfo getMIGDBShowInfo() throws MIException {
- return (MIGDBShowInfo)getMIInfo();
- }
-
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIGDBShowInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBShowDirectories.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBShowDirectories.java
deleted file mode 100644
index 5a81d92db8f..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBShowDirectories.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIGDBShowDirectoriesInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-
-/**
- *
- * -gdb-show directories
- *
- * Show the current value of a GDB variable(directories).
- *
- */
-public class MIGDBShowDirectories extends MIGDBShow {
- public MIGDBShowDirectories() {
- super(new String[] { "directories" });
- }
-
- public MIGDBShowDirectoriesInfo getMIGDBShowDirectoriesInfo() throws MIException {
- return (MIGDBShowDirectoriesInfo)getMIInfo();
- }
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIGDBShowDirectoriesInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBShowExitCode.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBShowExitCode.java
deleted file mode 100644
index ac44ec82088..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBShowExitCode.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIGDBShowExitCodeInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-
-/**
- *
- *-data-evaluate-expression $_exitcode
- * ^done,value="10"
- *
- * Show the current value of a $_exitcode
- *
- */
-public class MIGDBShowExitCode extends MIDataEvaluateExpression {
-
- public MIGDBShowExitCode() {
- super("$_exitcode");
- }
-
- public MIGDBShowExitCodeInfo getMIGDBShowExitCodeInfo() throws MIException {
- return (MIGDBShowExitCodeInfo)getMIInfo();
- }
-
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIGDBShowExitCodeInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBShowSolibSearchPath.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBShowSolibSearchPath.java
deleted file mode 100644
index d966194ab3b..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIGDBShowSolibSearchPath.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIGDBShowSolibSearchPathInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-
-/**
- *
- * -gdb-show directories
- *
- * Show the current value of a GDB variable(directories).
- *
- */
-public class MIGDBShowSolibSearchPath extends MIGDBShow {
- public MIGDBShowSolibSearchPath() {
- super(new String[] { "solib-search-path" });
- }
-
- public MIGDBShowSolibSearchPathInfo getMIGDBShowSolibSearchPathInfo() throws MIException {
- return (MIGDBShowSolibSearchPathInfo)getMIInfo();
- }
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIGDBShowSolibSearchPathInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIHandle.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIHandle.java
deleted file mode 100644
index 5b7e1448845..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIHandle.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-
-
-/**
- *
- * handle SIGUSR1 nostop noignore
- *
- */
-public class MIHandle extends CLICommand {
-
- public MIHandle(String arg) {
- super("handle " + arg);
- }
-
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIInfoSharedLibrary.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIInfoSharedLibrary.java
deleted file mode 100644
index a8ecd873a58..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIInfoSharedLibrary.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIInfoSharedLibraryInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-
-/**
- *
- * info threads
- *
- */
-public class MIInfoSharedLibrary extends CLICommand
-{
- public MIInfoSharedLibrary() {
- super("info sharedlibrary");
- }
-
- public MIInfoSharedLibraryInfo getMIInfoSharedLibraryInfo() throws MIException {
- return (MIInfoSharedLibraryInfo)getMIInfo();
- }
-
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIInfoSharedLibraryInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIInfoSignals.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIInfoSignals.java
deleted file mode 100644
index c3617e11118..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIInfoSignals.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIInfoSignalsInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-
-/**
- *
- * info threads
- *
- */
-public class MIInfoSignals extends CLICommand
-{
- public MIInfoSignals() {
- super("info signals");
- }
-
- public MIInfoSignals(String name) {
- super("info signal " + name);
- }
-
- public MIInfoSignalsInfo getMIInfoSignalsInfo() throws MIException {
- return (MIInfoSignalsInfo)getMIInfo();
- }
-
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIInfoSignalsInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIInfoThreads.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIInfoThreads.java
deleted file mode 100644
index da01e836692..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIInfoThreads.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIInfoThreadsInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-
-/**
- *
- * info threads
- *
- */
-public class MIInfoThreads extends CLICommand
-{
- public MIInfoThreads() {
- super("info threads");
- }
-
- public MIInfoThreadsInfo getMIInfoThreadsInfo() throws MIException {
- return (MIInfoThreadsInfo)getMIInfo();
- }
-
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIInfoThreadsInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIJump.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIJump.java
deleted file mode 100644
index 941ddbcc29b..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIJump.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-import org.eclipse.cdt.debug.mi.core.output.MIResultRecord;
-
-
-/**
- *
- * jump LINESPEC
- *
- */
-public class MIJump extends CLICommand {
-
- MIOutput out;
-
- public MIJump(String loc) {
- super("jump " + loc);
- }
-
- /**
- * This is a CLI command contraly to
- * the -exec-continue or -exec-run
- * it does not return so we have to fake
- * a return value. We return "^running"
- */
- public MIOutput getMIOutput() {
- if (out == null) {
- out = new MIOutput();
- MIResultRecord rr = new MIResultRecord();
- rr.setToken(getToken());
- rr.setResultClass(MIResultRecord.RUNNING);
- out.setMIResultRecord(rr);
- }
- return out;
- }
-
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIPType.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIPType.java
deleted file mode 100644
index 1e73e0cf60d..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIPType.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-import org.eclipse.cdt.debug.mi.core.output.MIPTypeInfo;
-
-/**
- *
- * ptype type
- *
- */
-public class MIPType extends CLICommand
-{
- public MIPType(String var) {
- super("ptype " + var);
- }
-
- public MIPTypeInfo getMIPtypeInfo() throws MIException {
- return (MIPTypeInfo)getMIInfo();
- }
-
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIPTypeInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MISharedLibrary.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MISharedLibrary.java
deleted file mode 100644
index 7a89e1f6f78..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MISharedLibrary.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-
-
-/**
- *
- * sharedlibrary filename
- *
- */
-public class MISharedLibrary extends CLICommand {
-
- public MISharedLibrary() {
- super("sharedlibrary");
- }
-
- public MISharedLibrary(String name) {
- super("sharedlibrary " + name);
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MISignal.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MISignal.java
deleted file mode 100644
index 709910f09ce..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MISignal.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-import org.eclipse.cdt.debug.mi.core.output.MIResultRecord;
-
-
-
-/**
- *
- * signal SIGUSR1
- *
- */
-public class MISignal extends CLICommand {
-
- MIOutput out;
-
- public MISignal(String arg) {
- super("signal " + arg);
- }
-
- /**
- * This is a CLI command contraly to
- * the -exec-continue or -exec-run
- * it does not return so we have to fake
- * a return value. We return "^running"
- */
- public MIOutput getMIOutput() {
- if (out == null) {
- out = new MIOutput();
- MIResultRecord rr = new MIResultRecord();
- rr.setToken(getToken());
- rr.setResultClass(MIResultRecord.RUNNING);
- out.setMIResultRecord(rr);
- }
- return out;
- }
-
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIStackInfoDepth.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIStackInfoDepth.java
deleted file mode 100644
index 5ac985ed1ca..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIStackInfoDepth.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-import org.eclipse.cdt.debug.mi.core.output.MIStackInfoDepthInfo;
-
-/**
- *
- * -stack-info-depth [ MAX-DEPTH ]
- *
- * Return the depth of the stack. If the integer argument MAX-DEPTH is
- * specified, do not count beyond MAX-DEPTH frames.
- *
- */
-public class MIStackInfoDepth extends MICommand
-{
- public MIStackInfoDepth() {
- super("-stack-info-depth");
- }
-
- public MIStackInfoDepth(int maxDepth) {
- super("-stack-info-depth", new String[]{Integer.toString(maxDepth)});
- }
-
- public MIStackInfoDepthInfo getMIStackInfoDepthInfo() throws MIException {
- return (MIStackInfoDepthInfo)getMIInfo();
- }
-
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIStackInfoDepthInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIStackListArguments.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIStackListArguments.java
deleted file mode 100644
index 2eca901b8cd..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIStackListArguments.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-import org.eclipse.cdt.debug.mi.core.output.MIStackListArgumentsInfo;
-
-/**
- *
- * -stack-list-arguments SHOW-VALUES
- * [ LOW-FRAME HIGH-FRAME ]
- *
- * Display a list of the arguments for the frames between LOW-FRAME and
- * HIGH-FRAME (inclusive). If LOW-FRAME and HIGH-FRAME are not provided,
- * list the arguments for the whole call stack.
- *
- * The SHOW-VALUES argument must have a value of 0 or 1. A value of 0
- * means that only the names of the arguments are listed, a value of 1
- * means that both names and values of the arguments are printed.
- *
- */
-public class MIStackListArguments extends MICommand
-{
- public MIStackListArguments(boolean showValues) {
- super("-stack-list-arguments");
- if (showValues) {
- setParameters(new String[]{"1"});
- } else {
- setParameters(new String[]{"0"});
- }
- }
-
- public MIStackListArguments(boolean showValues, int low, int high) {
- super("-stack-list-arguments");
- String[] params = new String[3];
- if (showValues) {
- params[0] = "1";
- } else {
- params[0] = "0";
- }
- params[1] = Integer.toString(low);
- params[2] = Integer.toString(high);
- setParameters(params);
- }
-
- public MIStackListArgumentsInfo getMIStackListArgumentsInfo() throws MIException {
- return (MIStackListArgumentsInfo)getMIInfo();
- }
-
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIStackListArgumentsInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIStackListFrames.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIStackListFrames.java
deleted file mode 100644
index 86efe1b7ef6..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIStackListFrames.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-import org.eclipse.cdt.debug.mi.core.output.MIStackListFramesInfo;
-
-/**
- *
- * -stack-list-frames [ LOW-FRAME HIGH-FRAME ]
- *
- * List the frames currently on the stack. For each frame it displays
- * the following info:
- *
- * `LEVEL'
- * The frame number, 0 being the topmost frame, i.e. the innermost
- * function.
- *
- * `ADDR'
- * The `$pc' value for that frame.
- *
- * `FUNC'
- * Function name.
- *
- * `FILE'
- * File name of the source file where the function lives.
- *
- * `LINE'
- * Line number corresponding to the `$pc'.
- *
- * If invoked without arguments, this command prints a backtrace for the
- * whole stack. If given two integer arguments, it shows the frames whose
- * levels are between the two arguments (inclusive). If the two arguments
- * are equal, it shows the single frame at the corresponding level.
- *
- */
-public class MIStackListFrames extends MICommand
-{
- public MIStackListFrames() {
- super("-stack-list-frames");
- }
-
- public MIStackListFrames(int low, int high) {
- super("-stack-list-frames", new String[]{Integer.toString(low),
- Integer.toString(high)});
- }
-
- public MIStackListFramesInfo getMIStackListFramesInfo() throws MIException {
- return (MIStackListFramesInfo)getMIInfo();
- }
-
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIStackListFramesInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIStackListLocals.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIStackListLocals.java
deleted file mode 100644
index bbd57bc3452..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIStackListLocals.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-import org.eclipse.cdt.debug.mi.core.output.MIStackListLocalsInfo;
-
-/**
- *
- * -stack-list-locals PRINT-VALUES
- *
- * Display the local variable names for the current frame. With an
- * argument of 0 prints only the names of the variables, with argument of 1
- * prints also their values.
- *
- */
-public class MIStackListLocals extends MICommand
-{
- public MIStackListLocals(boolean printValues) {
- super("-stack-list-locals");
- if (printValues) {
- setParameters(new String[]{"1"});
- } else {
- setParameters(new String[]{"0"});
- }
- }
-
- public MIStackListLocalsInfo getMIStackListLocalsInfo() throws MIException {
- return (MIStackListLocalsInfo)getMIInfo();
- }
-
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIStackListLocalsInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIStackSelectFrame.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIStackSelectFrame.java
deleted file mode 100644
index 3992330178c..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIStackSelectFrame.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-
-
-/**
- *
- * -stack-select-frame FRAMENUM
- *
- * Change the current frame. Select a different frame FRAMENUM on the
- * stack.
- *
- */
-public class MIStackSelectFrame extends MICommand
-{
- public MIStackSelectFrame(int frameNum) {
- super("-stack-select-frame", new String[]{Integer.toString(frameNum)});
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MITargetAttach.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MITargetAttach.java
deleted file mode 100644
index 00d458e2969..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MITargetAttach.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- *
- * -target-attach PID | FILE
- *
- * Attach to a process PID or a file FILE outside of GDB.
- *
- */
-public class MITargetAttach extends CLICommand
-{
- public MITargetAttach(int pid) {
- super("attach " + Integer.toString(pid));
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MITargetDetach.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MITargetDetach.java
deleted file mode 100644
index bcbac34dc2b..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MITargetDetach.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- *
- * -target-detach
- *
- * Disconnect from the remote target. There's no output.
- *
- */
-public class MITargetDetach extends MICommand
-{
- public MITargetDetach() {
- super("-target-detach");
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MITargetDownload.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MITargetDownload.java
deleted file mode 100644
index 6bafab1d1fe..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MITargetDownload.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/* MI
-
- (c) 2002 Copyright RedHat Inc
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA. */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- * -target-download
- *
- * Load the executable to the remote target. This command takes no args.
- *
- *
- * Loads the executable onto the remote target. It prints out an
- * update message every half second, which includes the fields:
- *
- * +download,{section=".text",section-size="6668",total-size="9880"}
- * +download,{section=".text",section-sent="512",section-size="6668",
- * total-sent="512",total-size="9880"}
- *
- */
-public class MITargetDownload extends MICommand
-{
- public MITargetDownload() {
- super("-target-download");
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MITargetSelect.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MITargetSelect.java
deleted file mode 100644
index 50465eb4079..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MITargetSelect.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- * -target-select TYPE PARAMETERS ...
- *
- * Connect GDB to the remote target. This command takes two args:
- *
- * `TYPE'
- * The type of target, for instance `async', `remote', etc.
- *
- * `PARAMETERS'
- * Device names, host names and the like. *Note Commands for
- * managing targets: Target Commands, for more details.
- *
- * The output is a connection notification, followed by the address at
- * which the target program is, in the following form:
- *
- * ^connected,addr="ADDRESS",func="FUNCTION NAME",
- * args=[ARG LIST]
- *
- */
-public class MITargetSelect extends MICommand
-{
- public MITargetSelect(String[] params) {
- super("-target-select", params);
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIThreadListIds.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIThreadListIds.java
deleted file mode 100644
index 3adbaa0e176..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIThreadListIds.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-import org.eclipse.cdt.debug.mi.core.output.MIThreadListIdsInfo;
-
-/**
- *
- * -thread-list-ids
- *
- * Produces a list of the currently known GDB thread ids. At the end
- * of the list it also prints the total number of such threads.
- *
- */
-public class MIThreadListIds extends MICommand
-{
- public MIThreadListIds() {
- super("-thread-list-ids");
- }
-
- public MIThreadListIdsInfo getMIThreadListIdsInfo() throws MIException {
- return (MIThreadListIdsInfo)getMIInfo();
- }
-
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIThreadListIdsInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIThreadSelect.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIThreadSelect.java
deleted file mode 100644
index 2cc68ec2d51..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIThreadSelect.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-import org.eclipse.cdt.debug.mi.core.output.MIThreadSelectInfo;
-
-/**
- *
- * -thread-select THREADNUM
- *
- * Make THREADNUM the current thread. It prints the number of the new
- * current thread, and the topmost frame for that thread.
- *
- */
-public class MIThreadSelect extends MICommand
-{
- public MIThreadSelect(int threadNum) {
- super("-thread-select", new String[]{Integer.toString(threadNum)});
- }
-
- public MIThreadSelectInfo getMIThreadSelectInfo() throws MIException {
- return (MIThreadSelectInfo)getMIInfo();
- }
-
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIThreadSelectInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarAssign.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarAssign.java
deleted file mode 100644
index cf7b071720f..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarAssign.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- * -var-assign NAME EXPRESSION
- *
- * Assigns the value of EXPRESSION to the variable object specified by
- * NAME. The object must be `editable'.
- *
- */
-public class MIVarAssign extends MICommand
-{
- public MIVarAssign(String name, String expression) {
- super("-var-assign", new String[]{name, expression});
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarCreate.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarCreate.java
deleted file mode 100644
index 710424b6aeb..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarCreate.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-import org.eclipse.cdt.debug.mi.core.output.MIVarCreateInfo;
-
-/**
- *
- * -var-create {NAME | "-"}
- * {FRAME-ADDR | "*"} EXPRESSION
- *
- * This operation creates a variable object, which allows the
- * monitoring of a variable, the result of an expression, a memory cell or
- * a CPU register.
- *
- * The NAME parameter is the string by which the object can be
- * referenced. It must be unique. If `-' is specified, the varobj system
- * will generate a string "varNNNNNN" automatically. It will be unique
- * provided that one does not specify NAME on that format. The command
- * fails if a duplicate name is found.
- *
- * The frame under which the expression should be evaluated can be
- * specified by FRAME-ADDR. A `*' indicates that the current frame should
- * be used.
- *
- * EXPRESSION is any expression valid on the current language set (must
- * not begin with a `*'), or one of the following:
- *
- * * `*ADDR', where ADDR is the address of a memory cell
- *
- * * `*ADDR-ADDR' -- a memory address range (TBD)
- *
- * * `$REGNAME' -- a CPU register name
- *
- */
-public class MIVarCreate extends MICommand
-{
- public MIVarCreate(String expression) {
- this("-", "*", expression);
- }
-
- public MIVarCreate(String name, String expression) {
- this(name, "*", expression);
- }
-
- public MIVarCreate(String name, String frameAddr, String expression) {
- super("-var-create", new String[]{name, frameAddr, expression});
- }
-
- public MIVarCreateInfo getMIVarCreateInfo() throws MIException {
- return (MIVarCreateInfo)getMIInfo();
- }
-
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIVarCreateInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarDelete.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarDelete.java
deleted file mode 100644
index cf446d9dfae..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarDelete.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-import org.eclipse.cdt.debug.mi.core.output.MIVarDeleteInfo;
-
-/**
- *
- * -var-delete NAME
- *
- * Deletes a previously created variable object and all of its children.
- *
- * Returns an error if the object NAME is not found.
- *
- */
-public class MIVarDelete extends MICommand
-{
- public MIVarDelete(String name) {
- super("-var-delete", new String[]{name});
- }
-
- public MIVarDeleteInfo getMIVarDeleteInfo() throws MIException {
- return (MIVarDeleteInfo)getMIInfo();
- }
-
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIVarDeleteInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarEvaluateExpression.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarEvaluateExpression.java
deleted file mode 100644
index a2ac1046380..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarEvaluateExpression.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-import org.eclipse.cdt.debug.mi.core.output.MIVarEvaluateExpressionInfo;
-
-/**
- *
- * -var-evaluate-expression NAME
- *
- * Evaluates the expression that is represented by the specified
- * variable object and returns its value as a string in the current format
- * specified for the object:
- *
- * value=VALUE
- *
- */
-public class MIVarEvaluateExpression extends MICommand {
- public MIVarEvaluateExpression(String expression) {
- super("-var-evaluate-expression", new String[] { expression });
- }
-
- public MIVarEvaluateExpressionInfo getMIVarEvaluateExpressionInfo()
- throws MIException {
- return (MIVarEvaluateExpressionInfo) getMIInfo();
- }
-
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIVarEvaluateExpressionInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarInfoExpression.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarInfoExpression.java
deleted file mode 100644
index b4525e4b3fa..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarInfoExpression.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- * -var-info-expression NAME
- *
- * Returns what is represented by the variable object NAME:
- *
- * lang=LANG-SPEC,exp=EXPRESSION
- *
- * where LANG-SPEC is `{"C" | "C++" | "Java"}'.
- *
- */
-public class MIVarInfoExpression extends MICommand
-{
- public MIVarInfoExpression(String name) {
- super("-var-info-expression", new String[]{name});
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarInfoNumChildren.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarInfoNumChildren.java
deleted file mode 100644
index 912d3579b1c..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarInfoNumChildren.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-import org.eclipse.cdt.debug.mi.core.output.MIVarInfoNumChildrenInfo;
-
-/**
- *
- * -var-info-num-children NAME
- *
- * Returns the number of children of a variable object NAME:
- *
- * numchild=N
- *
- */
-public class MIVarInfoNumChildren extends MICommand
-{
- public MIVarInfoNumChildren(String name) {
- super("-var-info-num-children", new String[]{name});
- }
-
- public MIVarInfoNumChildrenInfo getMIVarInfoNumChildrenInfo() throws MIException {
- return (MIVarInfoNumChildrenInfo)getMIInfo();
- }
-
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIVarInfoNumChildrenInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarInfoType.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarInfoType.java
deleted file mode 100644
index 166bc36e865..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarInfoType.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- * -var-info-type NAME
- *
- * Returns the type of the specified variable NAME. The type is
- * returned as a string in the same format as it is output by the GDB CLI:
- *
- * type=TYPENAME
- *
- */
-public class MIVarInfoType extends MICommand
-{
- public MIVarInfoType(String name) {
- super("-var-info-type", new String[]{name});
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarListChildren.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarListChildren.java
deleted file mode 100644
index f2ccbc08093..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarListChildren.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-import org.eclipse.cdt.debug.mi.core.output.MIVarListChildrenInfo;
-
-/**
- *
- * -var-list-children NAME
- *
- * Returns a list of the children of the specified variable object:
- *
- * numchild=N,children={{name=NAME,
- * numchild=N,type=TYPE},(repeats N times)}
- *
- */
-public class MIVarListChildren extends MICommand
-{
- public MIVarListChildren(String name) {
- super("-var-list-children", new String[]{name});
- }
-
- public MIVarListChildrenInfo getMIVarListChildrenInfo() throws MIException {
- return (MIVarListChildrenInfo)getMIInfo();
- }
-
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIVarListChildrenInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarSetFormat.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarSetFormat.java
deleted file mode 100644
index 6d8c477236b..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarSetFormat.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIFormat;
-
-/**
- *
- * -var-set-format NAME FORMAT-SPEC
- *
- * Sets the output format for the value of the object NAME to be
- * FORMAT-SPEC.
- *
- * The syntax for the FORMAT-SPEC is as follows:
- *
- * FORMAT-SPEC ==>
- * {binary | decimal | hexadecimal | octal | natural}
- *
- */
-public class MIVarSetFormat extends MICommand
-{
- public MIVarSetFormat(String name, int fmt) {
- super("-var-set-format");
- String format = "hexadecimal";
- switch (fmt) {
- case MIFormat.NATURAL:
- format = "natural";
- break;
- case MIFormat.DECIMAL:
- format = "decimal";
- break;
- case MIFormat.BINARY:
- format = "binary";
- break;
- case MIFormat.OCTAL:
- format = "octal";
- break;
- /*
- case MIFormat.HEXADECIMAL:
- case MIFormat.RAW:
- default:
- format = "hexadecimal";
- break;
- */
- }
- setParameters(new String[]{name, format});
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarShowAttributes.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarShowAttributes.java
deleted file mode 100644
index 15c925130f0..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarShowAttributes.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-import org.eclipse.cdt.debug.mi.core.output.MIVarShowAttributesInfo;
-
-/**
- *
- * -var-show-attributes NAME
- *
- * List attributes of the specified variable object NAME:
- *
- * status=ATTR [ ( ,ATTR )* ]
- *
- * where ATTR is `{ { editable | noneditable } | TBD }'.
- *
- */
-public class MIVarShowAttributes extends MICommand
-{
- public MIVarShowAttributes(String name) {
- super("-var-show-attributes", new String[]{name});
- }
-
- public MIVarShowAttributesInfo getMIVarShowAttributesInfo() throws MIException {
- return (MIVarShowAttributesInfo)getMIInfo();
- }
-
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIVarShowAttributesInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarShowFormat.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarShowFormat.java
deleted file mode 100644
index 72d6a14c089..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarShowFormat.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-/**
- *
- * -var-show-format NAME
- *
- * Returns the format used to display the value of the object NAME.
- *
- * FORMAT ==>
- * FORMAT-SPEC
- *
- */
-public class MIVarShowFormat extends MICommand
-{
- public MIVarShowFormat(String name) {
- super("-var-show-format", new String[]{name});
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarUpdate.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarUpdate.java
deleted file mode 100644
index 6028b4434b7..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIVarUpdate.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-import org.eclipse.cdt.debug.mi.core.output.MIVarUpdateInfo;
-
-/**
- *
- * -var-update {NAME | "*"}
- *
- * Update the value of the variable object NAME by evaluating its
- * expression after fetching all the new values from memory or registers.
- * A `*' causes all existing variable objects to be updated.
- *
- */
-public class MIVarUpdate extends MICommand {
-
- public MIVarUpdate() {
- this("*");
- }
-
- public MIVarUpdate(String name) {
- super("-var-update", new String[] { name });
- }
-
- public MIVarUpdateInfo getMIVarUpdateInfo() throws MIException {
- return (MIVarUpdateInfo)getMIInfo();
- }
-
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIVarUpdateInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIWhatis.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIWhatis.java
deleted file mode 100644
index 15ca85b0b4f..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIWhatis.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-
-package org.eclipse.cdt.debug.mi.core.command;
-
-import org.eclipse.cdt.debug.mi.core.MIException;
-import org.eclipse.cdt.debug.mi.core.output.MIInfo;
-import org.eclipse.cdt.debug.mi.core.output.MIOutput;
-import org.eclipse.cdt.debug.mi.core.output.MIWhatisInfo;
-
-/**
- *
- * whatis type
- *
- */
-public class MIWhatis extends CLICommand
-{
- public MIWhatis(String var) {
- super("whatis " + var);
- }
-
- public MIWhatisInfo getMIWhatisInfo() throws MIException {
- return (MIWhatisInfo)getMIInfo();
- }
-
- public MIInfo getMIInfo() throws MIException {
- MIInfo info = null;
- MIOutput out = getMIOutput();
- if (out != null) {
- info = new MIWhatisInfo(out);
- if (info.isError()) {
- throw new MIException(info.getErrorMsg());
- }
- }
- return info;
- }
-}

Back to the top