|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.runtime.PlatformObject
org.eclipse.cdt.debug.internal.core.model.CDebugElement
org.eclipse.cdt.debug.internal.core.model.CModule
public class CModule
The CDI based implementation of ICModule
.
This implementation is experimental and needs to be changed when
the CDI level support is available.
Field Summary |
---|
Fields inherited from interface org.eclipse.cdt.debug.core.model.ICModule |
---|
EXECUTABLE, SHARED_LIBRARY |
Fields inherited from interface org.eclipse.cdt.debug.core.model.ICDebugElementStatus |
---|
ERROR, OK, WARNING |
Method Summary | |
---|---|
boolean |
areSymbolsLoaded()
Returns whether the symbols of this module are read. |
boolean |
canLoadSymbols()
Returns whether the module's symbols can be loaded or reloaded. |
static CModule |
createExecutable(CDebugTarget target,
org.eclipse.core.runtime.IPath path)
|
static CModule |
createSharedLibrary(CDebugTarget target,
org.eclipse.cdt.debug.core.cdi.model.ICDISharedLibrary lib)
|
void |
dispose()
|
boolean |
equals(org.eclipse.cdt.debug.core.cdi.model.ICDIObject cdiObject)
|
java.lang.Object |
getAdapter(java.lang.Class adapter)
|
IAddressFactory |
getAddressFactory()
Returns the address factory associated with this module. |
IAddress |
getBaseAddress()
Returns the base address of this module. |
java.lang.String |
getCPU()
Returns the CPU identifier. |
org.eclipse.core.runtime.IPath |
getImageName()
Returns the image name of this module. |
java.lang.String |
getName()
Returns the name of this module. |
java.lang.String |
getPlatform()
Returns the name of the platform. |
long |
getSize()
Returns the size of this module. |
org.eclipse.core.runtime.IPath |
getSymbolsFileName()
Returns the full path of the file from which symbols to be loaded. |
int |
getType()
Returns the type of this module. |
boolean |
isLittleEndian()
Returns whether this module is little endian. |
void |
loadSymbols()
Loads the module symbols from the specified file. |
void |
setSymbolsFileName(org.eclipse.core.runtime.IPath symbolsFile)
Associate the specified file as a symbol provider for this module. |
Methods inherited from class org.eclipse.cdt.debug.internal.core.model.CDebugElement |
---|
createChangeEvent, createCreateEvent, createResumeEvent, createSuspendEvent, createTerminateEvent, fireChangeEvent, fireCreationEvent, fireResumeEvent, fireSuspendEvent, fireTerminateEvent, getCDISession, getCDITarget, getCurrentStateInfo, getDebugTarget, getLaunch, getMessage, getModelIdentifier, getSeverity, getState, isOK, notSupported, requestFailed, requestFailed, targetRequestFailed, targetRequestFailed |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 |
Method Detail |
---|
public static CModule createExecutable(CDebugTarget target, org.eclipse.core.runtime.IPath path)
public static CModule createSharedLibrary(CDebugTarget target, org.eclipse.cdt.debug.core.cdi.model.ICDISharedLibrary lib)
public int getType()
ICModule
EXECUTABLE
,
SHARED_LIBRARY
, CORE
.
getType
in interface ICModule
public java.lang.String getName()
ICModule
getName
in interface ICModule
public org.eclipse.core.runtime.IPath getImageName()
ICModule
getImageName
in interface ICModule
public org.eclipse.core.runtime.IPath getSymbolsFileName()
ICModule
getSymbolsFileName
in interface ICModule
public void setSymbolsFileName(org.eclipse.core.runtime.IPath symbolsFile) throws org.eclipse.debug.core.DebugException
ICModule
null
is passed as a file name the internal symbols
search mechanism will be used.
setSymbolsFileName
in interface ICModule
symbolsFile
- the symbol provider for this module.
org.eclipse.debug.core.DebugException
- if this method fails. Reasons include:public IAddress getBaseAddress()
ICModule
getBaseAddress
in interface ICModule
public long getSize()
ICModule
getSize
in interface ICModule
public boolean areSymbolsLoaded()
ICModule
areSymbolsLoaded
in interface ICModule
public boolean canLoadSymbols()
ICModule
canLoadSymbols
in interface ICModule
public void loadSymbols() throws org.eclipse.debug.core.DebugException
ICModule
loadSymbols
in interface ICModule
org.eclipse.debug.core.DebugException
- if this method fails. Reasons include:public java.lang.String getPlatform()
ICModule
getPlatform
in interface ICModule
public boolean isLittleEndian()
ICModule
isLittleEndian
in interface ICModule
public IAddressFactory getAddressFactory()
ICModule
getAddressFactory
in interface ICModule
public java.lang.String getCPU()
ICModule
getCPU
in interface ICModule
public java.lang.Object getAdapter(java.lang.Class adapter)
getAdapter
in interface org.eclipse.core.runtime.IAdaptable
getAdapter
in class CDebugElement
public void dispose()
public boolean equals(org.eclipse.cdt.debug.core.cdi.model.ICDIObject cdiObject)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |