Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] Debug/Core

Index: ChangeLog
===================================================================
RCS file: /home/tools/org.eclipse.cdt.debug.core/ChangeLog,v
retrieving revision 1.229
diff -u -r1.229 ChangeLog
--- ChangeLog	6 Aug 2003 20:51:19 -0000	1.229
+++ ChangeLog	8 Aug 2003 01:55:52 -0000
@@ -1,3 +1,13 @@
+2003-08-07 Alain Magloire
+
+	* ICDIVariableManager.java:
+	Remove the unused method getVariableObject(ICDIStackframe, String)
+	and getArgumentObject(ICDIStackframe, String).
+	Rename getVariableObject(String, String, String) to
+	getGlobalVariableObject.
+
+	* CDebugModel.java: Refactoring of ICDIVariableManager.
+
 2003-08-06 Mikhail Khodjaiants
 	Added the implementation of the 'getType' and 'getTypeName' methods of the 'CVaraible:ErrorVariable' class.
 	* CVariable.java
Index: src/org/eclipse/cdt/debug/core/CDebugModel.java
===================================================================
RCS file: /home/tools/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/CDebugModel.java,v
retrieving revision 1.46
diff -u -r1.46 CDebugModel.java
--- src/org/eclipse/cdt/debug/core/CDebugModel.java	28 Jul 2003 19:40:22 -0000	1.46
+++ src/org/eclipse/cdt/debug/core/CDebugModel.java	8 Aug 2003 01:55:52 -0000
@@ -568,7 +568,7 @@
 		{
 			try
 			{
-				ICDIVariableObject vo = ((CDebugTarget)target).getCDISession().getVariableManager().getVariableObject( fileName.lastSegment(), null, name );
+				ICDIVariableObject vo = ((CDebugTarget)target).getCDISession().getVariableManager().getGlobalVariableObject( fileName.lastSegment(), null, name );
 				ICDIVariable cdiVariable = ((CDebugTarget)target).getCDISession().getVariableManager().createVariable( vo );
 				return new CExpression( (CDebugTarget)target, cdiVariable );
 			}
Index: src/org/eclipse/cdt/debug/core/cdi/ICDIVariableManager.java
===================================================================
RCS file: /home/tools/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICDIVariableManager.java,v
retrieving revision 1.8
diff -u -r1.8 ICDIVariableManager.java
--- src/org/eclipse/cdt/debug/core/cdi/ICDIVariableManager.java	17 Mar 2003 21:22:07 -0000	1.8
+++ src/org/eclipse/cdt/debug/core/cdi/ICDIVariableManager.java	8 Aug 2003 01:55:52 -0000
@@ -39,17 +39,7 @@
 	 * @return ICDIVariableObject
 	 * @throws CDIException
 	 */
-	ICDIVariableObject getVariableObject(String filename, String function, String name) throws CDIException;
-
-	/**
-	 * Use the stackframe to return an ICDIVariableObject for name.
-	 *
-	 * @param stack
-	 * @param name
-	 * @return ICDIVariableObject
-	 * @throws CDIException
-	 */
-	ICDIVariableObject getVariableObject(ICDIStackFrame stack, String name) throws CDIException;
+	ICDIVariableObject getGlobalVariableObject(String filename, String function, String name) throws CDIException;
 
 	/**
 	 * Consider the variable object as an Array of type and range[start, start + length - 1]
@@ -98,16 +88,6 @@
 	 * @throws CDIException
 	 */
 	ICDIVariable createVariable(ICDIVariableObject var) throws CDIException;
-
-	/**
-	 * Method getArgumentObject.
-	 * Returns a argument Object that will hold the name and the stackframe.
-	 * @param stack
-	 * @param name
-	 * @return ICDIArgumentObject
-	 * @throws CDIException
-	 */
-	ICDIArgumentObject getArgumentObject(ICDIStackFrame stack, String name) throws CDIException;
 
 	/**
 	 * Method getArgumentObjects.



Back to the top