Author: jmolenda
Date: Fri Jan 24 16:49:32 2014
New Revision: 200047
URL: http://llvm.org/viewvc/llvm-project?rev=200047&view=rev
Log:
Terminate an unused char* buffer correctly so we don't try to open
it later in GDBRemoteCommunication::StartDebugserverProcess and report
an error.
<rdar://problem/15820813>
Modified:
lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
Modified:
lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
URL:
http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp?rev=200047&r1=200046&r2=200047&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
(original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp Fri
Jan 24 16:49:32 2014
@@ -711,6 +711,7 @@ GDBRemoteCommunication::StartDebugserver
}
else
{
+ named_pipe_path[0] = '\0';
listen = true;
}
}
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits