Debugger: Use StandardRunnable in DebuggerStartParameters

This is a mechanical replacement for the former executable, processArgs,
inferiorEnvironment and workingDirectory members.

Change-Id: I4160e01427ed801df9b729f1f31d0a2ca48159b5
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2016-01-28 10:31:24 +01:00
parent 67e952e888
commit 2cf0060596
26 changed files with 116 additions and 119 deletions

View File

@@ -33,6 +33,7 @@
#include <utils/environment.h>
#include <projectexplorer/abi.h>
#include <projectexplorer/runconfiguration.h>
#include <projectexplorer/runnables.h>
#include <projectexplorer/devicesupport/idevice.h>
#include <QMetaType>
@@ -60,18 +61,13 @@ public:
class DEBUGGER_EXPORT DebuggerStartParameters
{
public:
DebuggerStartParameters() {}
DebuggerStartMode startMode = NoStartMode;
DebuggerCloseMode closeMode = KillAtClose;
QString executable;
ProjectExplorer::StandardRunnable inferior;
QString displayName; // Used in the Snapshots view.
QString processArgs;
Utils::Environment inferiorEnvironment;
Utils::Environment debuggerEnvironment;
Utils::Environment stubEnvironment;
QString workingDirectory;
qint64 attachPID = InvalidPid;
QStringList solibSearchPath;
bool useTerminal = false;