diff options
author | Enrico Granata <egranata@apple.com> | 2012-07-13 23:18:48 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2012-07-13 23:18:48 +0000 |
commit | f04a21917cf35874c849abbe4f57b6eab67c8d39 (patch) | |
tree | 7ab27ee7f9ba23c47166d4d91349e9bba9f5a093 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h | |
parent | 7298ea18711e103d96b41146978458aeeaf1f943 (diff) | |
download | bcm5719-llvm-f04a21917cf35874c849abbe4f57b6eab67c8d39.tar.gz bcm5719-llvm-f04a21917cf35874c849abbe4f57b6eab67c8d39.zip |
<rdar://problem/11782789> Changes to the watchpoint implementation on ARM so that we single-step before stopping at the WP. This is necessary because on ARM the WP triggers before the opcode is actually executed, so we would be unable to continue since we would keep hitting the WP. We work around this by disabling the WP, single stepping and then putting the WP back in place.
llvm-svn: 160199
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h index fb578001dc3..a283389d220 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h @@ -209,6 +209,12 @@ public: lldb_private::Error GetWatchpointSupportInfo (uint32_t &num); + lldb_private::Error + GetWatchpointSupportInfo (uint32_t &num, bool& after); + + lldb_private::Error + GetWatchpointsTriggerAfterInstruction (bool &after); + const lldb_private::ArchSpec & GetHostArchitecture (); @@ -358,6 +364,7 @@ protected: lldb_private::LazyBool m_supports_alloc_dealloc_memory; lldb_private::LazyBool m_supports_memory_region_info; lldb_private::LazyBool m_supports_watchpoint_support_info; + lldb_private::LazyBool m_watchpoints_trigger_after_instruction; bool m_supports_qProcessInfoPID:1, |