Split the GDBRemoteCommunication class into three classes:
GDBRemoteCommunication - The base GDB remote communication class
GDBRemoteCommunicationClient - designed to be used for clients the connect to
                               a remote GDB server
GDBRemoteCommunicationServer - designed to be used on the server side of a
                               GDB server implementation.





git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@128070 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h b/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
index 6273041..e9ab4df 100644
--- a/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
+++ b/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
@@ -27,7 +27,7 @@
 #include "lldb/Target/Process.h"
 #include "lldb/Target/Thread.h"
 
-#include "GDBRemoteCommunication.h"
+#include "GDBRemoteCommunicationClient.h"
 #include "Utility/StringExtractor.h"
 #include "GDBRemoteRegisterContext.h"
 
@@ -212,7 +212,7 @@
 
 protected:
     friend class ThreadGDBRemote;
-    friend class GDBRemoteCommunication;
+    friend class GDBRemoteCommunicationClient;
     friend class GDBRemoteRegisterContext;
 
     bool
@@ -289,7 +289,7 @@
     void
     BuildDynamicRegisterInfo (bool force);
 
-    GDBRemoteCommunication &
+    GDBRemoteCommunicationClient &
     GetGDBRemote()
     {
         return m_gdb_comm;
@@ -306,7 +306,7 @@
 
     lldb_private::Flags m_flags;            // Process specific flags (see eFlags enums)
     lldb_private::Mutex m_stdio_mutex;      // Multithreaded protection for stdio
-    GDBRemoteCommunication m_gdb_comm;
+    GDBRemoteCommunicationClient m_gdb_comm;
     lldb::pid_t m_debugserver_pid;
     lldb::thread_t m_debugserver_thread;
     StringExtractor m_last_stop_packet;