Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlain Magloire2004-10-31 20:57:40 +0000
committerAlain Magloire2004-10-31 20:57:40 +0000
commit8edc6b4de242cb01ca4e28832b571416f7560074 (patch)
tree055a5636bf6db6656baa44eca5f95ec45814e655 /debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/model/LocalVariable.java
parent2a6c0b8c168d7a8ba4c6d1bdec585c34146e05da (diff)
downloadorg.eclipse.cdt-8edc6b4de242cb01ca4e28832b571416f7560074.tar.gz
org.eclipse.cdt-8edc6b4de242cb01ca4e28832b571416f7560074.tar.xz
org.eclipse.cdt-8edc6b4de242cb01ca4e28832b571416f7560074.zip
2004-10-31 Alain Magloire
Refactor ICDIVariableObject --> ICDIVariableDescriptor Refactor ICDIArgumentObject --> ICDIArgumentDescriptor Refactor ICDIRegisterObject --> ICDIRegisterDescriptor Addition ICDIThreadStorageDescriptor, ICDIThreadStorage Addition ICDILocalVariableDescriptor, ICDILocalVariable Addition ICDIGlobalVariableDescriptor, ICDIGlovalVariable Adjust the classes to the changes.
Diffstat (limited to 'debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/model/LocalVariable.java')
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/model/LocalVariable.java45
1 files changed, 45 insertions, 0 deletions
diff --git a/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/model/LocalVariable.java b/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/model/LocalVariable.java
new file mode 100644
index 00000000000..cd1d66769ca
--- /dev/null
+++ b/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/model/LocalVariable.java
@@ -0,0 +1,45 @@
+/**********************************************************************
+ * Copyright (c) 2002,2003,2004 QNX Software Systems and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Common Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/cpl-v10.html
+ *
+ * Contributors:
+ * QNX Software Systems - Initial API and implementation
+ ***********************************************************************/
+
+package org.eclipse.cdt.debug.mi.core.cdi.model;
+
+import org.eclipse.cdt.debug.core.cdi.model.ICDILocalVariable;
+import org.eclipse.cdt.debug.mi.core.output.MIVar;
+
+/**
+ * LocalVariable
+ */
+public class LocalVariable extends Variable implements ICDILocalVariable {
+
+ /**
+ * @param obj
+ * @param v
+ */
+ public LocalVariable(LocalVariableDescriptor obj, MIVar v) {
+ super(obj, v);
+ }
+
+ /**
+ */
+ public LocalVariable(Target target, Thread thread, StackFrame frame, String n, String q,
+ int pos, int depth, MIVar v) {
+ super(target, thread, frame, n, q, pos, depth, v);
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.cdt.debug.mi.core.cdi.model.Variable#createVariable(org.eclipse.cdt.debug.mi.core.cdi.model.Target, java.lang.String, java.lang.String, org.eclipse.cdt.debug.core.cdi.model.ICDIThread, org.eclipse.cdt.debug.core.cdi.model.ICDIStackFrame, int, int, org.eclipse.cdt.debug.mi.core.output.MIVar)
+ */
+ protected Variable createVariable(Target target, Thread thread, StackFrame frame, String name,
+ String fullName, int pos, int depth, MIVar miVar) {
+ return new LocalVariable(target, thread, frame, name, fullName, pos, depth, miVar);
+ }
+
+}

Back to the top