[Lldb-commits] [lldb] r185245 - Fixed SBProcess::RemoteLaunch() to use the platform executable path. Patch from Sebastien Metrot.
Greg Clayton
gclayton at apple.com
Fri Jun 28 17:10:32 PDT 2013
Author: gclayton
Date: Fri Jun 28 19:10:32 2013
New Revision: 185245
URL: http://llvm.org/viewvc/llvm-project?rev=185245&view=rev
Log:
Fixed SBProcess::RemoteLaunch() to use the platform executable path. Patch from Sebastien Metrot.
Modified:
lldb/trunk/source/API/SBProcess.cpp
Modified: lldb/trunk/source/API/SBProcess.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/API/SBProcess.cpp?rev=185245&r1=185244&r2=185245&view=diff
==============================================================================
--- lldb/trunk/source/API/SBProcess.cpp (original)
+++ lldb/trunk/source/API/SBProcess.cpp Fri Jun 28 19:10:32 2013
@@ -173,7 +173,7 @@ SBProcess::RemoteLaunch (char const **ar
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)
More information about the lldb-commits
mailing list