mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-10 12:03:16 +02:00
Do not test isRunning() in suspend()
This commit is contained in:
parent
b97611936d
commit
f89792d824
1 changed files with 0 additions and 3 deletions
|
@ -486,9 +486,6 @@ public class Target implements ICDITarget {
|
||||||
MISession mi = session.getMISession();
|
MISession mi = session.getMISession();
|
||||||
try {
|
try {
|
||||||
mi.getMIInferior().interrupt();
|
mi.getMIInferior().interrupt();
|
||||||
if (isRunning()) {
|
|
||||||
throw new CDIException("Unable to suspend target");
|
|
||||||
}
|
|
||||||
} catch (MIException e) {
|
} catch (MIException e) {
|
||||||
throw new MI2CDIException(e);
|
throw new MI2CDIException(e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue