diff options
Diffstat (limited to 'source/Utility/StringExtractorGDBRemote.cpp')
-rw-r--r-- | source/Utility/StringExtractorGDBRemote.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/source/Utility/StringExtractorGDBRemote.cpp b/source/Utility/StringExtractorGDBRemote.cpp index a137d36..aeceaa0 100644 --- a/source/Utility/StringExtractorGDBRemote.cpp +++ b/source/Utility/StringExtractorGDBRemote.cpp @@ -64,6 +64,10 @@ StringExtractorGDBRemote::GetServerPacketType () const const char *packet_cstr = m_packet.c_str(); switch (m_packet[0]) { + + case '%': + return eServerPacketType_notify; + case '\x03': if (packet_size == 1) return eServerPacketType_interrupt; break; @@ -136,6 +140,14 @@ StringExtractorGDBRemote::GetServerPacketType () const if (packet_size == 2) return eServerPacketType_qC; break; + case 'E': + if (PACKET_STARTS_WITH ("qEcho:")) return eServerPacketType_qEcho; + break; + + case 'F': + if (PACKET_STARTS_WITH ("qFileLoadAddress:")) return eServerPacketType_qFileLoadAddress; + break; + case 'G': if (PACKET_STARTS_WITH ("qGroupName:")) return eServerPacketType_qGroupName; if (PACKET_MATCHES ("qGetWorkingDir")) return eServerPacketType_qGetWorkingDir; @@ -160,6 +172,7 @@ StringExtractorGDBRemote::GetServerPacketType () const case 'M': if (PACKET_STARTS_WITH ("qMemoryRegionInfo:")) return eServerPacketType_qMemoryRegionInfo; if (PACKET_MATCHES ("qMemoryRegionInfo")) return eServerPacketType_qMemoryRegionInfoSupported; + if (PACKET_STARTS_WITH ("qModuleInfo:")) return eServerPacketType_qModuleInfo; break; case 'P': |