Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Khouzam2012-03-22 22:04:25 -0400
committerMarc Khouzam2012-03-22 22:04:25 -0400
commitccf74d51d0917607433997778b66dec882c14f79 (patch)
treeb97b9b92715836c36be67bbe5f95ece113259c94 /dsf-gdb
parent362cd87be01de89221ad5a3db9e47a23617a7a57 (diff)
downloadorg.eclipse.cdt-ccf74d51d0917607433997778b66dec882c14f79.tar.gz
org.eclipse.cdt-ccf74d51d0917607433997778b66dec882c14f79.tar.xz
org.eclipse.cdt-ccf74d51d0917607433997778b66dec882c14f79.zip
Bug 375131: [launch] Cancelling an attach or postmortem launch no longer cancels
Diffstat (limited to 'dsf-gdb')
-rw-r--r--dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/command/GDBControl.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/command/GDBControl.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/command/GDBControl.java
index 11b0b02aa5..dd4b956a7b 100644
--- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/command/GDBControl.java
+++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/command/GDBControl.java
@@ -311,6 +311,8 @@ public class GDBControl extends AbstractMIControl implements IGDBControl {
if (!isCanceled()) {
// Only set the status if the user has not cancelled the operation already.
rm.setStatus(getStatus());
+ } else {
+ rm.cancel();
}
rm.done();
}

Back to the top