Skip to main content
summaryrefslogtreecommitdiffstats
path: root/dsf
diff options
context:
space:
mode:
authorMarc Dumais2016-02-26 09:38:21 -0500
committerMarc Dumais2016-03-30 10:00:00 -0400
commitb28d8e45d1d0e506ff54781be9d7a5e75e99c615 (patch)
tree3a58ca9e9c33a2f5a569cc5cc8220924ece76cc4 /dsf
parent91f9730d27405e5f2fce81032300fcacf12c0ea8 (diff)
downloadorg.eclipse.cdt-b28d8e45d1d0e506ff54781be9d7a5e75e99c615.tar.gz
org.eclipse.cdt-b28d8e45d1d0e506ff54781be9d7a5e75e99c615.tar.xz
org.eclipse.cdt-b28d8e45d1d0e506ff54781be9d7a5e75e99c615.zip
bug 488469 - [traditional memory rendering] add preference for coloring
background independently for different memory spaces Change-Id: If61d909ef66b9c11aebe0863b787af465121dd59
Diffstat (limited to 'dsf')
-rw-r--r--dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/model/DsfMemoryBlock.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/model/DsfMemoryBlock.java b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/model/DsfMemoryBlock.java
index 08641104c3..a2065fa6e5 100644
--- a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/model/DsfMemoryBlock.java
+++ b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/model/DsfMemoryBlock.java
@@ -130,6 +130,9 @@ public class DsfMemoryBlock extends PlatformObject implements IMemoryBlockExtens
if (adapter.isAssignableFrom(DsfMemoryBlockRetrieval.class)) {
return fRetrieval;
}
+ if (adapter.isAssignableFrom(IMemoryDMContext.class)) {
+ return getContext();
+ }
return super.getAdapter(adapter);
}

Back to the top