|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICDIMemoryBlock
A contiguous segment of memory in an execution context. A memory block is represented by a starting memory address and a length.
Field Summary | |
---|---|
static byte |
READ_ONLY
Bit mask used to indicate a byte is read-only. |
static byte |
VALID
Bit mask used to indicate a byte is valid. |
Method Summary | |
---|---|
byte[] |
getBytes()
Returns the values of the bytes currently contained in this this memory block. |
byte |
getFlags(int offset)
Returns this memory byte's attribute as a bit mask. |
long |
getLength()
Returns the length of this memory block in bytes. |
BigInteger |
getStartAddress()
Returns the start address of this memory block. |
int |
getWordSize()
|
boolean |
isFrozen()
|
void |
refresh()
Refresh the data, this may cause events to be trigger if the data values changed. |
void |
setFrozen(boolean frozen)
A memoryBlock set frozen means that the block will not update and check for new data. |
void |
setValue(long offset,
byte[] bytes)
Sets the value of the bytes in this memory block at the specified offset within this memory block to the spcified bytes. |
Methods inherited from interface org.eclipse.cdt.debug.core.cdi.model.ICDIObject |
---|
getTarget |
Field Detail |
---|
static final byte READ_ONLY
static final byte VALID
Method Detail |
---|
BigInteger getStartAddress()
long getLength()
int getWordSize()
byte[] getBytes() throws CDIException
CDIException
- if this method fails. Reasons include:
byte getFlags(int offset)
void setValue(long offset, byte[] bytes) throws CDIException
offset
- the offset at which to set the new valuesbytes
- the new values
CDIException
- if this method fails. Reasons include:
boolean isFrozen()
void setFrozen(boolean frozen)
frozen
- the block is frozen by default.void refresh() throws CDIException
CDIException
|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |