Eclipse CDT
7.0

org.eclipse.cdt.debug.core.cdi.model
Interface ICDISourceManagement

All Known Subinterfaces:
ICDITarget, ICDITarget2

public interface ICDISourceManagement

Maintains the list of directories to search for source files. Auto update is off by default.


Method Summary
 ICDIInstruction[] getInstructions(java.math.BigInteger startAddress, java.math.BigInteger endAddress)
           
 ICDIInstruction[] getInstructions(java.lang.String filename, int linenum)
           
 ICDIInstruction[] getInstructions(java.lang.String filename, int linenum, int lines)
           
 ICDIMixedInstruction[] getMixedInstructions(java.math.BigInteger startAddress, java.math.BigInteger endAddress)
           
 ICDIMixedInstruction[] getMixedInstructions(java.lang.String filename, int linenum)
           
 ICDIMixedInstruction[] getMixedInstructions(java.lang.String filename, int linenum, int lines)
           
 java.lang.String[] getSourcePaths()
          Return the array of source paths
 void setSourcePaths(java.lang.String[] srcPaths)
          Set the source search paths for the debug session.
 

Method Detail

setSourcePaths

void setSourcePaths(java.lang.String[] srcPaths)
                    throws CDIException
Set the source search paths for the debug session.

Parameters:
String - array of search paths
Throws:
CDIException

getSourcePaths

java.lang.String[] getSourcePaths()
                                  throws CDIException
Return the array of source paths

Returns:
String array of search paths.
Throws:
CDIException

getInstructions

ICDIInstruction[] getInstructions(java.math.BigInteger startAddress,
                                  java.math.BigInteger endAddress)
                                  throws CDIException
Parameters:
startAddress - is the begining address
endAddress - is the end address
Throws:
CDIException - on failure.

getInstructions

ICDIInstruction[] getInstructions(java.lang.String filename,
                                  int linenum)
                                  throws CDIException
Parameters:
filename - is the name of the file to disassemble
linenum - is the line number to disassemble around
Throws:
CDIException - on failure

getInstructions

ICDIInstruction[] getInstructions(java.lang.String filename,
                                  int linenum,
                                  int lines)
                                  throws CDIException
Parameters:
filename - is the name of the file to disassemble
linenum - is the line number to disassemble around
lines - is the number of disassembly to produced
Throws:
CDIException - on failure

getMixedInstructions

ICDIMixedInstruction[] getMixedInstructions(java.math.BigInteger startAddress,
                                            java.math.BigInteger endAddress)
                                            throws CDIException
Parameters:
startAddress - is the begining address
endAddress - is the end address
Throws:
CDIException - on failure.

getMixedInstructions

ICDIMixedInstruction[] getMixedInstructions(java.lang.String filename,
                                            int linenum)
                                            throws CDIException
Parameters:
filename - is the name of the file to disassemble
linenum - is the line number to disassemble around
lines - is the number of disassembly to produced
Throws:
CDIException - on failure

getMixedInstructions

ICDIMixedInstruction[] getMixedInstructions(java.lang.String filename,
                                            int linenum,
                                            int lines)
                                            throws CDIException
Parameters:
filename - is the name of the file to disassemble
linenum - is the line number to disassemble around
lines - is the number of disassembly to produced
Throws:
CDIException - on failure

Eclipse CDT
7.0

Copyright (c) IBM Corp. and others 2004, 2012. All Rights Reserved.