[Lldb-commits] [lldb] r230390 - Fix qLaunchGDBServer packet parsing in GDBRemoteCommunicationServerPlatform.

Oleksiy Vyalov ovyalov at google.com
Tue Feb 24 14:23:40 PST 2015


Author: ovyalov
Date: Tue Feb 24 16:23:39 2015
New Revision: 230390

URL: http://llvm.org/viewvc/llvm-project?rev=230390&view=rev
Log:
Fix qLaunchGDBServer packet parsing in GDBRemoteCommunicationServerPlatform.

Modified:
    lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp

Modified: lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp?rev=230390&r1=230389&r2=230390&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp Tue Feb 24 16:23:39 2015
@@ -84,14 +84,14 @@ GDBRemoteCommunicationServerPlatform::Ha
 
     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;





More information about the lldb-commits mailing list