diff options
author | Hafiz Abid Qadeer <hafiz_abid@mentor.com> | 2013-08-29 09:09:45 +0000 |
---|---|---|
committer | Hafiz Abid Qadeer <hafiz_abid@mentor.com> | 2013-08-29 09:09:45 +0000 |
commit | 9a78cdf825849463a9f2d3b6543eb6e7974fc225 (patch) | |
tree | 0f15c95da1352cdac9d38fb8738032b88ee7652f /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h | |
parent | 0ccd3f61b14e359ce38c0b9e3f5e9ec5c4541e82 (diff) | |
download | bcm5719-llvm-9a78cdf825849463a9f2d3b6543eb6e7974fc225.tar.gz bcm5719-llvm-9a78cdf825849463a9f2d3b6543eb6e7974fc225.zip |
Discover support of 'p' packet.
Some stubs only support g/G packets for registers.
This change makes sure that we check if remote stub supports 'p' packet before using it.
llvm-svn: 189576
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h index c8809cbf445..fc317be2a20 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h @@ -228,6 +228,9 @@ public: GetVContSupported (char flavor); bool + GetpPacketSupported (); + + bool GetVAttachOrWaitSupported (); bool @@ -431,6 +434,7 @@ protected: lldb_private::LazyBool m_watchpoints_trigger_after_instruction; lldb_private::LazyBool m_attach_or_wait_reply; lldb_private::LazyBool m_prepare_for_reg_writing_reply; + lldb_private::LazyBool m_supports_p; bool m_supports_qProcessInfoPID:1, |