Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Cortell2009-10-14 13:55:03 -0400
committerJohn Cortell2009-10-14 13:55:03 -0400
commit7042d486ff6c8c65cea3479ab112030fa99c6c4e (patch)
tree2730372b628bb7b3dba6fb2d4d1ecf0c6fffcfd0 /debug/org.eclipse.cdt.debug.mi.core
parent424cf54073e029fe434ad3964c475f4111c916fe (diff)
downloadorg.eclipse.cdt-7042d486ff6c8c65cea3479ab112030fa99c6c4e.tar.gz
org.eclipse.cdt-7042d486ff6c8c65cea3479ab112030fa99c6c4e.tar.xz
org.eclipse.cdt-7042d486ff6c8c65cea3479ab112030fa99c6c4e.zip
[292300] MIProcessAdapter doesn't destroy process even if launch timed out
Diffstat (limited to 'debug/org.eclipse.cdt.debug.mi.core')
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/MIProcessAdapter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/MIProcessAdapter.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/MIProcessAdapter.java
index e25bc8c668..1d81fe7cde 100644
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/MIProcessAdapter.java
+++ b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/MIProcessAdapter.java
@@ -91,7 +91,7 @@ public class MIProcessAdapter implements MIProcess {
if (monitor.isCanceled()) {
pgdb.destroy();
throw new OperationCanceledException();
- } else if (timepass > launchTimeout) {
+ } else if (timepass >= launchTimeout) {
pgdb.destroy();
String message = MIPlugin.getResourceString("src.GDBDebugger.Error_launch_timeout"); //$NON-NLS-1$
throw new IOException(message);

Back to the top