Home
last modified time | relevance | path

Searched refs:hw_index (Results 1 – 25 of 26) sorted by relevance

12

/openbsd/gnu/llvm/lldb/tools/debugserver/source/MacOSX/arm64/
H A DDNBArchImplARM64.cpp1000 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 DDNBArchImplARM64.h217 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 DDNBArchImpl.cpp1071 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 DDNBArchImpl.h238 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 DDNBArchImplI386.h58 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 DDNBArchImplI386.cpp705 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 DDNBArchImplX86_64.h222 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 DDNBArchImplX86_64.cpp661 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 DMachThreadList.cpp491 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 DDNBArch.h91 virtual bool DisableHardwareBreakpoint(uint32_t hw_index, in DisableHardwareBreakpoint() argument
95 virtual bool DisableHardwareWatchpoint(uint32_t hw_index, in DisableHardwareWatchpoint() argument
H A DDNBBreakpoint.h91 void SetHardwareIndex(uint32_t hw_index) { m_hw_index = hw_index; } in SetHardwareIndex() argument
/openbsd/gnu/llvm/lldb/source/API/
H A DSBWatchpoint.cpp97 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 DRegisterContextThreadMemory.cpp180 bool RegisterContextThreadMemory::ClearHardwareWatchpoint(uint32_t hw_index) { in ClearHardwareWatchpoint() argument
183 return m_reg_ctx_sp->ClearHardwareWatchpoint(hw_index); in ClearHardwareWatchpoint()
H A DRegisterContextDarwin_arm.cpp1549 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 DNativeRegisterContextDBReg_arm64.h39 bool ClearHardwareWatchpoint(uint32_t hw_index) override;
H A DRegisterContextThreadMemory.h74 bool ClearHardwareWatchpoint(uint32_t hw_index) override;
H A DRegisterContextDarwin_arm64.h63 bool ClearHardwareWatchpoint(uint32_t hw_index) override;
H A DRegisterContextDarwin_arm64.cpp1018 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 DRegisterContextDarwin_arm.h87 bool ClearHardwareWatchpoint(uint32_t hw_index) override;
/openbsd/gnu/llvm/lldb/include/lldb/Host/common/
H A DNativeRegisterContext.h78 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 DNativeRegisterContextLinux_ppc64le.h57 bool ClearHardwareWatchpoint(uint32_t hw_index) override;
H A DNativeRegisterContextLinux_arm.h62 bool ClearHardwareWatchpoint(uint32_t hw_index) override;
/openbsd/gnu/llvm/lldb/source/Host/common/
H A DNativeRegisterContext.cpp276 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 DRegisterContext.h120 virtual bool ClearHardwareWatchpoint(uint32_t hw_index);
/openbsd/gnu/llvm/lldb/source/Target/
H A DRegisterContext.cpp292 bool RegisterContext::ClearHardwareWatchpoint(uint32_t hw_index) { in ClearHardwareWatchpoint() argument

12