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/Utility/StringExtractorGDBRemote.h b/source/Utility/StringExtractorGDBRemote.h
index 6002b8b..e8c4177 100644
--- a/source/Utility/StringExtractorGDBRemote.h
+++ b/source/Utility/StringExtractorGDBRemote.h
@@ -39,30 +39,42 @@
     {
     }
 
-    enum Type
+    enum ServerPacketType
+    {
+        eServerPacketType_nack = 0,
+        eServerPacketType_ack,
+        eServerPacketType_invalid,
+        eServerPacketType_unimplemented,
+        eServerPacketType_qHostInfo
+    };
+    
+    ServerPacketType
+    GetServerPacketType () const;
+
+    enum ResponseType
     {
         eUnsupported = 0,
         eAck,
         eNack,
         eError,
         eOK,
-        eResponse
+        eResponse,
     };
 
-    StringExtractorGDBRemote::Type
-    GetType () const;
+    ResponseType
+    GetResponseType () const;
 
     bool
-    IsOKPacket() const;
+    IsOKResponse() const;
 
     bool
-    IsUnsupportedPacket() const;
+    IsUnsupportedResponse() const;
 
     bool
-    IsNormalPacket () const;
+    IsNormalResponse () const;
 
     bool
-    IsErrorPacket() const;
+    IsErrorResponse() const;
 
     // Returns zero if the packet isn't a EXX packet where XX are two hex
     // digits. Otherwise the error encoded in XX is returned.