Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] Moved the memory management functionality to the core.

Moved the memory management functionality to the core.

Index: ChangeLog
===================================================================
RCS file: /home/tools/org.eclipse.cdt.debug.ui/ChangeLog,v
retrieving revision 1.3
diff -u -r1.3 ChangeLog
--- ChangeLog 15 Oct 2002 18:29:03 -0000 1.3
+++ ChangeLog 15 Oct 2002 21:34:59 -0000
@@ -1,4 +1,8 @@
 2002-10-15 Mikhail Khodjaiants
+ * CDebugUIPlugin.java: Moved the memory management functionality to the core.
+ * MemoryControlArea.java: Moved the memory management functionality to the core.
+
+2002-10-15 Mikhail Khodjaiants
  * CDebugPreferencePage.java: Implementation of the 'Automatically switch to disassembly mode' preference.
 
 2002-10-14 Mikhail Khodjaiants
Index: src/org/eclipse/cdt/debug/internal/ui/views/memory/MemoryControlArea.java
===================================================================
RCS file: /home/tools/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/memory/MemoryControlArea.java,v
retrieving revision 1.3
diff -u -r1.3 MemoryControlArea.java
--- src/org/eclipse/cdt/debug/internal/ui/views/memory/MemoryControlArea.java 8 Oct 2002 20:35:59 -0000 1.3
+++ src/org/eclipse/cdt/debug/internal/ui/views/memory/MemoryControlArea.java 15 Oct 2002 21:34:59 -0000
@@ -9,8 +9,6 @@
 import org.eclipse.cdt.debug.core.IFormattedMemoryBlock;
 import org.eclipse.cdt.debug.core.IFormattedMemoryRetrieval;
 import org.eclipse.cdt.debug.internal.ui.preferences.ICDebugPreferenceConstants;
-import org.eclipse.cdt.debug.ui.CDebugUIPlugin;
-//import org.eclipse.jface.preference.IPreferenceStore;
 import org.eclipse.jface.util.PropertyChangeEvent;
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.events.KeyAdapter;
@@ -145,7 +143,7 @@
  public void setInput( IFormattedMemoryRetrieval input )
  {
   fInput = input;
-  fMemoryBlock = CDebugUIPlugin.getDefault().getBlock( fInput, fIndex );
+//  fMemoryBlock = CDebugUIPlugin.getDefault().getBlock( fInput, fIndex );
   fPresentation.setMemoryBlock( fMemoryBlock );
   refresh();  
  }
Index: src/org/eclipse/cdt/debug/ui/CDebugUIPlugin.java
===================================================================
RCS file: /home/tools/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/CDebugUIPlugin.java,v
retrieving revision 1.10
diff -u -r1.10 CDebugUIPlugin.java
--- src/org/eclipse/cdt/debug/ui/CDebugUIPlugin.java 14 Oct 2002 05:03:18 -0000 1.10
+++ src/org/eclipse/cdt/debug/ui/CDebugUIPlugin.java 15 Oct 2002 21:34:59 -0000
@@ -6,8 +6,6 @@
 import java.util.ResourceBundle;
 
 import org.eclipse.cdt.debug.core.IDisassemblyStorage;
-import org.eclipse.cdt.debug.core.IFormattedMemoryBlock;
-import org.eclipse.cdt.debug.core.IFormattedMemoryRetrieval;
 import org.eclipse.cdt.debug.core.ISwitchToFrame;
 import org.eclipse.cdt.debug.core.ISwitchToThread;
 import org.eclipse.cdt.debug.internal.ui.CDTDebugModelPresentation;
@@ -165,28 +163,6 @@
  public static CDTDebugModelPresentation getDebugModelPresentation()
  {
   return CDTDebugModelPresentation.getDefault();
- }
-
- public void addBlock( IFormattedMemoryRetrieval mbr, IFormattedMemoryBlock memoryBlock )
- {
- }

- public void removeBlock( IFormattedMemoryRetrieval mbr, IFormattedMemoryBlock memoryBlock )
- {
- }
-
- public void removeAllBlocks( IFormattedMemoryRetrieval mbr )
- {
- }
-
- public IFormattedMemoryBlock getBlock( IFormattedMemoryRetrieval mbr, int index )
- {
-  return null;
- }
-
- public IFormattedMemoryBlock[] getBlocks( IFormattedMemoryRetrieval mbr )
- {
-  return new IFormattedMemoryBlock[0];
  }
  
  /**


Back to the top