[Lldb-commits] [lldb] r230418 - Fix logging in GDBRemoteCommunicationServerPlatform.

Oleksiy Vyalov ovyalov at google.com
Tue Feb 24 17:11:38 PST 2015


Author: ovyalov
Date: Tue Feb 24 19:11:38 2015
New Revision: 230418

URL: http://llvm.org/viewvc/llvm-project?rev=230418&view=rev
Log:
Fix logging 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=230418&r1=230417&r2=230418&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp Tue Feb 24 19:11:38 2015
@@ -154,7 +154,7 @@ GDBRemoteCommunicationServerPlatform::Ha
     if (error.Success())
     {
         if (log)
-            log->Printf ("LLGSPacketHandler::%s() debugserver launched successfully as pid %" PRIu64, __FUNCTION__, debugserver_pid);
+            log->Printf ("GDBRemoteCommunicationServerPlatform::%s() debugserver launched successfully as pid %" PRIu64, __FUNCTION__, debugserver_pid);
 
         char response[256];
         const int response_len = ::snprintf (response, sizeof(response), "pid:%" PRIu64 ";port:%u;", debugserver_pid, port + m_port_offset);
@@ -171,7 +171,7 @@ GDBRemoteCommunicationServerPlatform::Ha
     else
     {
         if (log)
-            log->Printf ("LLGSPacketHandler::%s() debugserver launch failed: %s", __FUNCTION__, error.AsCString ());
+            log->Printf ("GDBRemoteCommunicationServerPlatform::%s() debugserver launch failed: %s", __FUNCTION__, error.AsCString ());
     }
     return SendErrorResponse (9);
 #endif
@@ -218,7 +218,7 @@ GDBRemoteCommunicationServerPlatform::Ha
 
 #ifdef _WIN32
     // Not implemented on Windows
-    return SendUnimplementedResponse ("LLGSPacketHandler::Handle_QSetWorkingDir unimplemented");
+    return SendUnimplementedResponse ("GDBRemoteCommunicationServerPlatform::Handle_QSetWorkingDir unimplemented");
 #else
     // If this packet is sent to a platform, then change the current working directory
     if (::chdir(path.c_str()) != 0)





More information about the lldb-commits mailing list