diff options
author | Omair Javaid <omair.javaid@linaro.org> | 2016-06-27 11:18:23 +0000 |
---|---|---|
committer | Omair Javaid <omair.javaid@linaro.org> | 2016-06-27 11:18:23 +0000 |
commit | c6dc90ef87fbf0789d31ff5f1114916747e05405 (patch) | |
tree | cd9db107cfd12a7eddfb3e70dbf730dbdfd31514 /lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.h | |
parent | b3a51bdcd7115b0e91ee250696b5eaf843927f1c (diff) | |
download | bcm5719-llvm-c6dc90ef87fbf0789d31ff5f1114916747e05405.tar.gz bcm5719-llvm-c6dc90ef87fbf0789d31ff5f1114916747e05405.zip |
Allow unaligned byte/word selection watchpoints for arm- linux/android targets.
Differential revision: http://reviews.llvm.org/D21516
llvm-svn: 273863
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.h')
-rw-r--r-- | lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.h b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.h index 34956497042..452f13258c2 100644 --- a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.h +++ b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.h @@ -74,6 +74,9 @@ namespace process_linux { GetWatchpointHitIndex(uint32_t &wp_index, lldb::addr_t trap_addr) override; lldb::addr_t + GetWatchpointHitAddress (uint32_t wp_index) override; + + lldb::addr_t GetWatchpointAddress (uint32_t wp_index) override; uint32_t @@ -162,6 +165,8 @@ namespace process_linux { struct DREG { lldb::addr_t address; // Breakpoint/watchpoint address value. + lldb::addr_t hit_addr; // Address at which last watchpoint trigger exception occurred. + lldb::addr_t real_addr; // Address value that should cause target to stop. uint32_t control; // Breakpoint/watchpoint control value. uint32_t refcount; // Serves as enable/disable and refernce counter. }; |