[Lldb-commits] [lldb] r231287 - Fix a thinko in the case where we return a launch error with no error
Jim Ingham
jingham at apple.com
Wed Mar 4 13:28:55 PST 2015
Author: jingham
Date: Wed Mar 4 15:28:55 2015
New Revision: 231287
URL: http://llvm.org/viewvc/llvm-project?rev=231287&view=rev
Log:
Fix a thinko in the case where we return a launch error with no error
string. Return "<unknown error>" rather than the empty launch error...
<rdar://problem/20026469>
Modified:
lldb/trunk/tools/debugserver/source/debugserver.cpp
Modified: lldb/trunk/tools/debugserver/source/debugserver.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/debugserver.cpp?rev=231287&r1=231286&r2=231287&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/debugserver.cpp (original)
+++ lldb/trunk/tools/debugserver/source/debugserver.cpp Wed Mar 4 15:28:55 2015
@@ -255,7 +255,7 @@ RNBRunLoopLaunchInferior (RNBRemote *rem
{
DNBLogThreaded ("%s DNBProcessLaunch() failed to launch process, unknown failure", __FUNCTION__);
ctx.LaunchStatus().SetError(-1, DNBError::Generic);
- ctx.LaunchStatus().SetErrorString(launch_err_str);
+ ctx.LaunchStatus().SetErrorString("<unknown failure>");
}
else
{
More information about the lldb-commits
mailing list