1
0
Fork 0
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:
Alain Magloire 2003-08-07 15:05:37 +00:00
parent b97611936d
commit f89792d824

View file

@ -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);
} }