1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 02:06:01 +02:00

Remove those methods (getInstructions) it is part

of ICDISourceManager.
This commit is contained in:
Alain Magloire 2002-10-12 23:51:24 +00:00
parent 5b7c73cea5
commit 122c0c38d7
4 changed files with 10 additions and 38 deletions

View file

@ -1,3 +1,8 @@
2002-10-12 Alain Magloire
* core/cdi/ICDILocation (getInstructions): Methods
removed is now part of SourceManager.
2002-10-11 Mikhail Khodjaiants
* CDebugTarget.java: Added return for ISourceMode to 'getAdapter'.
* CSourceManager.java: Set the real mode when setting the source mode.

View file

@ -5,7 +5,6 @@
*/
package org.eclipse.cdt.debug.core.cdi;
import org.eclipse.cdt.debug.core.cdi.model.ICDIInstruction;
/**
*
@ -46,27 +45,6 @@ public interface ICDILocation
*/
int getLineNumber();
/**
* Returns an array of the machine instructions of the function
* surrounding the address of this location.
*
* @return an array of the machine instructions
* @throws CDIException on failure. Reasons include:
*/
ICDIInstruction[] getInstructions() throws CDIException;
/**
* Returns an array of the machine instructions of the function
* surrounding the address of this location. If the number of
* instructions is greater than maxCount the size of the returning
* array is limited by maxCount.
*
* @param maxCount - maximum number of instructions to read
* @return an array of the machine instructions
* @throws CDIException on failure. Reasons include:
*/
ICDIInstruction[] getInstructions( int maxCount ) throws CDIException;
/**
* Return true if the both location refers to the same
* place.

View file

@ -1,3 +1,8 @@
2002-10-12 Alain Magloire
* cdi/Location (getInstructions): Methods removed
no longer define in ICDILocation.
2002-10-11 Alain Magloire
* cdi/SourceManager (getMixedInstruction):

View file

@ -5,9 +5,7 @@
*/
package org.eclipse.cdt.debug.mi.core.cdi;
import org.eclipse.cdt.debug.core.cdi.CDIException;
import org.eclipse.cdt.debug.core.cdi.ICDILocation;
import org.eclipse.cdt.debug.core.cdi.model.ICDIInstruction;
/**
*/
@ -52,20 +50,6 @@ public class Location implements ICDILocation {
return function;
}
/**
* @see org.eclipse.cdt.debug.core.cdi.ICDILocation#getInstructions()
*/
public ICDIInstruction[] getInstructions() throws CDIException {
return new ICDIInstruction[0];
}
/**
* @see org.eclipse.cdt.debug.core.cdi.ICDILocation#getInstructions(int)
*/
public ICDIInstruction[] getInstructions(int maxCount) throws CDIException {
return new ICDIInstruction[0];
}
/**
* @see org.eclipse.cdt.debug.core.cdi.ICDILocation#getLineNumber()
*/