From 9c134355a832a48c92f3525637b520dc3e52a25a Mon Sep 17 00:00:00 2001 From: Alain Magloire Date: Sat, 12 Oct 2002 01:20:11 +0000 Subject: [PATCH] 3 methods to return ICDIMixedInstruction ; a mixed of source and assembly instructions. --- .../cdt/debug/core/cdi/ICDISourceManager.java | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICDISourceManager.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICDISourceManager.java index defd8dd5fd6..a6eef79ad3e 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICDISourceManager.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICDISourceManager.java @@ -8,6 +8,7 @@ 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; /** * @@ -75,4 +76,28 @@ public interface ICDISourceManager extends ICDISessionObject */ ICDIInstruction[] getInstructions(String filename, int linenum, int lines) throws CDIException; + /** + * @param startAddress is the begining address + * @param endAddress is the end address + * @throws CDIException on failure. + */ + ICDIMixedInstruction[] getMixedInstructions(long startAddress, long endAddress) throws CDIException; + + /** + * @param filename is the name of the file to disassemble + * @param linenum is the line number to disassemble around + * @param lines is the number of disassembly to produced + * @throws CDIException on failure + */ + ICDIMixedInstruction[] getMixedInstructions(String filename, int linenum) throws CDIException; + + /** + * @param filename is the name of the file to disassemble + * @param linenum is the line number to disassemble around + * @param lines is the number of disassembly to produced + * @throws CDIException on failure + */ + ICDIMixedInstruction[] getMixedInstructions(String filename, int linenum, int lines) throws CDIException; + + }