Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] Replaced 'MEMORY_BYTES_PER_ROW_...' constants by 'MEMORY_NUMBER_OF_COLUMNS_...'

Replaced 'MEMORY_BYTES_PER_ROW_...' constants by 'MEMORY_NUMBER_OF_COLUMNS_...'.

Index: ChangeLog
===================================================================
RCS file: /home/tools/org.eclipse.cdt.debug.core/ChangeLog,v
retrieving revision 1.30
diff -u -r1.30 ChangeLog
--- ChangeLog 25 Oct 2002 15:52:16 -0000 1.30
+++ ChangeLog 25 Oct 2002 17:04:40 -0000
@@ -1,4 +1,7 @@
 2002-10-25 Mikhail Khodjaiants
+ * IFormattedMemoryBlock.java: Replaced 'MEMORY_BYTES_PER_ROW_...' constants by 'MEMORY_NUMBER_OF_COLUMNS_...'.
+
+2002-10-25 Mikhail Khodjaiants
  Remove the 'setWordSize' method from 'IFormattedMemoryBlock' and use 'reformat' instead.
  * IFormattedMemoryBlock.java: removed the 'setWordSize' method.
  * CFormattedMemoryBlock.java: removed the implementation of 'setWordSize' method.
Index: src/org/eclipse/cdt/debug/core/IFormattedMemoryBlock.java
===================================================================
RCS file: /home/tools/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/IFormattedMemoryBlock.java,v
retrieving revision 1.7
diff -u -r1.7 IFormattedMemoryBlock.java
--- src/org/eclipse/cdt/debug/core/IFormattedMemoryBlock.java 25 Oct 2002 15:52:16 -0000 1.7
+++ src/org/eclipse/cdt/debug/core/IFormattedMemoryBlock.java 25 Oct 2002 17:04:40 -0000
@@ -30,12 +30,11 @@
  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;
+ public static final int MEMORY_NUMBER_OF_COLUMNS_1 = 1;
+ public static final int MEMORY_NUMBER_OF_COLUMNS_2 = 2;
+ public static final int MEMORY_NUMBER_OF_COLUMNS_4 = 4;
+ public static final int MEMORY_NUMBER_OF_COLUMNS_8 = 8;
+ public static final int MEMORY_NUMBER_OF_COLUMNS_16 = 16;
 
  /**
   * Returns the address _expression_ specified to obtain this memory block.


Back to the top