debugger: don't complain on Running->Stopped state changes when not directly

triggered by the user
This commit is contained in:
hjk
2009-09-28 09:31:32 +02:00
parent bb1ebd0998
commit ca47f5d1b8

View File

@@ -1317,6 +1317,11 @@ void GdbEngine::handleStop2(const GdbResponse &response)
void GdbEngine::handleStop2(const GdbMi &data)
{
if (state() == InferiorRunning) {
// Stop triggered by a breakpoint or otherwise not directly
// initiated by the user.
setState(InferiorStopping);
}
setState(InferiorStopped);
showStatusMessage(tr("Stopped."), 5000);