aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/gdb/remotegdbserveradapter.cpp
diff options
context:
space:
mode:
authorhjk <hjk@theqtcompany.com>2015-08-14 17:15:32 +0200
committerhjk <hjk@theqtcompany.com>2015-09-01 06:57:29 +0000
commitcda1f94b182dcca925e050de2612682748682e14 (patch)
tree2ee9b4c2e22acef69a5d8c68c77f392bb01a0ea0 /src/plugins/debugger/gdb/remotegdbserveradapter.cpp
parentba2b210b8325c880c5f2c4b60ac5fe4021d218f6 (diff)
Debugger: Remove queued commands in GDB engine
Instead, always pipe them into the GDB process, even if the inferior is not stopped. The original need to hold back commands until the inferior is stopped seems to be long gone. Change-Id: I234fdd067d78966c9896f1fa85a134900bf6dec7 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
Diffstat (limited to 'src/plugins/debugger/gdb/remotegdbserveradapter.cpp')
-rw-r--r--src/plugins/debugger/gdb/remotegdbserveradapter.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/debugger/gdb/remotegdbserveradapter.cpp b/src/plugins/debugger/gdb/remotegdbserveradapter.cpp
index 0f3f4f234a..8ca0870aee 100644
--- a/src/plugins/debugger/gdb/remotegdbserveradapter.cpp
+++ b/src/plugins/debugger/gdb/remotegdbserveradapter.cpp
@@ -401,7 +401,6 @@ void GdbRemoteServerEngine::handleSetNtoExecutable(const DebuggerResponse &respo
QString msg = QString::fromLocal8Bit(response.data["msg"].data());
notifyInferiorSetupFailed(msg);
}
-
}
void GdbRemoteServerEngine::runEngine()
@@ -435,8 +434,7 @@ void GdbRemoteServerEngine::interruptInferior2()
{
QTC_ASSERT(state() == InferiorStopRequested, qDebug() << state());
if (boolSetting(TargetAsync)) {
- postCommand("-exec-interrupt", GdbEngine::Immediate,
- CB(handleInterruptInferior));
+ postCommand("-exec-interrupt", NoFlags, CB(handleInterruptInferior));
} else if (m_isQnxGdb && HostOsInfo::isWindowsHost()) {
m_gdbProc.interrupt();
} else {