diff options
Diffstat (limited to 'src/plugins/debugger/pdb')
-rw-r--r-- | src/plugins/debugger/pdb/pdbengine.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/debugger/pdb/pdbengine.cpp b/src/plugins/debugger/pdb/pdbengine.cpp index 9344e58a44..06ecc90297 100644 --- a/src/plugins/debugger/pdb/pdbengine.cpp +++ b/src/plugins/debugger/pdb/pdbengine.cpp @@ -140,7 +140,7 @@ void PdbEngine::exitDebugger() void PdbEngine::setupEngine() { - QTC_ASSERT(state() == EngineStarting, qDebug() << state()); + QTC_ASSERT(state() == EngineSettingUp, qDebug() << state()); m_scriptFileName = QFileInfo(startParameters().executable).absoluteFilePath(); QFile scriptFile(m_scriptFileName); @@ -148,7 +148,7 @@ void PdbEngine::setupEngine() //showMessage("STARTING " +m_scriptFileName + "FAILED"); showMessage(QString::fromLatin1("Cannot open %1: %2"). arg(m_scriptFileName, scriptFile.errorString()), LogError); - notifyEngineStartFailed(); + notifyEngineSetupFailed(); return; } m_pdbProc.disconnect(); // From any previous runs @@ -181,17 +181,17 @@ void PdbEngine::setupEngine() if (!m_pdbProc.waitForStarted()) { const QString msg = tr("Unable to start pdb '%1': %2") .arg(m_pdb, m_pdbProc.errorString()); - setState(EngineStartFailed); + setState(EngineSetupFailed); showMessage(_("ADAPTER START FAILED")); if (!msg.isEmpty()) { const QString title = tr("Adapter start failed"); Core::ICore::instance()->showWarningWithOptions(title, msg); } shutdown(); - notifyEngineStartFailed(); + notifyEngineSetupFailed(); return; } - notifyEngineStartOk(); + notifyEngineSetupOk(); } void PdbEngine::setupInferior() |