From 122c0c38d79e217fec641ded8405d4706a204cda Mon Sep 17 00:00:00 2001 From: Alain Magloire Date: Sat, 12 Oct 2002 23:51:24 +0000 Subject: [PATCH] Remove those methods (getInstructions) it is part of ICDISourceManager. --- debug/org.eclipse.cdt.debug.core/ChangeLog | 5 +++++ .../cdt/debug/core/cdi/ICDILocation.java | 22 ------------------- debug/org.eclipse.cdt.debug.mi.core/ChangeLog | 5 +++++ .../cdt/debug/mi/core/cdi/Location.java | 16 -------------- 4 files changed, 10 insertions(+), 38 deletions(-) diff --git a/debug/org.eclipse.cdt.debug.core/ChangeLog b/debug/org.eclipse.cdt.debug.core/ChangeLog index 5a260286e46..fa7f77ad0cf 100644 --- a/debug/org.eclipse.cdt.debug.core/ChangeLog +++ b/debug/org.eclipse.cdt.debug.core/ChangeLog @@ -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. diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICDILocation.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICDILocation.java index a286849d907..b798f56b2fb 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICDILocation.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICDILocation.java @@ -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. diff --git a/debug/org.eclipse.cdt.debug.mi.core/ChangeLog b/debug/org.eclipse.cdt.debug.mi.core/ChangeLog index fda89e5095f..9a187e3ccc0 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/ChangeLog +++ b/debug/org.eclipse.cdt.debug.mi.core/ChangeLog @@ -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): diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/Location.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/Location.java index 5e20e03f150..ff6232866e8 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/Location.java +++ b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/Location.java @@ -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() */