diff options
author | Anton Leherbauer | 2015-05-05 11:39:53 +0000 |
---|---|---|
committer | Anton Leherbauer | 2015-05-05 11:50:46 +0000 |
commit | cf7c20392b15946fa202909ff815625cb33d36d3 (patch) | |
tree | aa7a7a7d70795c7760e37c7acb488fc991e91db0 /plugins | |
parent | 188c74c2ebb0ab5a1650b95bee2810772487e896 (diff) | |
download | org.eclipse.tcf-cf7c20392b15946fa202909ff815625cb33d36d3.tar.gz org.eclipse.tcf-cf7c20392b15946fa202909ff815625cb33d36d3.tar.xz org.eclipse.tcf-cf7c20392b15946fa202909ff815625cb33d36d3.zip |
TCF Debugger: Disassembly view can get unresponsive on context change
The disassembly view handles a debug context change only after any
pending request is completed. The TCFDisassemblyBackend did not reset
the update pending flag when a request got invalid due to
a debug context change. This could make the view unresponsive waiting
for the completion of the pending request.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/disassembly/TCFDisassemblyBackend.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/disassembly/TCFDisassemblyBackend.java b/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/disassembly/TCFDisassemblyBackend.java index 438a52244..7dceea73a 100644 --- a/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/disassembly/TCFDisassemblyBackend.java +++ b/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/disassembly/TCFDisassemblyBackend.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2010, 2014 Wind River Systems, Inc. and others. + * Copyright (c) 2010, 2015 Wind River Systems, Inc. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -265,7 +265,6 @@ public class TCFDisassemblyBackend extends AbstractDisassemblyBackend { else if (!done) { done = true; /* Don't call setUpdatePending() if pending state was reset by the view */ - if (context_cnt != fContextCount) return; if (!fCallback.getUpdatePending()) return; fCallback.setUpdatePending(false); } |