Fix a thinko in the case where we return a launch error with no error
authorJim Ingham <jingham@apple.com>
Wed, 4 Mar 2015 21:28:55 +0000 (21:28 +0000)
committerJim Ingham <jingham@apple.com>
Wed, 4 Mar 2015 21:28:55 +0000 (21:28 +0000)
string.  Return "<unknown error>" rather than the empty launch error...

<rdar://problem/20026469>

llvm-svn: 231287

lldb/tools/debugserver/source/debugserver.cpp

index c46d63d..2c27511 100644 (file)
@@ -255,7 +255,7 @@ RNBRunLoopLaunchInferior (RNBRemote *remote, const char *stdin_path, const char
     {
         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
     {