diff options
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeProcessLinux.h')
-rw-r--r-- | lldb/source/Plugins/Process/Linux/NativeProcessLinux.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/Linux/NativeProcessLinux.h b/lldb/source/Plugins/Process/Linux/NativeProcessLinux.h index 62ff0619a24..4041c143959 100644 --- a/lldb/source/Plugins/Process/Linux/NativeProcessLinux.h +++ b/lldb/source/Plugins/Process/Linux/NativeProcessLinux.h @@ -151,6 +151,17 @@ namespace process_linux { Error ReadFPR(lldb::tid_t tid, void *buf, size_t buf_size); +#if defined (__arm64__) || defined (__aarch64__) + /// Reads hardware breakpoints and watchpoints capability information. + Error + ReadHardwareDebugInfo (lldb::tid_t tid, unsigned int &watch_count , + unsigned int &break_count); + + /// Write hardware breakpoint/watchpoint control and address registers. + Error + WriteHardwareDebugRegs (lldb::tid_t tid, lldb::addr_t *addr_buf, + uint32_t *cntrl_buf, int type, int count); +#endif /// Reads the specified register set into the specified buffer. /// For instance, the extended floating-point register set. Error |