1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00
This commit is contained in:
Mikhail Khodjaiants 2003-11-26 18:58:04 +00:00
parent f8dc875327
commit 19585a8f35
3 changed files with 10 additions and 6 deletions

View file

@ -1,3 +1,9 @@
2003-11-26 Mikhail Khodjaiants
Cleanup.
* src/org/eclipse/cdt/debug/mi/core/cdi/model/Variable.java
* src/org/eclipse/cdt/debug/mi/core/GDBTypeParser.java
2003-11-26 Mikhail Khodjaiants 2003-11-26 Mikhail Khodjaiants
Cleanup. Cleanup.

View file

@ -89,7 +89,7 @@ public class GDBTypeParser {
public final static int ARRAY = 3; public final static int ARRAY = 3;
public final static int FUNCTION = 4; public final static int FUNCTION = 4;
String name; String nameType;
int type; int type;
public GDBType(String n) { public GDBType(String n) {
@ -101,16 +101,16 @@ public class GDBTypeParser {
} }
GDBType(String n, int t) { GDBType(String n, int t) {
name = n; nameType = n;
type = t; type = t;
} }
public String toString() { public String toString() {
return name; return nameType;
} }
public String verbose() { public String verbose() {
return name; return nameType;
} }
public int getType() { public int getType() {

View file

@ -48,7 +48,6 @@ import org.eclipse.cdt.debug.mi.core.cdi.model.type.PointerValue;
import org.eclipse.cdt.debug.mi.core.cdi.model.type.ReferenceValue; import org.eclipse.cdt.debug.mi.core.cdi.model.type.ReferenceValue;
import org.eclipse.cdt.debug.mi.core.cdi.model.type.ShortValue; import org.eclipse.cdt.debug.mi.core.cdi.model.type.ShortValue;
import org.eclipse.cdt.debug.mi.core.cdi.model.type.StructValue; import org.eclipse.cdt.debug.mi.core.cdi.model.type.StructValue;
import org.eclipse.cdt.debug.mi.core.cdi.model.type.Type;
import org.eclipse.cdt.debug.mi.core.cdi.model.type.WCharValue; import org.eclipse.cdt.debug.mi.core.cdi.model.type.WCharValue;
import org.eclipse.cdt.debug.mi.core.command.CommandFactory; import org.eclipse.cdt.debug.mi.core.command.CommandFactory;
import org.eclipse.cdt.debug.mi.core.command.MIVarAssign; import org.eclipse.cdt.debug.mi.core.command.MIVarAssign;
@ -70,7 +69,6 @@ public class Variable extends VariableObject implements ICDIVariable {
MIVar miVar; MIVar miVar;
Value value; Value value;
ICDIVariable[] children = new ICDIVariable[0]; ICDIVariable[] children = new ICDIVariable[0];
Type type;
String editable = null; String editable = null;
String language; String language;
boolean isFake = false; boolean isFake = false;