ValgrindRunner: Remove ValgrindRunner::setDevice

The device can now be determined from the debuggee's file path.

Change-Id: I2b24d6e325f74826a644d02a9e418576c4e9b436
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
hjk
2022-06-17 10:56:05 +02:00
parent 13c7513024
commit d783b4d5ff
5 changed files with 13 additions and 28 deletions

View File

@@ -26,7 +26,6 @@
#include "valgrindengine.h"
#include "valgrindsettings.h"
#include "valgrindplugin.h"
#include <debugger/analyzer/analyzermanager.h>
@@ -101,7 +100,6 @@ void ValgrindToolRunner::start()
valgrind.addArgs(toolArguments());
m_runner.setValgrindCommand(valgrind);
m_runner.setDevice(device());
m_runner.setDebuggee(runControl()->runnable());
if (auto aspect = runControl()->aspect<TerminalAspect>())