From 3a7c3d1bf83f5da60927b89c99e14691e7109999 Mon Sep 17 00:00:00 2001 From: Han Ming Ong Date: Thu, 12 Dec 2013 22:14:52 +0000 Subject: debugserver's launch info was cleared unnecessarily. It has important user ID set. Reviewed by Greg Clayton. llvm-svn: 197182 --- lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | 4 ---- 1 file changed, 4 deletions(-) (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 77eb6058d6b..76817f5930d 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp @@ -608,10 +608,6 @@ GDBRemoteCommunication::StartDebugserverProcess (const char *host_and_port, // 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(); -- cgit v1.2.3