summaryrefslogtreecommitdiffstats
path: root/lldb
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2013-06-29 00:10:32 +0000
committerGreg Clayton <gclayton@apple.com>2013-06-29 00:10:32 +0000
commit14715c68f24f3ee2d16fd7cc423b264090f9f571 (patch)
tree7ee7533c4f3786ffc71e9918e5ff40ebcb19bc52 /lldb
parentae7b38e6aa7d73be1074b7b4205015068391b480 (diff)
downloadbcm5719-llvm-14715c68f24f3ee2d16fd7cc423b264090f9f571.tar.gz
bcm5719-llvm-14715c68f24f3ee2d16fd7cc423b264090f9f571.zip
Fixed SBProcess::RemoteLaunch() to use the platform executable path. Patch from Sebastien Metrot.
llvm-svn: 185245
Diffstat (limited to 'lldb')
-rw-r--r--lldb/source/API/SBProcess.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBProcess.cpp b/lldb/source/API/SBProcess.cpp
index d41ad6190d2..259eb5e9703 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)
OpenPOWER on IntegriCloud