Home
last modified time | relevance | path

Searched refs:bp_index (Results 1 – 11 of 11) sorted by relevance

/external/llvm-project/lldb/source/Plugins/Process/Linux/
DNativeRegisterContextLinux_arm.cpp318 uint32_t control_value = 0, bp_index = 0; in SetHardwareBreakpoint() local
336 bp_index = LLDB_INVALID_INDEX32; in SetHardwareBreakpoint()
339 bp_index = i; // Mark last free slot in SetHardwareBreakpoint()
345 if (bp_index == LLDB_INVALID_INDEX32) in SetHardwareBreakpoint()
349 m_hbr_regs[bp_index].real_addr = addr; in SetHardwareBreakpoint()
350 m_hbr_regs[bp_index].address = addr; in SetHardwareBreakpoint()
351 m_hbr_regs[bp_index].control = control_value; in SetHardwareBreakpoint()
354 error = WriteHardwareDebugRegs(eDREGTypeBREAK, bp_index); in SetHardwareBreakpoint()
357 m_hbr_regs[bp_index].address = 0; in SetHardwareBreakpoint()
358 m_hbr_regs[bp_index].control &= ~1; in SetHardwareBreakpoint()
[all …]
DNativeRegisterContextLinux_arm64.cpp471 uint32_t control_value = 0, bp_index = 0; in SetHardwareBreakpoint() local
488 bp_index = LLDB_INVALID_INDEX32; in SetHardwareBreakpoint()
491 bp_index = i; // Mark last free slot in SetHardwareBreakpoint()
497 if (bp_index == LLDB_INVALID_INDEX32) in SetHardwareBreakpoint()
501 m_hbr_regs[bp_index].real_addr = addr; in SetHardwareBreakpoint()
502 m_hbr_regs[bp_index].address = addr; in SetHardwareBreakpoint()
503 m_hbr_regs[bp_index].control = control_value; in SetHardwareBreakpoint()
509 m_hbr_regs[bp_index].address = 0; in SetHardwareBreakpoint()
510 m_hbr_regs[bp_index].control &= ~1; in SetHardwareBreakpoint()
515 return bp_index; in SetHardwareBreakpoint()
[all …]
DNativeThreadLinux.cpp183 uint32_t bp_index = m_reg_context_up->SetHardwareBreakpoint(addr, size); in SetHardwareBreakpoint() local
185 if (bp_index == LLDB_INVALID_INDEX32) in SetHardwareBreakpoint()
188 m_hw_break_index_map.insert({addr, bp_index}); in SetHardwareBreakpoint()
197 uint32_t bp_index = bp->second; in RemoveHardwareBreakpoint() local
198 if (m_reg_context_up->ClearHardwareBreakpoint(bp_index)) { in RemoveHardwareBreakpoint()
DNativeRegisterContextLinux_arm.h54 Status GetHardwareBreakHitIndex(uint32_t &bp_index,
DNativeRegisterContextLinux_arm64.h62 Status GetHardwareBreakHitIndex(uint32_t &bp_index,
DNativeProcessLinux.cpp673 uint32_t bp_index; in MonitorSIGTRAP() local
675 bp_index, (uintptr_t)info.si_addr); in MonitorSIGTRAP()
680 if (bp_index != LLDB_INVALID_INDEX32) { in MonitorSIGTRAP()
/external/llvm-project/lldb/source/Plugins/Process/FreeBSDRemote/
DNativeThreadFreeBSD.cpp254 uint32_t bp_index = GetRegisterContext().SetHardwareBreakpoint(addr, size); in SetHardwareBreakpoint() local
256 if (bp_index == LLDB_INVALID_INDEX32) in SetHardwareBreakpoint()
259 m_hw_break_index_map.insert({addr, bp_index}); in SetHardwareBreakpoint()
268 uint32_t bp_index = bp->second; in RemoveHardwareBreakpoint() local
269 if (GetRegisterContext().ClearHardwareBreakpoint(bp_index)) { in RemoveHardwareBreakpoint()
/external/llvm-project/lldb/source/Plugins/Process/NetBSD/
DNativeThreadNetBSD.cpp271 uint32_t bp_index = GetRegisterContext().SetHardwareBreakpoint(addr, size); in SetHardwareBreakpoint() local
273 if (bp_index == LLDB_INVALID_INDEX32) in SetHardwareBreakpoint()
276 m_hw_break_index_map.insert({addr, bp_index}); in SetHardwareBreakpoint()
285 uint32_t bp_index = bp->second; in RemoveHardwareBreakpoint() local
286 if (GetRegisterContext().ClearHardwareBreakpoint(bp_index)) { in RemoveHardwareBreakpoint()
/external/llvm-project/lldb/source/Host/common/
DNativeRegisterContext.cpp251 Status NativeRegisterContext::GetHardwareBreakHitIndex(uint32_t &bp_index, in GetHardwareBreakHitIndex() argument
253 bp_index = LLDB_INVALID_INDEX32; in GetHardwareBreakHitIndex()
/external/llvm-project/lldb/include/lldb/Host/common/
DNativeRegisterContext.h70 virtual Status GetHardwareBreakHitIndex(uint32_t &bp_index,
/external/llvm-project/lldb/source/API/
DSBThread.cpp235 uint32_t bp_index = idx / 2; in GetStopReasonDataAtIndex() local
237 bp_site_sp->GetOwnerAtIndex(bp_index)); in GetStopReasonDataAtIndex()