1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-16 21:45:22 +02:00

Fix for bug 49282 terminate the gdb session if the termination of the inferior fails.

This commit is contained in:
Mikhail Khodjaiants 2003-12-22 19:37:22 +00:00
parent 9376ac2eba
commit 8a776c8979
2 changed files with 6 additions and 1 deletions

View file

@ -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 2003-12-22 Mikhail Khodjaiants
Fix for Bug 49278 do not retry the "info threads" command if the first attempt fails. 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. Throw an exception from the "getCThreads" method when it fails.

View file

@ -601,7 +601,7 @@ public class Target implements ICDITarget {
try { try {
session.getMISession().getMIInferior().terminate(); session.getMISession().getMIInferior().terminate();
} catch (MIException e) { } catch (MIException e) {
throw new MI2CDIException(e); session.terminate();
} }
} }