diff options
Diffstat (limited to 'lldb/source/Target/Platform.cpp')
-rw-r--r-- | lldb/source/Target/Platform.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lldb/source/Target/Platform.cpp b/lldb/source/Target/Platform.cpp index ed98fb26286..c1834d2bd87 100644 --- a/lldb/source/Target/Platform.cpp +++ b/lldb/source/Target/Platform.cpp @@ -510,10 +510,8 @@ Platform::ResolveExecutable (const FileSpec &exe_file, } else { - error.SetErrorStringWithFormat ("'%s%s%s' does not exist", - exe_file.GetDirectory().AsCString(""), - exe_file.GetDirectory() ? "/" : "", - exe_file.GetFilename().AsCString("")); + error.SetErrorStringWithFormat ("'%s' does not exist", + exe_file.GetPath().c_str()); } return error; } |