Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Khodjaiants2003-12-22 14:37:22 -0500
committerMikhail Khodjaiants2003-12-22 14:37:22 -0500
commit8a776c89791bcfdff6d0d2f9c9621bdf357fa92d (patch)
treebf7a48bb5a393739d12463cc3e718dc7a9ed4e5f
parent9376ac2eba0fcb91866f77786a887c09d0647a0a (diff)
downloadorg.eclipse.cdt-8a776c89791bcfdff6d0d2f9c9621bdf357fa92d.tar.gz
org.eclipse.cdt-8a776c89791bcfdff6d0d2f9c9621bdf357fa92d.tar.xz
org.eclipse.cdt-8a776c89791bcfdff6d0d2f9c9621bdf357fa92d.zip
Fix for bug 49282 terminate the gdb session if the termination of the inferior fails.
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/ChangeLog5
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/model/Target.java2
2 files changed, 6 insertions, 1 deletions
diff --git a/debug/org.eclipse.cdt.debug.mi.core/ChangeLog b/debug/org.eclipse.cdt.debug.mi.core/ChangeLog
index c047a6b69e8..62001530c35 100644
--- a/debug/org.eclipse.cdt.debug.mi.core/ChangeLog
+++ b/debug/org.eclipse.cdt.debug.mi.core/ChangeLog
@@ -1,4 +1,9 @@
2003-12-22 Mikhail Khodjaiants
+ Fix for bug 49282 terminate the gdb session if the termination of the inferior fails.
+
+ * src/org/eclipse/cdt/debug/mi/core/cdi/model/Target.java
+
+2003-12-22 Mikhail Khodjaiants
Fix for Bug 49278 do not retry the "info threads" command if the first attempt fails.
Throw an exception from the "getCThreads" method when it fails.
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/model/Target.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/model/Target.java
index 8bba618d1ce..4d98e82dce8 100644
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/model/Target.java
+++ b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/model/Target.java
@@ -601,7 +601,7 @@ public class Target implements ICDITarget {
try {
session.getMISession().getMIInferior().terminate();
} catch (MIException e) {
- throw new MI2CDIException(e);
+ session.terminate();
}
}

Back to the top