Debugger: Support gdbservers that don't have --once again

There are too many setup without support for --once.

Change-Id: I172b8b8d58a3960d9d93b48e692e612b7627ba56
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Reviewed-by: Tim Sander <tim@krieglstein.org>
This commit is contained in:
hjk
2014-10-02 17:29:31 +02:00
parent 6157b2a72a
commit 5bb8134ec1
2 changed files with 1 additions and 1 deletions

View File

@@ -1945,6 +1945,7 @@ void GdbEngine::notifyAdapterShutdownOk()
m_commandsDoneCallback = 0;
switch (m_gdbProc->state()) {
case QProcess::Running:
postCommand("monitor exit");
postCommand("-gdb-exit", GdbEngine::ExitRequest, CB(handleGdbExit));
break;
case QProcess::NotRunning: