Home
last modified time | relevance | path

Searched refs:break_op_size (Results 1 – 2 of 2) sorted by relevance

/external/lldb/tools/debugserver/source/MacOSX/
DMachProcess.cpp837 const nub_size_t break_op_size = bp->ByteSize(); in DisableBreakpoint() local
838 assert (break_op_size > 0); in DisableBreakpoint()
840 if (break_op_size > 0) in DisableBreakpoint()
843 uint8_t curr_break_op[break_op_size]; in DisableBreakpoint()
847 if (m_task.ReadMemory(addr, break_op_size, curr_break_op) == break_op_size) in DisableBreakpoint()
853 if (memcmp(curr_break_op, break_op, break_op_size) == 0) in DisableBreakpoint()
858 … if (m_task.WriteMemory(addr, break_op_size, bp->SavedOpcodeBytes()) == break_op_size) in DisableBreakpoint()
883 uint8_t verify_opcode[break_op_size]; in DisableBreakpoint()
885 if (m_task.ReadMemory(addr, break_op_size, verify_opcode) == break_op_size) in DisableBreakpoint()
888 if (memcmp(bp->SavedOpcodeBytes(), verify_opcode, break_op_size) == 0) in DisableBreakpoint()
[all …]
/external/lldb/source/Target/
DProcess.cpp2235 const size_t break_op_size = bp_site->GetByteSize(); in DisableSoftwareBreakpoint() local
2237 if (break_op_size > 0) in DisableSoftwareBreakpoint()
2241 assert (break_op_size <= sizeof(curr_break_op)); in DisableSoftwareBreakpoint()
2245 if (DoReadMemory (bp_addr, curr_break_op, break_op_size, error) == break_op_size) in DisableSoftwareBreakpoint()
2249 if (::memcmp (curr_break_op, break_op, break_op_size) == 0) in DisableSoftwareBreakpoint()
2254 …if (DoWriteMemory (bp_addr, bp_site->GetSavedOpcodeBytes(), break_op_size, error) == break_op_size) in DisableSoftwareBreakpoint()
2271 assert (break_op_size < sizeof(verify_opcode)); in DisableSoftwareBreakpoint()
2273 … if (DoReadMemory (bp_addr, verify_opcode, break_op_size, error) == break_op_size) in DisableSoftwareBreakpoint()
2276 … if (::memcmp (bp_site->GetSavedOpcodeBytes(), verify_opcode, break_op_size) == 0) in DisableSoftwareBreakpoint()