/openbsd/gnu/llvm/lldb/tools/debugserver/source/MacOSX/arm64/ |
H A D | DNBArchImplARM64.cpp | 1000 if (hw_index < NumSupportedHardwareWatchpoints() && LoHi[hw_index]) { in ReenableHardwareWatchpoint() 1017 m_state.dbg.__wvr[hw_index] = m_disabled_watchpoints[hw_index].addr; in ReenableHardwareWatchpoint_helper() 1023 hw_index, hw_index, (uint64_t)m_state.dbg.__wvr[hw_index], in ReenableHardwareWatchpoint_helper() 1024 hw_index, (uint64_t)m_state.dbg.__wcr[hw_index]); in ReenableHardwareWatchpoint_helper() 1036 if (hw_index < NumSupportedHardwareWatchpoints() && LoHi[hw_index]) { in DisableHardwareWatchpoint() 1054 m_disabled_watchpoints[hw_index].addr = m_state.dbg.__wvr[hw_index]; in DisableHardwareWatchpoint_helper() 1061 hw_index, hw_index, (uint64_t)m_state.dbg.__wvr[hw_index], in DisableHardwareWatchpoint_helper() 1062 hw_index, (uint64_t)m_state.dbg.__wcr[hw_index]); in DisableHardwareWatchpoint_helper() 1079 m_disabled_breakpoints[hw_index].addr = m_state.dbg.__bvr[hw_index]; in DisableHardwareBreakpoint() 1087 hw_index, hw_index, (uint64_t)m_state.dbg.__bvr[hw_index], in DisableHardwareBreakpoint() [all …]
|
H A D | DNBArchImplARM64.h | 217 bool IsWatchpointEnabled(const DBG &debug_state, uint32_t hw_index); 218 nub_addr_t GetWatchpointAddressByIndex(uint32_t hw_index); 219 nub_addr_t GetWatchAddress(const DBG &debug_state, uint32_t hw_index);
|
/openbsd/gnu/llvm/lldb/tools/debugserver/source/MacOSX/arm/ |
H A D | DNBArchImpl.cpp | 1071 hw_index, hw_index, m_state.dbg.__bvr[hw_index], in DisableHardwareBreakpoint() 1072 hw_index, m_state.dbg.__bcr[hw_index]); in DisableHardwareBreakpoint() 1269 if (hw_index < NumSupportedHardwareWatchpoints() && LoHi[hw_index]) { in ReenableHardwareWatchpoint() 1285 m_state.dbg.__wvr[hw_index] = m_disabled_watchpoints[hw_index].addr; in ReenableHardwareWatchpoint_helper() 1286 m_state.dbg.__wcr[hw_index] = m_disabled_watchpoints[hw_index].control; in ReenableHardwareWatchpoint_helper() 1291 hw_index, hw_index, (uint64_t)m_state.dbg.__wvr[hw_index], in ReenableHardwareWatchpoint_helper() 1292 hw_index, (uint64_t)m_state.dbg.__wcr[hw_index]); in ReenableHardwareWatchpoint_helper() 1304 if (hw_index < NumSupportedHardwareWatchpoints() && LoHi[hw_index]) { in DisableHardwareWatchpoint() 1322 m_disabled_watchpoints[hw_index].addr = m_state.dbg.__wvr[hw_index]; in DisableHardwareWatchpoint_helper() 1330 hw_index, hw_index, (uint64_t)m_state.dbg.__wvr[hw_index], in DisableHardwareWatchpoint_helper() [all …]
|
H A D | DNBArchImpl.h | 238 bool IsWatchpointEnabled(const DBG &debug_state, uint32_t hw_index); 239 nub_addr_t GetWatchpointAddressByIndex(uint32_t hw_index); 240 nub_addr_t GetWatchAddress(const DBG &debug_state, uint32_t hw_index);
|
/openbsd/gnu/llvm/lldb/tools/debugserver/source/MacOSX/i386/ |
H A D | DNBArchImplI386.h | 58 bool DisableHardwareBreakpoint(uint32_t hw_index, 218 static void SetHardwareBreakpoint(DBG &debug_state, uint32_t hw_index, 222 static void SetWatchpoint(DBG &debug_state, uint32_t hw_index, 225 static void ClearWatchpoint(DBG &debug_state, uint32_t hw_index); 226 static bool IsWatchpointVacant(const DBG &debug_state, uint32_t hw_index); 228 static bool IsWatchpointHit(const DBG &debug_state, uint32_t hw_index); 229 static nub_addr_t GetWatchAddress(const DBG &debug_state, uint32_t hw_index);
|
H A D | DNBArchImplI386.cpp | 705 exc.exc_data.push_back(hw_index); in NotifyException() 782 (1 << (2 * hw_index) | in SetWatchpoint() 785 switch (hw_index) { in SetWatchpoint() 830 debug_state.__dr7 |= (1 << (2 * hw_index) | 0 << (16 + 4 * hw_index)); in SetHardwareBreakpoint() 832 switch (hw_index) { in SetHardwareBreakpoint() 927 if (hw_index < num_hw_points && in DisableHardwareBreakpoint() 938 hw_index); in DisableHardwareBreakpoint() 952 switch (hw_index) { in ClearWatchpoint() 1008 switch (hw_index) { in GetWatchAddress() 1118 if (hw_index < num_hw_points && in DisableHardwareWatchpoint() [all …]
|
/openbsd/gnu/llvm/lldb/tools/debugserver/source/MacOSX/x86_64/ |
H A D | DNBArchImplX86_64.h | 222 static void SetHardwareBreakpoint(DBG &debug_state, uint32_t hw_index, 226 static void SetWatchpoint(DBG &debug_state, uint32_t hw_index, 229 static void ClearWatchpoint(DBG &debug_state, uint32_t hw_index); 230 static bool IsWatchpointVacant(const DBG &debug_state, uint32_t hw_index); 232 static bool IsWatchpointHit(const DBG &debug_state, uint32_t hw_index); 233 static nub_addr_t GetWatchAddress(const DBG &debug_state, uint32_t hw_index);
|
H A D | DNBArchImplX86_64.cpp | 661 exc.exc_data.push_back(hw_index); in NotifyException() 738 (1 << (2 * hw_index) | in SetWatchpoint() 740 switch (hw_index) { in SetWatchpoint() 762 switch (hw_index) { in ClearWatchpoint() 818 switch (hw_index) { in GetWatchAddress() 889 debug_state.__dr7 |= (1 << (2 * hw_index) | 0 << (16 + 4 * hw_index)); in SetHardwareBreakpoint() 891 switch (hw_index) { in SetHardwareBreakpoint() 986 if (hw_index < num_hw_points && in DisableHardwareBreakpoint() 997 hw_index); in DisableHardwareBreakpoint() 1076 if (hw_index < num_hw_points && in DisableHardwareWatchpoint() [all …]
|
/openbsd/gnu/llvm/lldb/tools/debugserver/source/MacOSX/ |
H A D | MachThreadList.cpp | 491 uint32_t hw_index = INVALID_NUB_HW_INDEX; in DoHardwareBreakpointAction() local 501 hw_index = m_threads[idx]->EnableHardwareWatchpoint(bp, also_set_on_task); in DoHardwareBreakpointAction() 504 hw_index = in DoHardwareBreakpointAction() 508 hw_index = m_threads[idx]->EnableHardwareBreakpoint(bp, also_set_on_task); in DoHardwareBreakpointAction() 511 hw_index = in DoHardwareBreakpointAction() 515 if (hw_index == INVALID_NUB_HW_INDEX) { in DoHardwareBreakpointAction() 527 return hw_index; in DoHardwareBreakpointAction()
|
/openbsd/gnu/llvm/lldb/tools/debugserver/source/ |
H A D | DNBArch.h | 91 virtual bool DisableHardwareBreakpoint(uint32_t hw_index, in DisableHardwareBreakpoint() argument 95 virtual bool DisableHardwareWatchpoint(uint32_t hw_index, in DisableHardwareWatchpoint() argument
|
H A D | DNBBreakpoint.h | 91 void SetHardwareIndex(uint32_t hw_index) { m_hw_index = hw_index; } in SetHardwareIndex() argument
|
/openbsd/gnu/llvm/lldb/source/API/ |
H A D | SBWatchpoint.cpp | 97 int32_t hw_index = -1; in GetHardwareIndex() local 103 hw_index = watchpoint_sp->GetHardwareIndex(); in GetHardwareIndex() 106 return hw_index; in GetHardwareIndex()
|
/openbsd/gnu/llvm/lldb/source/Plugins/Process/Utility/ |
H A D | RegisterContextThreadMemory.cpp | 180 bool RegisterContextThreadMemory::ClearHardwareWatchpoint(uint32_t hw_index) { in ClearHardwareWatchpoint() argument 183 return m_reg_ctx_sp->ClearHardwareWatchpoint(hw_index); in ClearHardwareWatchpoint()
|
H A D | RegisterContextDarwin_arm.cpp | 1549 bool RegisterContextDarwin_arm::ClearHardwareBreakpoint(uint32_t hw_index) { in ClearHardwareBreakpoint() argument 1554 if (hw_index < num_hw_points) { in ClearHardwareBreakpoint() 1555 dbg.bcr[hw_index] = 0; in ClearHardwareBreakpoint() 1669 bool RegisterContextDarwin_arm::ClearHardwareWatchpoint(uint32_t hw_index) { in ClearHardwareWatchpoint() argument 1674 if (hw_index < num_hw_points) { in ClearHardwareWatchpoint() 1675 dbg.wcr[hw_index] = 0; in ClearHardwareWatchpoint()
|
H A D | NativeRegisterContextDBReg_arm64.h | 39 bool ClearHardwareWatchpoint(uint32_t hw_index) override;
|
H A D | RegisterContextThreadMemory.h | 74 bool ClearHardwareWatchpoint(uint32_t hw_index) override;
|
H A D | RegisterContextDarwin_arm64.h | 63 bool ClearHardwareWatchpoint(uint32_t hw_index) override;
|
H A D | RegisterContextDarwin_arm64.cpp | 1018 bool RegisterContextDarwin_arm64::ClearHardwareWatchpoint(uint32_t hw_index) { in ClearHardwareWatchpoint() argument 1023 if (hw_index < num_hw_points) { in ClearHardwareWatchpoint() 1024 dbg.wcr[hw_index] = 0; in ClearHardwareWatchpoint()
|
H A D | RegisterContextDarwin_arm.h | 87 bool ClearHardwareWatchpoint(uint32_t hw_index) override;
|
/openbsd/gnu/llvm/lldb/include/lldb/Host/common/ |
H A D | NativeRegisterContext.h | 78 virtual bool ClearHardwareWatchpoint(uint32_t hw_index); 80 virtual Status ClearWatchpointHit(uint32_t hw_index);
|
/openbsd/gnu/llvm/lldb/source/Plugins/Process/Linux/ |
H A D | NativeRegisterContextLinux_ppc64le.h | 57 bool ClearHardwareWatchpoint(uint32_t hw_index) override;
|
H A D | NativeRegisterContextLinux_arm.h | 62 bool ClearHardwareWatchpoint(uint32_t hw_index) override;
|
/openbsd/gnu/llvm/lldb/source/Host/common/ |
H A D | NativeRegisterContext.cpp | 276 bool NativeRegisterContext::ClearHardwareWatchpoint(uint32_t hw_index) { in ClearHardwareWatchpoint() argument 280 Status NativeRegisterContext::ClearWatchpointHit(uint32_t hw_index) { in ClearWatchpointHit() argument
|
/openbsd/gnu/llvm/lldb/include/lldb/Target/ |
H A D | RegisterContext.h | 120 virtual bool ClearHardwareWatchpoint(uint32_t hw_index);
|
/openbsd/gnu/llvm/lldb/source/Target/ |
H A D | RegisterContext.cpp | 292 bool RegisterContext::ClearHardwareWatchpoint(uint32_t hw_index) { in ClearHardwareWatchpoint() argument
|