From d314e810a70e9104c8d30d9b0719bc5a3dc0acab Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Wed, 23 Mar 2011 00:09:55 +0000 Subject: Added new platform commands: platform connect platform disconnect Each platform can decide the args they want to use for "platform connect". I will need to add a function that gets the connect options for the current platform as each one can have different options and argument counts. Hooked up more functionality in the PlatformMacOSX and PlatformRemoteiOS. Also started an platform agnostic PlatformRemoteGDBServer.cpp which can end up being used by one or more actual platforms. It can also be specialized and allow for platform specific commands. llvm-svn: 128123 --- lldb/source/Utility/StringExtractorGDBRemote.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lldb/source/Utility/StringExtractorGDBRemote.cpp') diff --git a/lldb/source/Utility/StringExtractorGDBRemote.cpp b/lldb/source/Utility/StringExtractorGDBRemote.cpp index fc64b275e55..372eaee501c 100644 --- a/lldb/source/Utility/StringExtractorGDBRemote.cpp +++ b/lldb/source/Utility/StringExtractorGDBRemote.cpp @@ -59,6 +59,11 @@ StringExtractorGDBRemote::GetServerPacketType () const const char *packet_cstr = m_packet.c_str(); switch (m_packet[0]) { + case '\x03': + if (m_packet.size() == 1) + return eServerPacketType_interrupt; + break; + case '-': if (m_packet.size() == 1) return eServerPacketType_nack; -- cgit v1.2.3