diff options
Diffstat (limited to 'lldb/source/Plugins/Process/Linux')
| -rw-r--r-- | lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp b/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp index f77b73e5670..6a397361d2a 100644 --- a/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp +++ b/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp @@ -1278,7 +1278,7 @@ NativeProcessLinux::AttachToProcess ( // Grab the current platform architecture. This should be Linux, // since this code is only intended to run on a Linux host. - PlatformSP platform_sp (Platform::GetDefaultPlatform ()); + PlatformSP platform_sp (Platform::GetHostPlatform ()); if (!platform_sp) return Error("failed to get a valid default platform"); @@ -1412,7 +1412,7 @@ NativeProcessLinux::AttachToInferior (lldb::pid_t pid, lldb_private::Error &erro log->Printf ("NativeProcessLinux::%s (pid = %" PRIi64 ")", __FUNCTION__, pid); // We can use the Host for everything except the ResolveExecutable portion. - PlatformSP platform_sp = Platform::GetDefaultPlatform (); + PlatformSP platform_sp = Platform::GetHostPlatform (); if (!platform_sp) { if (log) |

