forked from qt-creator/qt-creator
Valgrind: Set working directory and environment...
... for the RemoteLinux case. Change-Id: I717b01fbed2afb7d8b0b18376c443133b156d654 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -102,6 +102,8 @@ RunControl *ValgrindRunControlFactory::create(RunConfiguration *runConfiguration
|
|||||||
sp.debuggee = rc2->remoteExecutableFilePath();
|
sp.debuggee = rc2->remoteExecutableFilePath();
|
||||||
sp.connParams = DeviceKitInformation::device(rc2->target()->kit())->sshParameters();
|
sp.connParams = DeviceKitInformation::device(rc2->target()->kit())->sshParameters();
|
||||||
sp.debuggeeArgs = rc2->arguments().join(QLatin1Char(' '));
|
sp.debuggeeArgs = rc2->arguments().join(QLatin1Char(' '));
|
||||||
|
sp.workingDirectory = rc2->workingDirectory();
|
||||||
|
sp.environment = rc2->environment();
|
||||||
} else {
|
} else {
|
||||||
QTC_ASSERT(false, return 0);
|
QTC_ASSERT(false, return 0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user