the process is already dead when hitting workaround 4

Reviewed-by: hjk
This commit is contained in:
Oswald Buddenhagen
2009-11-02 11:40:42 +01:00
parent 9891267a92
commit e60a7bc69a

View File

@@ -808,6 +808,8 @@ void GdbEngine::handleResultRecord(GdbResponse *response)
debugMessage(_("APPLYING WORKAROUND #4"));
setState(InferiorStopping);
setState(InferiorStopped);
setState(InferiorShuttingDown);
setState(InferiorShutDown);
showStatusMessage(tr("Executable failed: %1")
.arg(QString::fromLocal8Bit(msg)));
shutdown();