forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user