|
Eclipse CDT Pre-release 3.0 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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()
This method is a misnomer. |
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 |
public static final byte READ_ONLY
public static final byte VALID
Method Detail |
public BigInteger getStartAddress()
public long getLength()
public int getWordSize()
public byte[] getBytes() throws CDIException
CDIException
- if this method fails. Reasons include:
public byte getFlags(int offset)
public 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:
public boolean isFrozen()
public void setFrozen(boolean frozen)
frozen
- the block is frozen by default.public 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 |