Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] in CDI remove some unuse methods.

	* src/.../cdi/model/CTarget.java (getMemoryBlock): Remove
	we use the MemoryManager instead.
	(evaluateExpressionToValue): Remove not used.
	* src/.../cdi/model/SourceManager.java (getFile): Remove not use.
	(setFile): Remove not use.
	(reset): Remove not use.



Index: ChangeLog
===================================================================
RCS file: /home/tools/org.eclipse.cdt.debug.core/ChangeLog,v
retrieving revision 1.22
diff -u -r1.22 ChangeLog
--- ChangeLog	19 Oct 2002 19:15:49 -0000	1.22
+++ ChangeLog	20 Oct 2002 23:19:49 -0000
@@ -1,3 +1,12 @@
+2002-10-20 Alain Magloire
+
+	* src/.../cdi/model/CTarget.java (getMemoryBlock): Remove
+	we use the MemoryManager instead.
+	(evaluateExpressionToValue): Remove not used.
+	* src/.../cdi/model/SourceManager.java (getFile): Remove not use.
+	(setFile): Remove not use.
+	(reset): Remove not use.
+
 2002-10-19 Alain Magloire
 
 	The UI needs to be told when the memory changes
@@ -9,7 +18,7 @@
 	the event for ICDIMemoryBlock that are not frozen(setFrozen()) since this
 	is a potentially very time consuming operation.
 
-	* src/.../cdi/even/ICDIMemoryChangedEvent.java: New Class.
+	* src/.../cdi/event/ICDIMemoryChangedEvent.java: New Class.
 
 2002-10-17 Mikhail Khodjaiants
 	Implementing the memory view support:
@@ -113,4 +122,4 @@
 2002-10-10 Alain Magloire
 
 	* ICDISourceManager.java: Changing the getInstructions()
-	method to take long instead of String.
\ No newline at end of file
+	method to take long instead of String.
Index: src/org/eclipse/cdt/debug/core/cdi/ICDISourceManager.java
===================================================================
RCS file: /home/tools/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICDISourceManager.java,v
retrieving revision 1.10
diff -u -r1.10 ICDISourceManager.java
--- src/org/eclipse/cdt/debug/core/cdi/ICDISourceManager.java	12 Oct 2002 01:20:11 -0000	1.10
+++ src/org/eclipse/cdt/debug/core/cdi/ICDISourceManager.java	20 Oct 2002 23:19:50 -0000
@@ -5,8 +5,6 @@
 
 package org.eclipse.cdt.debug.core.cdi;
 
-import java.io.File;
-
 import org.eclipse.cdt.debug.core.cdi.model.ICDIInstruction;
 import org.eclipse.cdt.debug.core.cdi.model.ICDIMixedInstruction;
 
@@ -29,30 +27,6 @@
 	 * @return String array of search paths.
 	 */
 	String[] getSourcePaths() throws CDIException;
-
-	/**
-	 * Returns an array of directories. Returns the empty array 
-	 * if the source path is empty.
-	 * 
-	 * @return an array of directories
-	 * @throws CDIException on failure. Reasons include:
-	 */
-	File[] getDirectories() throws CDIException;
-	
-	/**
-	 * Sets the source path according to the given array of directories.
-	 * 
-	 * @param directories - the array of directories
-	 * @throws CDIException on failure. Reasons include:
-	 */
-	void set( File[] directories ) throws CDIException;
-	
-	/**
-	 * Reset the source path to empty.
-	 * 
-	 * @throws CDIException on failure. Reasons include:
-	 */
-	void reset() throws CDIException;
 
 	/**
 	 *  @param startAddress is the begining address
Index: src/org/eclipse/cdt/debug/core/cdi/model/ICDITarget.java
===================================================================
RCS file: /home/tools/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDITarget.java,v
retrieving revision 1.10
diff -u -r1.10 ICDITarget.java
--- src/org/eclipse/cdt/debug/core/cdi/model/ICDITarget.java	2 Oct 2002 04:58:17 -0000	1.10
+++ src/org/eclipse/cdt/debug/core/cdi/model/ICDITarget.java	20 Oct 2002 23:19:51 -0000
@@ -60,19 +60,6 @@
 	void setCurrentThread(ICDIThread current) throws CDIException;
 
 	/**
-	 * Returns a memory block that starts at the specified memory 
-	 * address, with the specified length.
-	 * 
-	 * @param - starting address
-	 * @param - length of the memory block in bytes 
-	 * @return a memory block that starts at the specified memory address, 
-	 * with the specified length 
-	 * @throws CDIException if this method fails.  Reasons include:
-	 */
-	ICDIMemoryBlock getCMemoryBlock(long startAddress, long length)
-		throws CDIException;
-
-	/**
 	 * Returns the register Object associated with this target.
 	 * 
 	 * @return a collection of register object.
@@ -95,17 +82,6 @@
 	 * @throws CDIException if this method fails.  Reasons include:
 	 */
 	ICDIGlobalVariable[] getGlobalVariables() throws CDIException;
-
-	/**
-	 * Evaluates the expression specified by the given string.
-	 * Returns the evaluation result as an ICDIValue.
-	 * 
-	 * @param - expression string to be evaluated
-	 * @return the result of the evaluation
-	 * @throws CDIException if this method fails.  Reasons include:
-	 */
-	ICDIValue evaluateExpressionToValue(String expressionText)
-		throws CDIException;
 
 	/**
 	 * Evaluates the expression specified by the given string.



Back to the top