From ffa674e6d732e82967449e450dfd0c85478379d9 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Fri, 24 Jan 2014 22:49:32 +0000 Subject: Terminate an unused char* buffer correctly so we don't try to open it later in GDBRemoteCommunication::StartDebugserverProcess and report an error. llvm-svn: 200047 --- lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lldb/source/Plugins/Process/gdb-remote') diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp index f27b2cee5b5..a377a639ef5 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp @@ -711,6 +711,7 @@ GDBRemoteCommunication::StartDebugserverProcess (const char *hostname, } else { + named_pipe_path[0] = '\0'; listen = true; } } -- cgit v1.2.3