We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 616d104 commit f47298eCopy full SHA for f47298e
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
@@ -906,7 +906,7 @@ FileSpec GDBRemoteCommunication::GetDebugserverPath(Platform *platform) {
906
FileSystem::Instance().Exists(debugserver_file_spec);
907
if (!debugserver_exists) {
908
// The debugserver binary is in the LLDB.framework/Resources directory.
909
- debugserver_file_spec = HostInfo::GetSupportExeDir();
+ debugserver_file_spec.SetDirectory(HostInfo::GetProgramFileSpec().GetDirectory());
910
if (debugserver_file_spec) {
911
debugserver_file_spec.AppendPathComponent(DEBUGSERVER_BASENAME);
912
debugserver_exists = FileSystem::Instance().Exists(debugserver_file_spec);
0 commit comments