1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Interrupt() method now throws MIException.

This commit is contained in:
Alain Magloire 2002-09-25 20:00:11 +00:00
parent 04ac19ff94
commit 6725ba2595

View file

@ -354,11 +354,11 @@ public class CTarget implements ICDITarget {
* @see org.eclipse.cdt.debug.core.cdi.model.ICDITarget#suspend()
*/
public void suspend() throws CDIException {
session.getMISession().getMIInferior().interrupt();
// send a noop to see if we get an aswer.
MISession mi = session.getMISession();
MICommand noop = new MICommand("");
try {
mi.getMIInferior().interrupt();
mi.postCommand(noop);
MIInfo info = noop.getMIInfo();
if (info == null) {