1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

2005-01-10 Mikhail Khodjaiants

PR 82601 changes to the memory block interface
	* cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIMemoryBlock.java
This commit is contained in:
Alain Magloire 2005-01-11 20:45:26 +00:00
parent 0a9d717f51
commit a502144d5d
2 changed files with 26 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2005-01-10 Mikhail Khodjaiants
PR 82601 changes to the memory block interface
* cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIMemoryBlock.java
2005-01-11 Mikhail Khodjaiants
Use the asynchronous implementation for resume, suspend, step etc provided by eclipse 3.1.
* CDebugTarget.java

View file

@ -23,6 +23,18 @@ import org.eclipse.cdt.debug.core.cdi.CDIException;
* @since Jul 18, 2002
*/
public interface ICDIMemoryBlock extends ICDIObject {
/**
* Bit mask used to indicate a byte is read-only.
*/
public static final byte READ_ONLY = 0x01;
/**
* Bit mask used to indicate a byte is valid.
*/
public static final byte VALID = 0x02;
/**
* Returns the start address of this memory block.
*
@ -50,7 +62,16 @@ public interface ICDIMemoryBlock extends ICDIObject {
* </ul>
*/
byte[] getBytes() throws CDIException;
/**
* Returns this memory byte's attribute as a bit mask.
* The method throw IndexOutOfBoundsException if the offset
* is out of range of the block.
*
* @return this memory byte's attribute as a bit mask
*/
public byte getFlags(int offset);
/**
* Sets the value of the bytes in this memory block at the specified
* offset within this memory block to the spcified bytes.