From 71fc2a33b576839d7653c8ff13dd686efe54d9db Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Sat, 12 Feb 2011 06:28:37 +0000 Subject: Added the ability to detect which vCont packets (using the "vCont?") packet are supported by the remote GDB target. We can also now deal with the lack of vCont support and send packets that the remote GDB stub can use. We also error out of the continue if LLDB tries to do something too complex when vCont isn't supported. llvm-svn: 125433 --- lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h') diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h index 8db580b53f9..3e61ac6b840 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h @@ -14,6 +14,7 @@ // C++ Includes #include +#include // Other libraries and framework includes #include "lldb/Core/ArchSpec.h" @@ -343,7 +344,12 @@ protected: lldb::tid_t m_curr_tid; // Current gdb remote protocol thread index for all other operations lldb::tid_t m_curr_tid_run; // Current gdb remote protocol thread index for continue, step, etc uint32_t m_z0_supported:1; // Set to non-zero if Z0 and z0 packets are supported - lldb_private::StreamString m_continue_packet; + typedef std::vector tid_collection; + typedef std::vector< std::pair > tid_sig_collection; + tid_collection m_continue_c_tids; // 'c' for continue + tid_sig_collection m_continue_C_tids; // 'C' for continue with signal + tid_collection m_continue_s_tids; // 's' for step + tid_sig_collection m_continue_S_tids; // 'S' for step with signal lldb::addr_t m_dispatch_queue_offsets_addr; uint32_t m_packet_timeout; size_t m_max_memory_size; // The maximum number of bytes to read/write when reading and writing memory -- cgit v1.2.3