Eclipse CDT
Pre-release 3.0

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

All Known Subinterfaces:
ICDITarget

public interface ICDISourceManagement

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


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

Method Detail

setSourcePaths

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

Parameters:
String - array of search paths
Throws:
CDIException

getSourcePaths

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

Returns:
String array of search paths.
Throws:
CDIException

getInstructions

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

getInstructions

ICDIInstruction[] getInstructions(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(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(BigInteger startAddress,
                                            BigInteger endAddress)
                                            throws CDIException
Parameters:
startAddress - is the begining address
endAddress - is the end address
Throws:
CDIException - on failure.

getMixedInstructions

ICDIMixedInstruction[] getMixedInstructions(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(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
Pre-release 3.0

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