diff options
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h | 29 |
1 files changed, 26 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h index 66ddc77bc95..22fb7be4e9f 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h @@ -14,9 +14,12 @@ // C++ Includes // Other libraries and framework includes // Project includes +#include "lldb/Target/Process.h" + #include "GDBRemoteCommunication.h" class ProcessGDBRemote; +class StringExtractorGDBRemote; class GDBRemoteCommunicationServer : public GDBRemoteCommunication { @@ -52,18 +55,38 @@ public: protected: lldb::thread_t m_async_thread; + lldb_private::ProcessInfoList m_proc_infos; + uint32_t m_proc_infos_index; + + size_t + SendUnimplementedResponse (const char *packet); size_t - SendUnimplementedResponse (); + SendErrorResponse (uint8_t error); size_t SendOKResponse (); bool - Handle_qHostInfo (); + Handle_qHostInfo (StringExtractorGDBRemote &packet); + + bool + Handle_qProcessInfoPID (StringExtractorGDBRemote &packet); + + bool + Handle_qfProcessInfo (StringExtractorGDBRemote &packet); + + bool + Handle_qsProcessInfo (StringExtractorGDBRemote &packet); + + bool + Handle_qUserName (StringExtractorGDBRemote &packet); + + bool + Handle_qGroupName (StringExtractorGDBRemote &packet); bool - Handle_QStartNoAckMode (); + Handle_QStartNoAckMode (StringExtractorGDBRemote &packet); private: //------------------------------------------------------------------ |