Skip to main content
summaryrefslogtreecommitdiffstats
path: root/dsf
diff options
context:
space:
mode:
authorPawel Piech2009-03-17 14:38:26 -0400
committerPawel Piech2009-03-17 14:38:26 -0400
commite659686dd8fdf196df23523c0caa01146ce25f3a (patch)
treebf0903657fd186a80d0b7ed1221f942de352279a /dsf
parent4eacd375ab39c3fbd68d7ee7715cb3a10149d55b (diff)
downloadorg.eclipse.cdt-e659686dd8fdf196df23523c0caa01146ce25f3a.tar.gz
org.eclipse.cdt-e659686dd8fdf196df23523c0caa01146ce25f3a.tar.xz
org.eclipse.cdt-e659686dd8fdf196df23523c0caa01146ce25f3a.zip
[269048] - [pda][run control] The suspend command is not enabled on the thread when it's running.
Diffstat (limited to 'dsf')
-rw-r--r--dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDARunControl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDARunControl.java b/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDARunControl.java
index a15977bd41..4ead1401aa 100644
--- a/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDARunControl.java
+++ b/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDARunControl.java
@@ -468,7 +468,7 @@ public class PDARunControl extends AbstractDsfService
if (!fVMSuspended) {
ThreadInfo state = fThreads.get(threadContext.getID());
if (state != null) {
- return !state.fSuspended && state.fSuspendPending;
+ return !state.fSuspended && !state.fSuspendPending;
}
}
} else {

Back to the top