org.eclipse.cdt.debug.core.model
Interface ICDebugTarget

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.IBreakpointListener, ICDebugElement, org.eclipse.debug.core.model.IDebugElement, org.eclipse.debug.core.model.IDebugTarget, org.eclipse.debug.core.model.IDisconnect, IExecFileInfo, org.eclipse.debug.core.model.IMemoryBlockRetrieval, IModuleRetrieval, IRestart, IResumeWithoutSignal, ISteppingModeTarget, org.eclipse.debug.core.model.ISuspendResume, ITargetProperties, org.eclipse.debug.core.model.ITerminate
All Known Implementing Classes:
CCoreFileDebugTarget, CDebugTarget

public interface ICDebugTarget
extends org.eclipse.debug.core.model.IDebugTarget, IExecFileInfo, IRestart, IResumeWithoutSignal, ICDebugElement, ISteppingModeTarget, IModuleRetrieval, ITargetProperties

C/C++ extension of IDebugTarget.


Field Summary
 
Fields inherited from interface org.eclipse.cdt.debug.core.model.ITargetProperties
PREF_INSTRUCTION_STEPPING_MODE
 
Method Summary
 void addRegisterGroup(java.lang.String name, IRegisterDescriptor[] descriptors)
          Adds a new user-defined register group to this target
 IAddress getBreakpointAddress(ICLineBreakpoint breakpoint)
          Returns the target address of the given breakpoint.
 IDisassembly getDisassembly()
          Returns the disassembly provider of this debug target.
 IRegisterDescriptor[] getRegisterDescriptors()
          Returns the list of descriptors of the target registers
 ICSignal[] getSignals()
          Returns the list of signals defined for this target.
 boolean hasSignals()
          Returns whether this target supports signals.
 boolean isLittleEndian()
          Returns whether this target is little endian.
 boolean isPostMortem()
          Returns whether this target is a post mortem type.
 void modifyRegisterGroup(IPersistableRegisterGroup group, IRegisterDescriptor[] descriptors)
          Replace the given group's register descriptors by the specified descriptors.
 void removeRegisterGroups(org.eclipse.debug.core.model.IRegisterGroup[] groups)
          Removes the given register group from the target
 void restoreDefaultRegisterGroups()
          Removes all user-defined register groups and restores the hardware groups.
 
Methods inherited from interface org.eclipse.debug.core.model.IDebugTarget
getName, getProcess, getThreads, hasThreads, supportsBreakpoint
 
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement
getDebugTarget, getLaunch, getModelIdentifier
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.debug.core.model.ITerminate
canTerminate, isTerminated, terminate
 
Methods inherited from interface org.eclipse.debug.core.model.ISuspendResume
canResume, canSuspend, isSuspended, resume, suspend
 
Methods inherited from interface org.eclipse.debug.core.IBreakpointListener
breakpointAdded, breakpointChanged, breakpointRemoved
 
Methods inherited from interface org.eclipse.debug.core.model.IDisconnect
canDisconnect, disconnect, isDisconnected
 
Methods inherited from interface org.eclipse.debug.core.model.IMemoryBlockRetrieval
getMemoryBlock, supportsStorageRetrieval
 
Methods inherited from interface org.eclipse.cdt.debug.core.model.IExecFileInfo
getExecFile, getGlobals
 
Methods inherited from interface org.eclipse.cdt.debug.core.model.IRestart
canRestart, restart
 
Methods inherited from interface org.eclipse.cdt.debug.core.model.IResumeWithoutSignal
canResumeWithoutSignal, resumeWithoutSignal
 
Methods inherited from interface org.eclipse.cdt.debug.core.model.ICDebugElement
getCurrentStateInfo, getState
 
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement
getDebugTarget, getLaunch, getModelIdentifier
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.cdt.debug.core.model.ISteppingModeTarget
enableInstructionStepping, isInstructionSteppingEnabled, supportsInstructionStepping
 
Methods inherited from interface org.eclipse.cdt.debug.core.model.IModuleRetrieval
getModules, hasModules, loadSymbolsForAllModules
 
Methods inherited from interface org.eclipse.cdt.debug.core.model.ITargetProperties
addPropertyChangeListener, removePropertyChangeListener
 

Method Detail

isLittleEndian

boolean isLittleEndian()
Returns whether this target is little endian.

Specified by:
isLittleEndian in interface IExecFileInfo
Returns:
whether this target is little endian

hasSignals

boolean hasSignals()
                   throws org.eclipse.debug.core.DebugException
Returns whether this target supports signals.

Returns:
whether this target supports signals
Throws:
org.eclipse.debug.core.DebugException - if this method fails.

getSignals

ICSignal[] getSignals()
                      throws org.eclipse.debug.core.DebugException
Returns the list of signals defined for this target.

Returns:
the list of signals defined for this target
Throws:
org.eclipse.debug.core.DebugException - if this method fails.

getDisassembly

IDisassembly getDisassembly()
                            throws org.eclipse.debug.core.DebugException
Returns the disassembly provider of this debug target.

Returns:
the disassembly provider of this debug target
Throws:
org.eclipse.debug.core.DebugException - if this method fails.

isPostMortem

boolean isPostMortem()
Returns whether this target is a post mortem type.

Returns:
whether this target is a post mortem type

getRegisterDescriptors

IRegisterDescriptor[] getRegisterDescriptors()
                                             throws org.eclipse.debug.core.DebugException
Returns the list of descriptors of the target registers

Returns:
the list register descriptors
Throws:
org.eclipse.debug.core.DebugException - if this method fails. Reasons include:
Since:
3.0

addRegisterGroup

void addRegisterGroup(java.lang.String name,
                      IRegisterDescriptor[] descriptors)
Adds a new user-defined register group to this target

Parameters:
name - the group name
descriptors - the list of registers to be grouped
Since:
3.0

removeRegisterGroups

void removeRegisterGroups(org.eclipse.debug.core.model.IRegisterGroup[] groups)
Removes the given register group from the target

Parameters:
group - a group to be removed
Since:
3.0

modifyRegisterGroup

void modifyRegisterGroup(IPersistableRegisterGroup group,
                         IRegisterDescriptor[] descriptors)
Replace the given group's register descriptors by the specified descriptors.

Parameters:
group - a group to be modified
descriptors - a descriptor array to replace existing descriptors
Since:
3.0

restoreDefaultRegisterGroups

void restoreDefaultRegisterGroups()
Removes all user-defined register groups and restores the hardware groups.

Since:
3.0

getBreakpointAddress

IAddress getBreakpointAddress(ICLineBreakpoint breakpoint)
                              throws org.eclipse.debug.core.DebugException
Returns the target address of the given breakpoint.

Returns:
the target address of the given breakpoint
Throws:
org.eclipse.debug.core.DebugException - if the address is not available