Commit 6d77db9e authored by Anton Kreuzkamp's avatar Anton Kreuzkamp
Browse files

Add info about debuggee to params in remotelinux.

Extends RemoteLinuxAnalyzeSupport to add information about debuggee,
debuggee arguments, working directory and environment to the

This is required when starting the project from an analyzer plugin
using remotelinux.

Change-Id: I29cbeb1b22b193a2d815924282887a980c506ca0
Reviewed-by: default avatarChristian Kandeler <>
parent 78e88712
......@@ -42,6 +42,7 @@
#include <projectexplorer/kitinformation.h>
#include <utils/qtcassert.h>
#include <utils/qtcprocess.h>
#include <qmldebug/qmloutputparser.h>
#include <QPointer>
......@@ -84,6 +85,14 @@ AnalyzerStartParameters RemoteLinuxAnalyzeSupport::startParameters(const RunConf
params.sysroot = SysRootKitInformation::sysRoot(runConfig->target()->kit()).toString();
params.analyzerHost =;
auto rc = qobject_cast<const AbstractRemoteLinuxRunConfiguration *>(runConfig);
QTC_ASSERT(rc, return params);
params.debuggee = rc->remoteExecutableFilePath();
params.debuggeeArgs = Utils::QtcProcess::Arguments::createUnixArgs(rc->arguments()).toString();
params.workingDirectory = rc->workingDirectory();
params.environment = rc->environment();
return params;
Supports Markdown
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