aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/valgrind
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/valgrind')
-rw-r--r--src/plugins/valgrind/callgrindtool.cpp4
-rw-r--r--src/plugins/valgrind/memchecktool.cpp4
2 files changed, 2 insertions, 6 deletions
diff --git a/src/plugins/valgrind/callgrindtool.cpp b/src/plugins/valgrind/callgrindtool.cpp
index 2c6ea43fdcd..fb24d790ed4 100644
--- a/src/plugins/valgrind/callgrindtool.cpp
+++ b/src/plugins/valgrind/callgrindtool.cpp
@@ -168,9 +168,7 @@ public:
setRecipeProducer(callgrindRecipe);
addSupportedRunMode(CALLGRIND_RUN_MODE);
- addSupportedDeviceType(RemoteLinux::Constants::GenericLinuxOsType);
- addSupportedDeviceType(ProjectExplorer::Constants::DESKTOP_DEVICE_TYPE);
- addSupportedDeviceType(ProjectExplorer::Constants::DOCKER_DEVICE_TYPE);
+ setExecutionType(ProjectExplorer::Constants::STDPROCESS_EXECUTION_TYPE_ID);
// https://github.com/nihui/valgrind-android suggests this could work for android, too.
}
};
diff --git a/src/plugins/valgrind/memchecktool.cpp b/src/plugins/valgrind/memchecktool.cpp
index d6362e4103c..7d589e2ef8b 100644
--- a/src/plugins/valgrind/memchecktool.cpp
+++ b/src/plugins/valgrind/memchecktool.cpp
@@ -241,9 +241,7 @@ public:
addSupportedRunMode(MEMCHECK_RUN_MODE);
addSupportedRunMode(MEMCHECK_WITH_GDB_RUN_MODE);
- addSupportedDeviceType(RemoteLinux::Constants::GenericLinuxOsType);
- addSupportedDeviceType(ProjectExplorer::Constants::DESKTOP_DEVICE_TYPE);
- addSupportedDeviceType(ProjectExplorer::Constants::DOCKER_DEVICE_TYPE);
+ setExecutionType(ProjectExplorer::Constants::STDPROCESS_EXECUTION_TYPE_ID);
// FIXME: https://github.com/nihui/valgrind-android suggests this could work for android
}
};