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

setDetached() was rename setDisconnected() to reduce

confusing between a attach/detach command.
This commit is contained in:
Alain Magloire 2002-10-09 02:00:21 +00:00
parent c6eacff948
commit f83f886c2d
2 changed files with 3 additions and 3 deletions

View file

@ -137,7 +137,7 @@ MIPlugin.getDefault().debugLog(line);
} else if ("exit".equals(state)) {
// No need to do anything, terminate() will.
} else if ("connected".equals(state)) {
session.getMIInferior().setAttached();
session.getMIInferior().setConnected();
}
// Clear the accumulate oobList on each new Result Command

View file

@ -382,7 +382,7 @@ public class CTarget implements ICDITarget {
}
MISession miSession = session.getMISession();
miSession.fireEvent(new MIDetachedEvent());
session.getMISession().getMIInferior().setDetached();
session.getMISession().getMIInferior().setDisconnected();
}
/**
@ -443,7 +443,7 @@ public class CTarget implements ICDITarget {
* @see org.eclipse.cdt.debug.core.cdi.model.ICDITarget#isDisconnected()
*/
public boolean isDisconnected() {
return !session.getMISession().getMIInferior().isAttached();
return !session.getMISession().getMIInferior().isConnected();
}
/**