Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Cortell2010-05-20 15:02:31 +0000
committerJohn Cortell2010-05-20 15:02:31 +0000
commit4578a2a5ca0d5a5cef5af50d77fa30466111dd38 (patch)
treec5adb58a36bb5abe78faa58f621191f95466d80f /dsf/org.eclipse.cdt.dsf
parent4a6ea58842514aad79004dab076676e020dabc3b (diff)
downloadorg.eclipse.cdt-4578a2a5ca0d5a5cef5af50d77fa30466111dd38.tar.gz
org.eclipse.cdt-4578a2a5ca0d5a5cef5af50d77fa30466111dd38.tar.xz
org.eclipse.cdt-4578a2a5ca0d5a5cef5af50d77fa30466111dd38.zip
Bug 309032: Need APIs to support memory pages (add ability for backend to indicate a memory space qualification is necessary)
Diffstat (limited to 'dsf/org.eclipse.cdt.dsf')
-rw-r--r--dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IMemorySpaces.java19
1 files changed, 15 insertions, 4 deletions
diff --git a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IMemorySpaces.java b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IMemorySpaces.java
index e5396f814ce..79794457d91 100644
--- a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IMemorySpaces.java
+++ b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IMemorySpaces.java
@@ -68,12 +68,23 @@ public interface IMemorySpaces extends IDsfService{
String getMemorySpaceId();
String getExpression();
}
-
+
/**
* Provides the memory spaces available in the given context.
*
- * @param ctx a DM context
- * @param rm the asynchronous data request monitor
+ * @param ctx
+ * a DM context
+ * @param rm
+ * the asynchronous data request monitor. Returns a collection of
+ * memory space IDs.
+ */
+ void getMemorySpaces(IDMContext context, final DataRequestMonitor<String[]> rm);
+
+ /**
+ * Return true if creating a memory block with a null memory space ID is NOT
+ * supported. Some debuggers may not have the ability to infer the memory
+ * space from an expression, in which case the user should be forced to
+ * select a memory space when being prompted for a memory location.
*/
- void getMemorySpaces(IDMContext context, final DataRequestMonitor<String[]> rm);
+ public boolean creatingBlockRequiresMemorySpaceID();
}

Back to the top