diff options
| author | Chaoren Lin <chaorenl@google.com> | 2015-03-19 23:28:10 +0000 |
|---|---|---|
| committer | Chaoren Lin <chaorenl@google.com> | 2015-03-19 23:28:10 +0000 |
| commit | c16f5dca27c693f934b12c948b7d53e98ce9111d (patch) | |
| tree | 7e0049694785f47b4700df8c65117bf9b06dc56e /lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.h | |
| parent | d83003ea59ca5592580fa2e0ef27c3cac907aa8f (diff) | |
| download | bcm5719-llvm-c16f5dca27c693f934b12c948b7d53e98ce9111d.tar.gz bcm5719-llvm-c16f5dca27c693f934b12c948b7d53e98ce9111d.zip | |
Report watchpoint hits during single stepping.
Summary:
Reorganized NativeProcessLinux::MonitorSIGTRAP to check for watchpoint hits on
TRAP_TRACE.
Added test for stepping over watchpoints.
https://llvm.org/bugs/show_bug.cgi?id=22814
Reviewers: ovyalov, tberghammer, vharron, clayborg
Subscribers: jingham, labath, lldb-commits
Differential Revision: http://reviews.llvm.org/D8404
llvm-svn: 232784
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.h')
| -rw-r--r-- | lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.h b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.h index 0e9d721959b..e183118e8d4 100644 --- a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.h +++ b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.h @@ -46,10 +46,13 @@ namespace lldb_private WriteAllRegisterValues (const lldb::DataBufferSP &data_sp) override; Error - IsWatchpointHit(uint8_t wp_index) override; + IsWatchpointHit(uint32_t wp_index, bool &is_hit) override; Error - IsWatchpointVacant(uint32_t wp_index) override; + GetWatchpointHitIndex(uint32_t &wp_index) override; + + Error + IsWatchpointVacant(uint32_t wp_index, bool &is_vacant) override; bool ClearHardwareWatchpoint(uint32_t wp_index) override; |

