forked from OSchip/llvm-project
Fixed SBProcess::RemoteLaunch() to use the platform executable path. Patch from Sebastien Metrot.
llvm-svn: 185245
This commit is contained in:
parent
ae7b38e6aa
commit
14715c68f2
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue