Valgrind: Move to new target/tool split for local setups

Change-Id: I1167fdc147600c36149c13731d0680b858acf4fb
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2017-04-27 17:23:28 +02:00
parent 6e990f96c6
commit d8bacfe9af
9 changed files with 141 additions and 151 deletions

View File

@@ -34,13 +34,12 @@
namespace Valgrind {
namespace Internal {
class MemcheckRunControl : public ValgrindRunControl
class MemcheckToolRunner : public ValgrindToolRunner
{
Q_OBJECT
public:
MemcheckRunControl(ProjectExplorer::RunConfiguration *runConfiguration,
Core::Id runMode);
explicit MemcheckToolRunner(ProjectExplorer::RunControl *runControl);
void start() override;
void stop() override;
@@ -62,13 +61,12 @@ protected:
Memcheck::MemcheckRunner m_runner;
};
class MemcheckWithGdbRunControl : public MemcheckRunControl
class MemcheckWithGdbToolRunner : public MemcheckToolRunner
{
Q_OBJECT
public:
MemcheckWithGdbRunControl(ProjectExplorer::RunConfiguration *runConfiguration,
Core::Id runMode);
explicit MemcheckWithGdbToolRunner(ProjectExplorer::RunControl *runControl);
protected:
QStringList toolArguments() const override;