1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-01 13:25:45 +02:00

Do not throw an exception if the target is interrupted

This commit is contained in:
Alain Magloire 2003-12-09 16:11:35 +00:00
parent bd6255589b
commit d2f10d5cf1

View file

@ -191,10 +191,6 @@ public class MIInferior extends Process {
}
}
}
// If we've failed throw an exception up.
if (state == RUNNING) {
throw new MIException("Failed to interrupt");
}
} else {
// Try the exec-interrupt; this will be for "gdb --async"
// CommandFactory factory = session.getCommandFactory();
@ -204,7 +200,11 @@ public class MIInferior extends Process {
// MIInfo info = interrupt.getMIInfo();
// } catch (MIException e) {
// }
throw new MIException("Interruption no supported");
//throw new MIException("Interruption no supported");
}
// If we've failed throw an exception up.
if (state == RUNNING) {
throw new MIException("Failed to interrupt");
}
}