diff options
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp index 50fa11e..1f1e511 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp @@ -847,7 +847,7 @@ Status GDBRemoteCommunication::StartListenThread(const char *hostname, llvm::Expected<HostThread> listen_thread = ThreadLauncher::LaunchThread( listen_url, [this] { return GDBRemoteCommunication::ListenThread(); }); if (!listen_thread) - return Status(listen_thread.takeError()); + return Status::FromError(listen_thread.takeError()); m_listen_thread = *listen_thread; return Status(); |