diff options
author | Greg Clayton <gclayton@apple.com> | 2011-02-12 06:28:37 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2011-02-12 06:28:37 +0000 |
commit | 71fc2a33b576839d7653c8ff13dd686efe54d9db (patch) | |
tree | 25384bde96fa85c18c0e7531455a0faebe16e1f9 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h | |
parent | ba6ead4bc08363cba1ecf353f5c60c23cecbd443 (diff) | |
download | bcm5719-llvm-71fc2a33b576839d7653c8ff13dd686efe54d9db.tar.gz bcm5719-llvm-71fc2a33b576839d7653c8ff13dd686efe54d9db.zip |
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
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h | 8 |
1 files changed, 7 insertions, 1 deletions
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 <list> +#include <vector> // 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<lldb::tid_t> tid_collection; + typedef std::vector< std::pair<lldb::tid_t,int> > 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 |