From 14715c68f24f3ee2d16fd7cc423b264090f9f571 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Sat, 29 Jun 2013 00:10:32 +0000 Subject: [PATCH] Fixed SBProcess::RemoteLaunch() to use the platform executable path. Patch from Sebastien Metrot. llvm-svn: 185245 --- lldb/source/API/SBProcess.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/API/SBProcess.cpp b/lldb/source/API/SBProcess.cpp index d41ad61..259eb5e 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) -- 2.7.4