summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/source/API/SBProcess.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBProcess.cpp b/lldb/source/API/SBProcess.cpp
index d41ad6190d2..259eb5e9703 100644
--- a/lldb/source/API/SBProcess.cpp
+++ b/lldb/source/API/SBProcess.cpp
@@ -173,7 +173,7 @@ SBProcess::RemoteLaunch (char const **argv,
launch_flags);
Module *exe_module = process_sp->GetTarget().GetExecutableModulePointer();
if (exe_module)
- launch_info.SetExecutableFile(exe_module->GetFileSpec(), true);
+ launch_info.SetExecutableFile(exe_module->GetPlatformFileSpec(), true);
if (argv)
launch_info.GetArguments().AppendArguments (argv);
if (envp)
OpenPOWER on IntegriCloud