mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 18:56:02 +02:00
Moved the memory format constants from IFormattedMemoryRetrieval.java to IFormattedMemoryBlock.java.
This commit is contained in:
parent
227e380ee2
commit
655d0606bb
3 changed files with 26 additions and 20 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2002-10-24 Mikhail Khodjaiants
|
||||||
|
Moved the memory format constants from IFormattedMemoryRetrieval.java
|
||||||
|
to IFormattedMemoryBlock.java.
|
||||||
|
* IFormattedMemoryRetrieval.java
|
||||||
|
* IFormattedMemoryBlock.java
|
||||||
|
|
||||||
2002-10-24 David Inglis
|
2002-10-24 David Inglis
|
||||||
* CDebugTarget.java
|
* CDebugTarget.java
|
||||||
fix exception on shutdown with a connected target, CDI session
|
fix exception on shutdown with a connected target, CDI session
|
||||||
|
|
|
@ -17,6 +17,26 @@ import org.eclipse.debug.core.model.IMemoryBlock;
|
||||||
*/
|
*/
|
||||||
public interface IFormattedMemoryBlock extends IMemoryBlock
|
public interface IFormattedMemoryBlock extends IMemoryBlock
|
||||||
{
|
{
|
||||||
|
public static final int MEMORY_SIZE_BYTE = 1;
|
||||||
|
public static final int MEMORY_SIZE_HALF_WORD = 2;
|
||||||
|
public static final int MEMORY_SIZE_WORD = 4;
|
||||||
|
public static final int MEMORY_SIZE_DOUBLE_WORD = 8;
|
||||||
|
public static final int MEMORY_SIZE_FLOAT = 8;
|
||||||
|
public static final int MEMORY_SIZE_DOUBLE_FLOAT = 16;
|
||||||
|
|
||||||
|
public static final int MEMORY_FORMAT_HEX = 0;
|
||||||
|
public static final int MEMORY_FORMAT_BINARY = 1;
|
||||||
|
public static final int MEMORY_FORMAT_OCTAL = 2;
|
||||||
|
public static final int MEMORY_FORMAT_SIGNED_DECIMAL = 3;
|
||||||
|
public static final int MEMORY_FORMAT_UNSIGNED_DECIMAL = 4;
|
||||||
|
|
||||||
|
public static final int MEMORY_BYTES_PER_ROW_4 = 4;
|
||||||
|
public static final int MEMORY_BYTES_PER_ROW_8 = 8;
|
||||||
|
public static final int MEMORY_BYTES_PER_ROW_16 = 16;
|
||||||
|
public static final int MEMORY_BYTES_PER_ROW_32 = 32;
|
||||||
|
public static final int MEMORY_BYTES_PER_ROW_64 = 64;
|
||||||
|
public static final int MEMORY_BYTES_PER_ROW_128 = 128;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the address expression specified to obtain this memory block.
|
* Returns the address expression specified to obtain this memory block.
|
||||||
*
|
*
|
||||||
|
|
|
@ -15,26 +15,6 @@ import org.eclipse.debug.core.DebugException;
|
||||||
*/
|
*/
|
||||||
public interface IFormattedMemoryRetrieval
|
public interface IFormattedMemoryRetrieval
|
||||||
{
|
{
|
||||||
public static final int MEMORY_SIZE_BYTE = 1;
|
|
||||||
public static final int MEMORY_SIZE_HALF_WORD = 2;
|
|
||||||
public static final int MEMORY_SIZE_WORD = 4;
|
|
||||||
public static final int MEMORY_SIZE_DOUBLE_WORD = 8;
|
|
||||||
public static final int MEMORY_SIZE_FLOAT = 8;
|
|
||||||
public static final int MEMORY_SIZE_DOUBLE_FLOAT = 16;
|
|
||||||
|
|
||||||
public static final int MEMORY_FORMAT_HEX = 0;
|
|
||||||
public static final int MEMORY_FORMAT_BINARY = 1;
|
|
||||||
public static final int MEMORY_FORMAT_OCTAL = 2;
|
|
||||||
public static final int MEMORY_FORMAT_SIGNED_DECIMAL = 3;
|
|
||||||
public static final int MEMORY_FORMAT_UNSIGNED_DECIMAL = 4;
|
|
||||||
|
|
||||||
public static final int MEMORY_BYTES_PER_ROW_4 = 4;
|
|
||||||
public static final int MEMORY_BYTES_PER_ROW_8 = 8;
|
|
||||||
public static final int MEMORY_BYTES_PER_ROW_16 = 16;
|
|
||||||
public static final int MEMORY_BYTES_PER_ROW_32 = 32;
|
|
||||||
public static final int MEMORY_BYTES_PER_ROW_64 = 64;
|
|
||||||
public static final int MEMORY_BYTES_PER_ROW_128 = 128;
|
|
||||||
|
|
||||||
int[] getSupportedFormats() throws DebugException;
|
int[] getSupportedFormats() throws DebugException;
|
||||||
|
|
||||||
IFormattedMemoryBlock getFormattedMemoryBlock( long startAddress,
|
IFormattedMemoryBlock getFormattedMemoryBlock( long startAddress,
|
||||||
|
|
Loading…
Add table
Reference in a new issue