diff options
author | Marcus Tillmanns <marcus.tillmanns@qt.io> | 2023-06-21 16:38:41 +0200 |
---|---|---|
committer | Marcus Tillmanns <marcus.tillmanns@qt.io> | 2023-06-23 11:57:34 +0000 |
commit | 31c6ff495a6608254ee90f3a1a4baf44f2372df1 (patch) | |
tree | 6534c3976dd46486fcb202599601e76f64e3f2da /src/plugins/remotelinux/remotelinuxdebugsupport.cpp | |
parent | 26ef8707610847b641d5831de0288dd4e9d66cc4 (diff) |
Debugger: Fix remote debugging macosx apps
Change-Id: I5328069ba9b82bb66dfa2c1e0d148a717d594a4b
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/remotelinux/remotelinuxdebugsupport.cpp')
-rw-r--r-- | src/plugins/remotelinux/remotelinuxdebugsupport.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/remotelinux/remotelinuxdebugsupport.cpp b/src/plugins/remotelinux/remotelinuxdebugsupport.cpp index af476d48b9..d4cefc6394 100644 --- a/src/plugins/remotelinux/remotelinuxdebugsupport.cpp +++ b/src/plugins/remotelinux/remotelinuxdebugsupport.cpp @@ -5,6 +5,7 @@ #include "remotelinux_constants.h" +#include <projectexplorer/devicesupport/idevice.h> #include <projectexplorer/projectexplorerconstants.h> #include <projectexplorer/runconfigurationaspects.h> @@ -37,7 +38,11 @@ public: setStartMode(AttachToRemoteServer); setCloseMode(KillAndExitMonitorAtClose); setUseExtendedRemote(true); - setLldbPlatform("remote-linux"); + + if (runControl->device()->osType() == Utils::OsTypeMac) + setLldbPlatform("remote-macosx"); + else + setLldbPlatform("remote-linux"); } }; |