diff --git a/src/plugins/debugger/gdb/remotegdbprocess.cpp b/src/plugins/debugger/gdb/remotegdbprocess.cpp index c88c0ba2d3f450cfff711a90ca9a28184331b1de..36c5df7b586d4d48a23a26e118277cfe35892759 100644 --- a/src/plugins/debugger/gdb/remotegdbprocess.cpp +++ b/src/plugins/debugger/gdb/remotegdbprocess.cpp @@ -144,7 +144,7 @@ void RemoteGdbProcess::handleAppOutputReaderStarted() connect(m_appOutputReader.data(), SIGNAL(outputAvailable(QByteArray)), this, SLOT(handleAppOutput(QByteArray))); - QByteArray cmdLine = "DISPLAY=:0.0 " + Utils::QtcProcess::quoteArgUnix(m_command).toUtf8() + ' ' + QByteArray cmdLine = "DISPLAY=:0.0 " + m_command.toUtf8() + ' ' + Utils::QtcProcess::joinArgsUnix(m_cmdArgs).toUtf8() + " -tty=" + m_appOutputFileName; if (!m_wd.isEmpty())