From d4ea80ef7c4b05446ab6fe238f023ec9f4758f95 Mon Sep 17 00:00:00 2001 From: hjk Date: Wed, 23 May 2018 14:57:22 +0200 Subject: [PATCH] Debugger: Conceptually fix temporary stop of mixed gdb+qml engine There's no actual change, the code could only be triggered when the gdb side was active, but it triggered a stop of the combo which then redirected to the active one. It's always and only the gdb side that needs stopping, so do it directly. Change-Id: I1a6273b826be8f38993c9968d874b7b3daf0d0c7 Reviewed-by: Christian Stenger --- src/plugins/debugger/gdb/gdbengine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index dc0af460838..65ebc198ea4 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -757,7 +757,7 @@ void GdbEngine::runCommand(const DebuggerCommand &command) if (state() == InferiorRunOk) { showStatusMessage(tr("Stopping temporarily."), 1000); m_onStop.append(cmd, wantContinue); - requestInterruptInferior(); + interruptInferior(); return; } if (state() != InferiorStopOk)