mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Support of the "Memory Unit Size" action.
This commit is contained in:
parent
08451dae9e
commit
dff4a9566b
3 changed files with 21 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-10-24 Mikhail Khodjaiants
|
||||
Support of the "Memory Unit Size" action.
|
||||
* IFormattedMemoryBlock.java: added the 'setWordsize' method.
|
||||
* CFormattedMemoryBlock.java: implementation of the 'setWordSize' method.
|
||||
|
||||
2002-10-24 Mikhail Khodjaiants
|
||||
Moved the memory format constants from IFormattedMemoryRetrieval.java
|
||||
to IFormattedMemoryBlock.java.
|
||||
|
|
|
@ -58,6 +58,13 @@ public interface IFormattedMemoryBlock extends IMemoryBlock
|
|||
*/
|
||||
int getWordSize();
|
||||
|
||||
/**
|
||||
* Sets the size of memory unit.
|
||||
*
|
||||
* @param size the size of memory unit
|
||||
*/
|
||||
void setWordSize( int size );
|
||||
|
||||
/**
|
||||
* Returns the number of rows in the output table.
|
||||
*
|
||||
|
|
|
@ -465,4 +465,13 @@ public class CFormattedMemoryBlock extends CDebugElement
|
|||
{
|
||||
getCDIMemoryBlock().setFrozen( frozen );
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.eclipse.cdt.debug.core.IFormattedMemoryBlock#setWordSize(int)
|
||||
*/
|
||||
public void setWordSize( int size )
|
||||
{
|
||||
resetRows();
|
||||
fWordSize = size;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue