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,3 +1,8 @@ +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(); } }