Lines Matching refs:address
110 static void set_watchpoint(pid_t child, uintptr_t address, size_t size) { in set_watchpoint() argument
111 ASSERT_EQ(0u, address & 0x7) << "address: " << address; in set_watchpoint()
119 ASSERT_EQ(0, ptrace(PTRACE_SETHBPREGS, child, -1, &address)) << strerror(errno); in set_watchpoint()
124 dreg_state.dbg_regs[0].addr = address; in set_watchpoint()
134 …ASSERT_EQ(0, ptrace(PTRACE_POKEUSER, child, offsetof(user, u_debugreg[0]), address)) << strerror(e… in set_watchpoint()
150 UNUSED(address); in set_watchpoint()
296 uintptr_t address = uintptr_t(breakpoint_func); in set_breakpoint() local
298 address &= ~3; in set_breakpoint()
304 ASSERT_EQ(0, ptrace(PTRACE_SETHBPREGS, child, 1, &address)) << strerror(errno); in set_breakpoint()
309 dreg_state.dbg_regs[0].addr = reinterpret_cast<uintptr_t>(address); in set_breakpoint()
319 ASSERT_EQ(0, ptrace(PTRACE_POKEUSER, child, offsetof(user, u_debugreg[0]), address)) in set_breakpoint()
337 UNUSED(address); in set_breakpoint()