Commit 5bb8134e authored by hjk's avatar hjk

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

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

Change-Id: I172b8b8d58a3960d9d93b48e692e612b7627ba56
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@digia.com>
Reviewed-by: default avatarTim Sander <tim@krieglstein.org>
parent 6157b2a7
......@@ -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:
......
......@@ -182,7 +182,6 @@ void LinuxDeviceDebugSupport::startExecution()
if (command.isEmpty())
command = QLatin1String("gdbserver");
args.clear();
args.append(QString::fromLatin1("--once"));
args.append(QString::fromLatin1("--multi"));
args.append(QString::fromLatin1(":%1").arg(d->gdbServerPort));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment