Fixed SBProcess::RemoteLaunch() to use the platform executable path. Patch from Sebastien Metrot.

llvm-svn: 185245
This commit is contained in:
Greg Clayton 2013-06-29 00:10:32 +00:00
parent ae7b38e6aa
commit 14715c68f2
1 changed files with 1 additions and 1 deletions

View File

@ -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)