Debugger: State machine cosmetics

Remove one unused notification, rename notifyInferiorUnrunnable.

Change-Id: I585d3a8606585fbdd8ad48e5eeecf629542bd93c
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2015-02-26 15:21:43 +01:00
parent 958c0cebb9
commit a21afdd2a0
6 changed files with 5 additions and 17 deletions

View File

@@ -243,7 +243,7 @@ void GdbCoreEngine::runEngine()
void GdbCoreEngine::handleTargetCore(const DebuggerResponse &response)
{
QTC_ASSERT(state() == EngineRunRequested, qDebug() << state());
notifyInferiorUnrunnable();
notifyEngineRunOkAndInferiorUnrunnable();
if (response.resultClass == ResultDone) {
showMessage(tr("Attached to core."), StatusBar);
// Due to the auto-solib-add off setting, we don't have any