diff options
| author | Chaoren Lin <chaorenl@google.com> | 2015-02-03 01:51:47 +0000 |
|---|---|---|
| committer | Chaoren Lin <chaorenl@google.com> | 2015-02-03 01:51:47 +0000 |
| commit | 18fe6404f9bc379045f4bce801f1c7113cddc6a0 (patch) | |
| tree | efb591cfed07504ecae67514806e536c98cc8153 /lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.h | |
| parent | 2fe1d0abc2434c359c3761910cebceb00a5743bf (diff) | |
| download | bcm5719-llvm-18fe6404f9bc379045f4bce801f1c7113cddc6a0.tar.gz bcm5719-llvm-18fe6404f9bc379045f4bce801f1c7113cddc6a0.zip | |
Implement setting and clearing watchpoints.
llvm-svn: 227930
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.h')
| -rw-r--r-- | lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.h b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.h index e624cc1c224..7c9d3528a83 100644 --- a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.h +++ b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.h @@ -42,6 +42,32 @@ namespace lldb_private Error WriteAllRegisterValues (const lldb::DataBufferSP &data_sp) override; + Error + IsWatchpointHit(uint8_t wp_index); + + Error + IsWatchpointVacant(uint32_t wp_index); + + bool + ClearHardwareWatchpoint(uint32_t wp_index); + + Error + ClearAllHardwareWatchpoints (); + + Error + SetHardwareWatchpointWithIndex(lldb::addr_t addr, size_t size, + uint32_t watch_flags, uint32_t wp_index); + + uint32_t + SetHardwareWatchpoint(lldb::addr_t addr, size_t size, + uint32_t watch_flags); + + lldb::addr_t + GetWatchpointAddress(uint32_t wp_index); + + uint32_t + NumSupportedHardwareWatchpoints(); + private: // Private member types. |

