summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Riley2018-05-15 09:20:34 -0400
committerWilliam Riley2018-05-15 09:20:34 -0400
commitbbe00c902eaa69101699c40bb90e9a5c2bff016a (patch)
treeaf980304f35c7039fbba8c107fbb3d7dc666a4d3
parente533381b755faadf8f1a7f7329f32a7102a0c950 (diff)
downloadorg.eclipse.cdt-bbe00c902eaa69101699c40bb90e9a5c2bff016a.tar.gz
org.eclipse.cdt-bbe00c902eaa69101699c40bb90e9a5c2bff016a.tar.xz
org.eclipse.cdt-bbe00c902eaa69101699c40bb90e9a5c2bff016a.zip
Bug 514838 - Return sessionId when context is IExecutionDMContext
Return the session id from setDebugContext when dmContext is IExecutionDMContext. This session id is needed in DisassemblyPart.updateDebugContext() Change-Id: I28f51d990f2b9c51718e5859279ea252091e3beb
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/disassembly/DisassemblyBackendDsf.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/disassembly/DisassemblyBackendDsf.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/disassembly/DisassemblyBackendDsf.java
index cf71de4363..6b5dd4ff4e 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/disassembly/DisassemblyBackendDsf.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/disassembly/DisassemblyBackendDsf.java
@@ -269,7 +269,7 @@ public class DisassemblyBackendDsf extends AbstractDisassemblyBackend implements
}
} else if (dmContext instanceof IExecutionDMContext) {
// When switching to and between thread and application nodes.
- result.sessionId = null;
+ result.sessionId = fDsfSessionId;
result.contextChanged = false;
fTargetContext = (IExecutionDMContext) dmContext;
fTargetFrameContext = null;