PTP
Release 7.0

org.eclipse.ptp.debug.core.model
Interface IPDebugTarget

All Superinterfaces:
IExecFileInfo, IPDebugElement, IRestart, IResumeWithoutSignal, ISteppingModeTarget, ITargetProperties

public interface IPDebugTarget
extends IExecFileInfo, IRestart, IResumeWithoutSignal, IPDebugElement, ITargetProperties, ISteppingModeTarget

Represents a debuggable execution context


Field Summary
 
Fields inherited from interface org.eclipse.ptp.debug.core.model.ITargetProperties
PREF_INSTRUCTION_STEPPING_MODE
 
Method Summary
 void addRegisterGroup(java.lang.String name, IPRegisterDescriptor[] descriptors)
          Add a register group
 IPGlobalVariable createGlobalVariable(IPGlobalVariableDescriptor globalVariableDescriptor)
          Create a global variable
 void dispose()
          Dispose of any resources
 void fireChangeEvent(int content)
          Fire debugger change event
 java.math.BigInteger getBreakpointAddress(IPLineBreakpoint breakpoint)
          Get the breakpoint address
 IPDITarget getPDITarget()
          Get the PDI debug target
 IPRegisterDescriptor[] getRegisterDescriptors()
          Get the register descriptors
 IPSignal[] getSignals()
          Get the debugger signal handlers
 TaskSet getTasks()
          Get the tasks for this target
 boolean hasSignals()
          Check if this target has signal handlers
 boolean isLittleEndian()
          Check if the target is little endian
 boolean isPostMortem()
          Check if this is post mortem
 void modifyRegisterGroup(IPPersistableRegisterGroup group, IPRegisterDescriptor[] descriptors)
          Modify the register group
 void removeRegisterGroups(IRegisterGroup[] groups)
          Remove register groups
 void restoreDefaultRegisterGroups()
          Restore default register groups
 
Methods inherited from interface org.eclipse.ptp.debug.core.model.IExecFileInfo
getGlobals
 
Methods inherited from interface org.eclipse.ptp.debug.core.model.IRestart
canRestart, restart
 
Methods inherited from interface org.eclipse.ptp.debug.core.model.IResumeWithoutSignal
canResumeWithoutSignal, resumeWithoutSignal
 
Methods inherited from interface org.eclipse.ptp.debug.core.model.IPDebugElement
getCurrentStateInfo, getID, getSession, getState
 
Methods inherited from interface org.eclipse.ptp.debug.core.model.ITargetProperties
addPreferenceChangeListener, removePreferenceChangeListener
 
Methods inherited from interface org.eclipse.ptp.debug.core.model.ISteppingModeTarget
enableInstructionStepping, isInstructionSteppingEnabled, supportsInstructionStepping
 

Method Detail

addRegisterGroup

void addRegisterGroup(java.lang.String name,
                      IPRegisterDescriptor[] descriptors)
Add a register group

Parameters:
name -
descriptors -

createGlobalVariable

IPGlobalVariable createGlobalVariable(IPGlobalVariableDescriptor globalVariableDescriptor)
                                      throws DebugException
Create a global variable

Parameters:
globalVariableDescriptor -
Returns:
Throws:
DebugException

dispose

void dispose()
Dispose of any resources


fireChangeEvent

void fireChangeEvent(int content)
Fire debugger change event

Parameters:
content -

getBreakpointAddress

java.math.BigInteger getBreakpointAddress(IPLineBreakpoint breakpoint)
                                          throws DebugException
Get the breakpoint address

Parameters:
breakpoint -
Returns:
Throws:
DebugException

getPDITarget

IPDITarget getPDITarget()
Get the PDI debug target

Returns:

getRegisterDescriptors

IPRegisterDescriptor[] getRegisterDescriptors()
                                              throws DebugException
Get the register descriptors

Returns:
Throws:
DebugException

getSignals

IPSignal[] getSignals()
                      throws DebugException
Get the debugger signal handlers

Returns:
Throws:
DebugException

getTasks

TaskSet getTasks()
Get the tasks for this target

Returns:
Since:
4.0

hasSignals

boolean hasSignals()
                   throws DebugException
Check if this target has signal handlers

Returns:
Throws:
DebugException

isLittleEndian

boolean isLittleEndian()
Check if the target is little endian

Returns:

isPostMortem

boolean isPostMortem()
Check if this is post mortem

Returns:

modifyRegisterGroup

void modifyRegisterGroup(IPPersistableRegisterGroup group,
                         IPRegisterDescriptor[] descriptors)
Modify the register group

Parameters:
group -
descriptors -

removeRegisterGroups

void removeRegisterGroups(IRegisterGroup[] groups)
Remove register groups

Parameters:
groups -

restoreDefaultRegisterGroups

void restoreDefaultRegisterGroups()
Restore default register groups


PTP
Release 7.0

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