summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
diff options
context:
space:
mode:
authorHan Ming Ong <hanming@apple.com>2013-12-12 22:14:52 +0000
committerHan Ming Ong <hanming@apple.com>2013-12-12 22:14:52 +0000
commit3a7c3d1bf83f5da60927b89c99e14691e7109999 (patch)
treef048413025a231315ce298c47a24993c8941a655 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
parent782e6aab1f87f0649b4b92f2bd1bdfac174883a9 (diff)
downloadbcm5719-llvm-3a7c3d1bf83f5da60927b89c99e14691e7109999.tar.gz
bcm5719-llvm-3a7c3d1bf83f5da60927b89c99e14691e7109999.zip
<rdar://problem/15639995>
debugserver's launch info was cleared unnecessarily. It has important user ID set. Reviewed by Greg Clayton. llvm-svn: 197182
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp4
1 files changed, 0 insertions, 4 deletions
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();
OpenPOWER on IntegriCloud