Fixed SBProcess::RemoteLaunch() to use the platform executable path. Patch from Sebas...
authorGreg Clayton <gclayton@apple.com>
Sat, 29 Jun 2013 00:10:32 +0000 (00:10 +0000)
committerGreg Clayton <gclayton@apple.com>
Sat, 29 Jun 2013 00:10:32 +0000 (00:10 +0000)
llvm-svn: 185245

lldb/source/API/SBProcess.cpp

index d41ad61..259eb5e 100644 (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)