Lines Matching refs:bp_addr
1731 size_t Process::RemoveBreakpointOpcodesFromBuffer(addr_t bp_addr, size_t size, in RemoveBreakpointOpcodesFromBuffer() argument
1736 if (m_breakpoint_site_list.FindInRange(bp_addr, bp_addr + size, in RemoveBreakpointOpcodesFromBuffer()
1738 bp_sites_in_range.ForEach([bp_addr, size, in RemoveBreakpointOpcodesFromBuffer()
1744 if (bp_site->IntersectsRange(bp_addr, size, &intersect_addr, in RemoveBreakpointOpcodesFromBuffer()
1746 assert(bp_addr <= intersect_addr && intersect_addr < bp_addr + size); in RemoveBreakpointOpcodesFromBuffer()
1747 assert(bp_addr < intersect_addr + intersect_size && in RemoveBreakpointOpcodesFromBuffer()
1748 intersect_addr + intersect_size <= bp_addr + size); in RemoveBreakpointOpcodesFromBuffer()
1750 size_t buf_offset = intersect_addr - bp_addr; in RemoveBreakpointOpcodesFromBuffer()
1772 const addr_t bp_addr = bp_site->GetLoadAddress(); in EnableSoftwareBreakpoint() local
1775 bp_site->GetID(), (uint64_t)bp_addr); in EnableSoftwareBreakpoint()
1781 bp_site->GetID(), (uint64_t)bp_addr); in EnableSoftwareBreakpoint()
1785 if (bp_addr == LLDB_INVALID_ADDRESS) { in EnableSoftwareBreakpoint()
1797 bp_addr); in EnableSoftwareBreakpoint()
1808 if (DoReadMemory(bp_addr, bp_site->GetSavedOpcodeBytes(), bp_opcode_size, in EnableSoftwareBreakpoint()
1811 if (DoWriteMemory(bp_addr, bp_opcode_bytes, bp_opcode_size, error) == in EnableSoftwareBreakpoint()
1814 if (DoReadMemory(bp_addr, verify_bp_opcode_bytes, bp_opcode_size, in EnableSoftwareBreakpoint()
1823 bp_site->GetID(), (uint64_t)bp_addr); in EnableSoftwareBreakpoint()
1840 bp_site->GetID(), (uint64_t)bp_addr, error.AsCString()); in EnableSoftwareBreakpoint()
1848 addr_t bp_addr = bp_site->GetLoadAddress(); in DisableSoftwareBreakpoint() local
1853 breakID, (uint64_t)bp_addr); in DisableSoftwareBreakpoint()
1867 if (DoReadMemory(bp_addr, curr_break_op, break_op_size, error) == in DisableSoftwareBreakpoint()
1875 if (DoWriteMemory(bp_addr, bp_site->GetSavedOpcodeBytes(), in DisableSoftwareBreakpoint()
1893 if (DoReadMemory(bp_addr, verify_opcode, break_op_size, error) == in DisableSoftwareBreakpoint()
1903 bp_site->GetID(), (uint64_t)bp_addr); in DisableSoftwareBreakpoint()
1922 bp_site->GetID(), (uint64_t)bp_addr); in DisableSoftwareBreakpoint()
1930 bp_site->GetID(), (uint64_t)bp_addr, error.AsCString()); in DisableSoftwareBreakpoint()