Lines Matching refs:pid
41 arch_enable_breakpoint(pid_t pid, struct breakpoint *sbp) in arch_enable_breakpoint() argument
48 pid, sbp->addr, breakpoint_name(sbp)); in arch_enable_breakpoint()
51 long a = ptrace(PTRACE_PEEKTEXT, pid, in arch_enable_breakpoint()
56 pid, sbp->addr, breakpoint_name(sbp), in arch_enable_breakpoint()
68 a = ptrace(PTRACE_POKETEXT, pid, in arch_enable_breakpoint()
73 pid, sbp->addr, breakpoint_name(sbp), in arch_enable_breakpoint()
85 proc->pid, sbp->addr, breakpoint_name(sbp)); in enable_breakpoint()
86 arch_enable_breakpoint(proc->pid, sbp); in enable_breakpoint()
93 arch_disable_breakpoint(pid_t pid, const struct breakpoint *sbp) in arch_disable_breakpoint() argument
99 pid, sbp->addr, breakpoint_name(sbp)); in arch_disable_breakpoint()
102 long a = ptrace(PTRACE_PEEKTEXT, pid, in arch_disable_breakpoint()
107 pid, sbp->addr, strerror(errno)); in arch_disable_breakpoint()
117 a = ptrace(PTRACE_POKETEXT, pid, in arch_disable_breakpoint()
122 pid, sbp->addr, strerror(errno)); in arch_disable_breakpoint()
133 proc->pid, sbp->addr, breakpoint_name(sbp)); in disable_breakpoint()
134 arch_disable_breakpoint(proc->pid, sbp); in disable_breakpoint()