mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
2005-03-24 Alain Magloire
* cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIMemoryBlock.java * cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIMemoryBlockManagement.java * src/org/eclipse/cdt/debug/internal/core/model/CMemoryBlockExtension.java
This commit is contained in:
parent
28ea038670
commit
6f398f8b5b
4 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-03-24 Alain Magloire
|
||||
* cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIMemoryBlock.java
|
||||
* cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIMemoryBlockManagement.java
|
||||
* src/org/eclipse/cdt/debug/internal/core/model/CMemoryBlockExtension.java
|
||||
|
||||
2005-03-23 Alain Magloire
|
||||
Change is the ICDIMemoryBlock&& ICDIMemoryManagement API
|
||||
* cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIMemoryBlock.java
|
||||
|
|
|
@ -56,7 +56,8 @@ public interface ICDIMemoryBlock extends ICDIObject {
|
|||
/**
|
||||
* Returns the values of the bytes currently contained
|
||||
* in this this memory block.
|
||||
*
|
||||
* Note: the number maybe greater or lower to what
|
||||
* was requested.
|
||||
* @return the values of the bytes currently contained
|
||||
* in this this memory block
|
||||
* @exception CDIException if this method fails. Reasons include:
|
||||
|
|
|
@ -24,7 +24,6 @@ public interface ICDIMemoryBlockManagement {
|
|||
|
||||
/**
|
||||
* Returns a memory block specified by given identifier.
|
||||
* total = units * wordSize;
|
||||
* @param address
|
||||
* @param units - number of units
|
||||
* @param wordSize - The size of each memory word in bytes
|
||||
|
|
|
@ -401,7 +401,8 @@ public class CMemoryBlockExtension extends CDebugElement implements IMemoryBlock
|
|||
* @see org.eclipse.debug.core.model.IMemoryBlockExtension#getAddressibleSize()
|
||||
*/
|
||||
public int getAddressibleSize() {
|
||||
return fWordSize;
|
||||
ICDIMemoryBlock block = getCDIBlock();
|
||||
return ( block != null ) ? block.getWordSize() : fWordSize;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
|
|
Loading…
Add table
Reference in a new issue