Lines Matching refs:bp_addr
1715 size_t Process::RemoveBreakpointOpcodesFromBuffer(addr_t bp_addr, size_t size, in RemoveBreakpointOpcodesFromBuffer() argument
1720 if (m_breakpoint_site_list.FindInRange(bp_addr, bp_addr + size, in RemoveBreakpointOpcodesFromBuffer()
1722 bp_sites_in_range.ForEach([bp_addr, size, in RemoveBreakpointOpcodesFromBuffer()
1728 if (bp_site->IntersectsRange(bp_addr, size, &intersect_addr, in RemoveBreakpointOpcodesFromBuffer()
1730 assert(bp_addr <= intersect_addr && intersect_addr < bp_addr + size); in RemoveBreakpointOpcodesFromBuffer()
1731 assert(bp_addr < intersect_addr + intersect_size && in RemoveBreakpointOpcodesFromBuffer()
1732 intersect_addr + intersect_size <= bp_addr + size); in RemoveBreakpointOpcodesFromBuffer()
1734 size_t buf_offset = intersect_addr - bp_addr; in RemoveBreakpointOpcodesFromBuffer()
1756 const addr_t bp_addr = bp_site->GetLoadAddress(); in EnableSoftwareBreakpoint() local
1759 bp_site->GetID(), (uint64_t)bp_addr); in EnableSoftwareBreakpoint()
1765 bp_site->GetID(), (uint64_t)bp_addr); in EnableSoftwareBreakpoint()
1769 if (bp_addr == LLDB_INVALID_ADDRESS) { in EnableSoftwareBreakpoint()
1781 bp_addr); in EnableSoftwareBreakpoint()
1792 if (DoReadMemory(bp_addr, bp_site->GetSavedOpcodeBytes(), bp_opcode_size, in EnableSoftwareBreakpoint()
1795 if (DoWriteMemory(bp_addr, bp_opcode_bytes, bp_opcode_size, error) == in EnableSoftwareBreakpoint()
1798 if (DoReadMemory(bp_addr, verify_bp_opcode_bytes, bp_opcode_size, in EnableSoftwareBreakpoint()
1807 bp_site->GetID(), (uint64_t)bp_addr); in EnableSoftwareBreakpoint()
1824 bp_site->GetID(), (uint64_t)bp_addr, error.AsCString()); in EnableSoftwareBreakpoint()
1832 addr_t bp_addr = bp_site->GetLoadAddress(); in DisableSoftwareBreakpoint() local
1837 breakID, (uint64_t)bp_addr); in DisableSoftwareBreakpoint()
1851 if (DoReadMemory(bp_addr, curr_break_op, break_op_size, error) == in DisableSoftwareBreakpoint()
1859 if (DoWriteMemory(bp_addr, bp_site->GetSavedOpcodeBytes(), in DisableSoftwareBreakpoint()
1877 if (DoReadMemory(bp_addr, verify_opcode, break_op_size, error) == in DisableSoftwareBreakpoint()
1887 bp_site->GetID(), (uint64_t)bp_addr); in DisableSoftwareBreakpoint()
1906 bp_site->GetID(), (uint64_t)bp_addr); in DisableSoftwareBreakpoint()
1914 bp_site->GetID(), (uint64_t)bp_addr, error.AsCString()); in DisableSoftwareBreakpoint()