Home
last modified time | relevance | path

Searched refs:m_hwp_regs (Results 1 – 8 of 8) sorted by relevance

/openbsd/gnu/llvm/lldb/source/Plugins/Process/Utility/
H A DNativeRegisterContextDBReg_arm64.cpp285 else if (m_hwp_regs[i].address == addr) { in SetHardwareWatchpoint()
294 m_hwp_regs[wp_index].real_addr = real_addr; in SetHardwareWatchpoint()
295 m_hwp_regs[wp_index].address = addr; in SetHardwareWatchpoint()
302 m_hwp_regs[wp_index].address = 0; in SetHardwareWatchpoint()
337 m_hwp_regs[wp_index].address = 0; in ClearHardwareWatchpoint()
344 m_hwp_regs[wp_index].address = tempAddr; in ClearHardwareWatchpoint()
369 m_hwp_regs[i].address = 0; in ClearAllHardwareWatchpoints()
375 m_hwp_regs[i].control = tempControl; in ClearAllHardwareWatchpoints()
376 m_hwp_regs[i].address = tempAddr; in ClearAllHardwareWatchpoints()
455 return m_hwp_regs[wp_index].real_addr; in GetWatchpointAddress()
[all …]
H A DNativeRegisterContextDBReg_arm64.h68 std::array<struct DREG, 16> m_hwp_regs; // hardware watchpoints variable
/openbsd/gnu/llvm/lldb/source/Plugins/Process/Linux/
H A DNativeRegisterContextLinux_arm.cpp72 ::memset(&m_hwp_regs, 0, sizeof(m_hwp_regs)); in NativeRegisterContextLinux_arm()
552 m_hwp_regs[wp_index].address = addr; in SetHardwareWatchpoint()
559 m_hwp_regs[wp_index].address = 0; in SetHardwareWatchpoint()
560 m_hwp_regs[wp_index].control &= ~1; in SetHardwareWatchpoint()
587 m_hwp_regs[wp_index].control &= ~1; in ClearHardwareWatchpoint()
588 m_hwp_regs[wp_index].address = 0; in ClearHardwareWatchpoint()
614 if (m_hwp_regs[i].control & 0x01) { in ClearAllHardwareWatchpoints()
616 tempAddr = m_hwp_regs[i].address; in ClearAllHardwareWatchpoints()
620 m_hwp_regs[i].control &= ~1; in ClearAllHardwareWatchpoints()
621 m_hwp_regs[i].address = 0; in ClearAllHardwareWatchpoints()
[all …]
H A DNativeRegisterContextLinux_ppc64le.cpp145 ::memset(&m_hwp_regs, 0, sizeof(m_hwp_regs)); in NativeRegisterContextLinux_ppc64le()
578 if ((m_hwp_regs[i].control & 1) == 0) { in SetHardwareWatchpoint()
590 m_hwp_regs[wp_index].address = addr; in SetHardwareWatchpoint()
592 m_hwp_regs[wp_index].mode = rw_mode; in SetHardwareWatchpoint()
598 m_hwp_regs[wp_index].address = 0; in SetHardwareWatchpoint()
628 m_hwp_regs[wp_index].address = 0; in ClearHardwareWatchpoint()
629 m_hwp_regs[wp_index].slot = 0; in ClearHardwareWatchpoint()
630 m_hwp_regs[wp_index].mode = 0; in ClearHardwareWatchpoint()
700 return m_hwp_regs[wp_index].real_addr; in GetWatchpointAddress()
714 return m_hwp_regs[wp_index].hit_addr; in GetWatchpointHitAddress()
[all …]
H A DNativeRegisterContextLinux_ppc64le.h125 std::array<DREG, 16> m_hwp_regs; variable
H A DNativeRegisterContextLinux_arm64.cpp113 ::memset(&m_hwp_regs, 0, sizeof(m_hwp_regs)); in NativeRegisterContextLinux_arm64()
695 dreg_state.dbg_regs[i].addr = m_hwp_regs[i].address; in WriteHardwareDebugRegs()
696 dreg_state.dbg_regs[i].ctrl = m_hwp_regs[i].control; in WriteHardwareDebugRegs()
H A DNativeRegisterContextLinux_arm.h116 struct DREG m_hwp_regs[16]; // Arm native linux hardware watchpoints variable
/openbsd/gnu/llvm/lldb/source/Plugins/Process/FreeBSD/
H A DNativeRegisterContextFreeBSD_arm64.cpp46 ::memset(&m_hwp_regs, 0, sizeof(m_hwp_regs)); in NativeRegisterContextFreeBSD_arm64()
216 m_hwp_regs = r_source.m_hwp_regs; in CopyHardwareWatchpointsFrom()
246 assert(m_max_hwp_supported <= m_hwp_regs.size()); in ReadHardwareDebugInfo()
268 m_dbreg.db_watchregs[i].dbw_addr = m_hwp_regs[i].address; in WriteHardwareDebugRegs()
269 m_dbreg.db_watchregs[i].dbw_ctrl = m_hwp_regs[i].control; in WriteHardwareDebugRegs()