mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-19 23:15:24 +02:00
Fix for bug 49282 terminate the gdb session if the termination of the inferior fails.
This commit is contained in:
parent
5432ae0bcd
commit
ac91633edf
2 changed files with 7 additions and 2 deletions
|
@ -1,5 +1,10 @@
|
||||||
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 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.
|
Throw an exception from the "getCThreads" method when it fails.
|
||||||
|
|
||||||
* src/org/eclipse/cdt/debug/mi/core/cdi/model/Target.java
|
* src/org/eclipse/cdt/debug/mi/core/cdi/model/Target.java
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue