PTP
Release 5.0

org.eclipse.ptp.debug.core.pdi.model
Interface IPDISourceManagement

All Known Subinterfaces:
IPDITarget

public interface IPDISourceManagement

Maintains the list of directories to search for source files.


Method Summary
 IPDIInstruction[] getInstructions(BigInteger startAddress, BigInteger endAddress)
           
 IPDIInstruction[] getInstructions(String filename, int linenum)
           
 IPDIInstruction[] getInstructions(String filename, int linenum, int lines)
           
 IPDIMixedInstruction[] getMixedInstructions(BigInteger startAddress, BigInteger endAddress)
           
 IPDIMixedInstruction[] getMixedInstructions(String filename, int linenum)
           
 IPDIMixedInstruction[] 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 PDIException
Set the source search paths for the debug session.

Parameters:
String - array of search paths
Throws:
PDIException - on failure

getSourcePaths

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

Returns:
String array of search paths.
Throws:
PDIException - on failure

getInstructions

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

getInstructions

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

getInstructions

IPDIInstruction[] getInstructions(String filename,
                                  int linenum,
                                  int lines)
                                  throws PDIException
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:
PDIException - on failure.

getMixedInstructions

IPDIMixedInstruction[] getMixedInstructions(BigInteger startAddress,
                                            BigInteger endAddress)
                                            throws PDIException
Parameters:
startAddress - is the begining address
endAddress - is the end address
Throws:
PDIException - on failure.

getMixedInstructions

IPDIMixedInstruction[] getMixedInstructions(String filename,
                                            int linenum)
                                            throws PDIException
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:
PDIException - on failure.

getMixedInstructions

IPDIMixedInstruction[] getMixedInstructions(String filename,
                                            int linenum,
                                            int lines)
                                            throws PDIException
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:
PDIException - on failure.

PTP
Release 5.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.