CDB: Quote executable in debugger launch.

Task-number: QTCREATORBUG-8125
Change-Id: Iaed1a7a4d68c50f8f06dc6be4b9a73933e835988
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Friedemann Kleint
2012-11-01 17:24:40 +01:00
committed by hjk
parent 39b3c0a1e8
commit e3e8cc4386

View File

@@ -64,6 +64,7 @@
#include <projectexplorer/projectexplorerconstants.h>
#include <utils/synchronousprocess.h>
#include <utils/qtcprocess.h>
#include <utils/winutils.h>
#include <utils/qtcassert.h>
#include <utils/savedaction.h>
@@ -677,7 +678,8 @@ bool CdbEngine::launchCDB(const DebuggerStartParameters &sp, QString *errorMessa
case StartExternal:
if (!nativeArguments.isEmpty())
nativeArguments.push_back(blank);
nativeArguments += QDir::toNativeSeparators(sp.executable);
Utils::QtcProcess::addArgs(&nativeArguments,
QStringList(QDir::toNativeSeparators(sp.executable)));
break;
case AttachToRemoteServer:
break;