From c282ebd7244647c95bd3eb572580268ef6ae9440 Mon Sep 17 00:00:00 2001 From: Oleksiy Vyalov Date: Tue, 24 Feb 2015 22:23:39 +0000 Subject: Fix qLaunchGDBServer packet parsing in GDBRemoteCommunicationServerPlatform. llvm-svn: 230390 --- .../Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp') diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp index de888da0fd4..b1946871b45 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp @@ -84,14 +84,14 @@ GDBRemoteCommunicationServerPlatform::Handle_qLaunchGDBServer (StringExtractorGD Log *log(GetLogIfAnyCategoriesSet(LIBLLDB_LOG_PLATFORM)); if (log) - log->Printf ("LLGSPacketHandler::%s() called", __FUNCTION__); + log->Printf ("GDBRemoteCommunicationServerPlatform::%s() called", __FUNCTION__); // Sleep and wait a bit for debugserver to start to listen... ConnectionFileDescriptor file_conn; std::string hostname; // TODO: /tmp/ should not be hardcoded. User might want to override /tmp // with the TMPDIR environment variable - packet.SetFilePos(::strlen ("qLaunchLLGSPacketHandler;")); + packet.SetFilePos(::strlen ("qLaunchGDBServer;")); std::string name; std::string value; uint16_t port = UINT16_MAX; -- cgit v1.2.3