1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-17 21:25:58 +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:
Alain Magloire 2005-03-25 05:01:23 +00:00
parent 28ea038670
commit 6f398f8b5b
4 changed files with 9 additions and 3 deletions

View file

@ -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 2005-03-23 Alain Magloire
Change is the ICDIMemoryBlock&& ICDIMemoryManagement API Change is the ICDIMemoryBlock&& ICDIMemoryManagement API
* cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIMemoryBlock.java * cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIMemoryBlock.java

View file

@ -56,7 +56,8 @@ public interface ICDIMemoryBlock extends ICDIObject {
/** /**
* Returns the values of the bytes currently contained * Returns the values of the bytes currently contained
* in this this memory block. * in this this memory block.
* * Note: the number maybe greater or lower to what
* was requested.
* @return the values of the bytes currently contained * @return the values of the bytes currently contained
* in this this memory block * in this this memory block
* @exception CDIException if this method fails. Reasons include: * @exception CDIException if this method fails. Reasons include:

View file

@ -24,7 +24,6 @@ public interface ICDIMemoryBlockManagement {
/** /**
* Returns a memory block specified by given identifier. * Returns a memory block specified by given identifier.
* total = units * wordSize;
* @param address * @param address
* @param units - number of units * @param units - number of units
* @param wordSize - The size of each memory word in bytes * @param wordSize - The size of each memory word in bytes

View file

@ -401,7 +401,8 @@ public class CMemoryBlockExtension extends CDebugElement implements IMemoryBlock
* @see org.eclipse.debug.core.model.IMemoryBlockExtension#getAddressibleSize() * @see org.eclipse.debug.core.model.IMemoryBlockExtension#getAddressibleSize()
*/ */
public int getAddressibleSize() { public int getAddressibleSize() {
return fWordSize; ICDIMemoryBlock block = getCDIBlock();
return ( block != null ) ? block.getWordSize() : fWordSize;
} }
/* (non-Javadoc) /* (non-Javadoc)