Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIResultRecord.java')
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIResultRecord.java63
1 files changed, 0 insertions, 63 deletions
diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIResultRecord.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIResultRecord.java
deleted file mode 100644
index 9619f886908..00000000000
--- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/output/MIResultRecord.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2006 QNX Software Systems and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * QNX Software Systems - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.debug.mi.core.output;
-
-/**
- * GDB/MI ResultRecord.
- */
-public class MIResultRecord {
-
- public final static String DONE ="done"; //$NON-NLS-1$
- public final static String RUNNING ="running"; //$NON-NLS-1$
- public final static String CONNECTED ="connected"; //$NON-NLS-1$
- public final static String ERROR ="error"; //$NON-NLS-1$
- public final static String EXIT ="exit"; //$NON-NLS-1$
-
- static final MIResult[] nullResults = new MIResult[0];
- MIResult[] results = nullResults;
- String resultClass = ""; //$NON-NLS-1$
- int token = -1;
-
- public int getToken() {
- return token;
- }
-
- public void setToken(int t) {
- token = t;
- }
-
- /**
- */
- public String getResultClass() {
- return resultClass;
- }
-
- public void setResultClass(String type) {
- resultClass = type;
- }
-
- public MIResult[] getMIResults() {
- return results;
- }
-
- public void setMIResults(MIResult[] res) {
- results = res;
- }
-
- public String toString() {
- StringBuffer buffer = new StringBuffer();
- buffer.append(token).append('^').append(resultClass);
- for (int i = 0; i < results.length; i++) {
- buffer.append(',').append(results[i].toString());
- }
- return buffer.toString();
- }
-}

Back to the top