diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index 4be8e4a38e2..09e41b00a7d 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -1305,19 +1305,6 @@ void GdbEngine::handleShowVersion(const GdbResponse &response) } } -void GdbEngine::handleFileExecAndSymbols(const GdbResponse &response) -{ - if (response.resultClass == GdbResultDone) { - //m_breakHandler->clearBreakMarkers(); - } else { - QString msg = __(response.data.findChild("msg").data()); - showMessageBox(QMessageBox::Critical, tr("Starting executable failed"), msg); - QTC_ASSERT(state() == InferiorRunning, /**/); - //interruptInferior(); - shutdown(); - } -} - void GdbEngine::handleExecContinue(const GdbResponse &response) { if (response.resultClass == GdbResultRunning) { diff --git a/src/plugins/debugger/gdb/gdbengine.h b/src/plugins/debugger/gdb/gdbengine.h index ca44662baeb..75f001c40e3 100644 --- a/src/plugins/debugger/gdb/gdbengine.h +++ b/src/plugins/debugger/gdb/gdbengine.h @@ -258,20 +258,16 @@ private slots: private: int terminationIndex(const QByteArray &buffer, int &length); void handleResponse(const QByteArray &buff); - void handleStart(const GdbResponse &response); void handleStopResponse(const GdbMi &data); void handleStop1(const GdbResponse &response); void handleStop1(const GdbMi &data); void handleStop2(const GdbResponse &response); void handleStop2(const GdbMi &data); void handleResultRecord(const GdbResponse &response); - void handleFileExecAndSymbols(const GdbResponse &response); void handleExecContinue(const GdbResponse &response); - void handleExecJumpToLine(const GdbResponse &response); // void handleExecRunToFunction(const GdbResponse &response); void handleInfoShared(const GdbResponse &response); void handleShowVersion(const GdbResponse &response); - void handleQueryPwd(const GdbResponse &response); void handleQuerySources(const GdbResponse &response); void handleWatchPoint(const GdbResponse &response); bool showToolTip();