summaryrefslogtreecommitdiff
path: root/src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp
diff options
context:
space:
mode:
authorhjk <hjk@theqtcompany.com>2015-02-10 13:21:22 +0100
committerhjk <hjk@theqtcompany.com>2015-02-10 14:27:32 +0000
commitbf6aa3cc2b078e4130c67e37ae765ea61ac6e0f5 (patch)
tree7662352022a32231614b10f9dd0f37248eb155aa /src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp
parent807c3a5ad2c79a3da28c6740b36401a3960e9226 (diff)
downloadqt-creator-bf6aa3cc2b078e4130c67e37ae765ea61ac6e0f5.tar.gz
Debugger: Pass RunControl in DebuggerStartParameters
.. to simplify DebuggerRunControlFactory::doCreate() call. Change-Id: I4dd0c224968bb8a388ea7f095b940b66ee606ab1 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Diffstat (limited to 'src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp')
-rw-r--r--src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp b/src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp
index c1074a5b89..32130ccc93 100644
--- a/src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp
+++ b/src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp
@@ -106,8 +106,9 @@ RunControl *RemoteLinuxRunControlFactory::create(RunConfiguration *runConfig, Ru
DebuggerStartParameters params = LinuxDeviceDebugSupport::startParameters(rc);
if (mode == DebugRunModeWithBreakOnMain)
params.breakOnMain = true;
+ params.runConfiguration = rc;
DebuggerRunControl * const runControl
- = DebuggerRunControlFactory::doCreate(params, rc, errorMessage);
+ = DebuggerRunControlFactory::doCreate(params, errorMessage);
if (!runControl)
return 0;
LinuxDeviceDebugSupport * const debugSupport =