|
PTP Release 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPDIMemoryBlock
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. |
IPDIDataReadMemoryInfo |
getDataReadMemoryInfo()
|
String |
getExpression()
|
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()
Returns the size of each memory word in bytes |
boolean |
isFrozen()
Determines whether the block does not update |
void |
refresh()
Refresh the data, this may cause events to be trigger if the data values changed. |
void |
setDataReadMemoryInfo(IPDIDataReadMemoryInfo m)
|
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 specified bytes. |
| Methods inherited from interface org.eclipse.ptp.debug.core.pdi.IPDISessionObject |
|---|
getSession |
| Methods inherited from interface org.eclipse.ptp.debug.core.pdi.IPDISet |
|---|
getTasks |
| Field Detail |
|---|
static final byte READ_ONLY
static final byte VALID
| Method Detail |
|---|
IPDIDataReadMemoryInfo getDataReadMemoryInfo()
String getExpression()
byte getFlags(int offset)
void setDataReadMemoryInfo(IPDIDataReadMemoryInfo m)
m -
byte[] getBytes()
throws PDIException
PDIExceptionlong getLength()
BigInteger getStartAddress()
int getWordSize()
boolean isFrozen()
void refresh()
throws PDIException
PDIException - on failurevoid setFrozen(boolean frozen)
frozen - the block is frozen by default
void setValue(long offset,
byte[] bytes)
throws PDIException
offset - the offset at which to set the new valuesbytes - the new values
throws PDIException if this method fails. Reasons include:
PDIException
|
PTP Release 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||