From 9ae0575ae286ae21a58d05ce92c94f20c89fc7bb Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Date: Fri, 9 Oct 2009 13:38:13 +0200 Subject: [PATCH] add central GdbEngine::handleInferiorPidChanged() fixes build --- src/plugins/debugger/gdb/gdbengine.cpp | 2 +- src/plugins/debugger/gdb/gdbengine.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index 7ad671eddae..e02bd7486d1 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -658,7 +658,7 @@ void GdbEngine::maybeHandleInferiorPidChanged(const QString &pid0) return; debugMessage(_("FOUND PID %1").arg(pid)); - manager()->notifyInferiorPidChanged(pid); + handleInferiorPidChanged(pid); if (m_dumperInjectionLoad) tryLoadDebuggingHelpers(); } diff --git a/src/plugins/debugger/gdb/gdbengine.h b/src/plugins/debugger/gdb/gdbengine.h index eb16b9fd8c4..989c294feb3 100644 --- a/src/plugins/debugger/gdb/gdbengine.h +++ b/src/plugins/debugger/gdb/gdbengine.h @@ -278,6 +278,7 @@ private: QMainWindow *mainWindow() const; DebuggerStartMode startMode() const; qint64 inferiorPid() const { return m_manager->inferiorPid(); } + void handleInferiorPidChanged(qint64 pid) { manager()->notifyInferiorPidChanged(pid); } void handleChildren(const WatchData &parent, const GdbMi &child, QList<WatchData> *insertions); -- GitLab