summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/gdb/remotegdbserveradapter.cpp
diff options
context:
space:
mode:
authorTobias Nätterlund <tobias.naetterlund.qnx@kdab.com>2013-11-05 14:29:05 +0100
committerTobias Nätterlund <tobias.naetterlund@kdab.com>2013-11-15 12:51:17 +0100
commit49eb7349732d7873e931e604e8f17c63b68b639d (patch)
tree57bab0c0ae0dd12118926632ceaeb4937771398f /src/plugins/debugger/gdb/remotegdbserveradapter.cpp
parent56fc59ab5f089125232a3bef67aeaf2b93aa38e1 (diff)
downloadqt-creator-49eb7349732d7873e931e604e8f17c63b68b639d.tar.gz
QNX: Fix QML debugging on remote QNX devices
Change-Id: I7e5be01328ab32db9218fbdefaede7044131d2b9 Reviewed-by: hjk <hjk121@nokiamail.com> Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'src/plugins/debugger/gdb/remotegdbserveradapter.cpp')
-rw-r--r--src/plugins/debugger/gdb/remotegdbserveradapter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/gdb/remotegdbserveradapter.cpp b/src/plugins/debugger/gdb/remotegdbserveradapter.cpp
index a32387a577..5cec6a3572 100644
--- a/src/plugins/debugger/gdb/remotegdbserveradapter.cpp
+++ b/src/plugins/debugger/gdb/remotegdbserveradapter.cpp
@@ -182,7 +182,7 @@ void GdbRemoteServerEngine::setupInferior()
//const QByteArray sysroot = sp.sysroot.toLocal8Bit();
//const QByteArray remoteArch = sp.remoteArchitecture.toLatin1();
- const QString args = sp.processArgs;
+ const QString args = isMasterEngine() ? startParameters().processArgs : masterEngine()->startParameters().processArgs;
// if (!remoteArch.isEmpty())
// postCommand("set architecture " + remoteArch);