Valgrind: Use StandardRunnable in ValgrindRunner and ValgrindProcess

Change-Id: I17def50bbf6887b63d676fdb245064f1df2003de
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2016-01-25 17:15:54 +01:00
parent 96a9f1011f
commit 9a3b340c00
6 changed files with 61 additions and 162 deletions

View File

@@ -28,17 +28,15 @@
#define VALGRIND_RUNNER_H
#include <analyzerbase/analyzerconstants.h>
#include <projectexplorer/applicationlauncher.h>
#include <projectexplorer/runnables.h>
#include <utils/outputformat.h>
#include <ssh/sshconnection.h>
#include <QProcess>
namespace Utils {
class Environment;
class SshConnectionParameters;
}
namespace Utils { class SshConnectionParameters; }
namespace Valgrind {
@@ -57,21 +55,12 @@ public:
QStringList valgrindArguments() const;
QStringList fullValgrindArguments() const;
void setValgrindArguments(const QStringList &toolArguments);
QString debuggeeExecutable() const;
void setDebuggeeExecutable(const QString &executable);
QString debuggeeArguments() const;
void setDebuggeeArguments(const QString &arguments);
void setWorkingDirectory(const QString &path);
QString workingDirectory() const;
void setEnvironment(const Utils::Environment &environment);
void setDebuggee(const ProjectExplorer::StandardRunnable &debuggee) ;
void setProcessChannelMode(QProcess::ProcessChannelMode mode);
void setUseStartupProject(bool useStartupProject);
bool useStartupProject() const;
void setLocalRunMode(ProjectExplorer::ApplicationLauncher::Mode localRunMode);
void setConnectionParameters(const QSsh::SshConnectionParameters &connParams);
const QSsh::SshConnectionParameters &connectionParameters() const;