[Lldb-commits] [lldb] r197182 - <rdar://problem/15639995>

Han Ming Ong hanming at apple.com
Thu Dec 12 14:14:52 PST 2013


Author: hanming
Date: Thu Dec 12 16:14:52 2013
New Revision: 197182

URL: http://llvm.org/viewvc/llvm-project?rev=197182&view=rev
Log:
<rdar://problem/15639995>

debugserver's launch info was cleared unnecessarily. It has important user ID set. Reviewed by Greg Clayton.

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=197182&r1=197181&r2=197182&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp Thu Dec 12 16:14:52 2013
@@ -608,10 +608,6 @@ GDBRemoteCommunication::StartDebugserver
     // If we locate debugserver, keep that located version around
     static FileSpec g_debugserver_file_spec;
     
-    // This function will fill in the launch information for the debugserver
-    // instance that gets launched.
-    launch_info.Clear();
-    
     char debugserver_path[PATH_MAX];
     FileSpec &debugserver_file_spec = launch_info.GetExecutableFile();
     





More information about the lldb-commits mailing list