Fix qLaunchGDBServer packet parsing in GDBRemoteCommunicationServerPlatform.
authorOleksiy Vyalov <ovyalov@google.com>
Tue, 24 Feb 2015 22:23:39 +0000 (22:23 +0000)
committerOleksiy Vyalov <ovyalov@google.com>
Tue, 24 Feb 2015 22:23:39 +0000 (22:23 +0000)
llvm-svn: 230390

lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp

index de888da..b194687 100644 (file)
@@ -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;