a process scheduled for kill can exit by itself as well ...

This commit is contained in:
Oswald Buddenhagen
2009-11-05 16:19:59 +01:00
parent 61672e136f
commit e4e0cadb97

View File

@@ -1105,7 +1105,8 @@ void GdbEngine::handleStopResponse(const GdbMi &data)
setState(InferiorStopping);
} else {
// The user triggered a stop, but meanwhile the app simply exited ...
QTC_ASSERT(state() == InferiorStopping, qDebug() << state());
QTC_ASSERT(state() == InferiorStopping || state() == InferiorStopping_Kill,
qDebug() << state());
}
setState(InferiorStopped);
QString msg;