1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +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 20:27:31 +00:00
parent 5432ae0bcd
commit ac91633edf
2 changed files with 7 additions and 2 deletions

View file

@ -1,5 +1,10 @@
2003-12-22 Mikhail Khodjaiants
Fix for bug 49278 do not retry the "info threads" command if the first attempt fails.
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.
* src/org/eclipse/cdt/debug/mi/core/cdi/model/Target.java

View file

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