Lines Matching refs:ptrace
97 int insn = ptrace(PTRACE_PEEKTEXT, proc->pid, pc - 4, 0); in syscall_p()
98 int num = ptrace(PTRACE_PEEKTEXT, proc->pid, pc - 8, 0); in syscall_p()
154 inst = ptrace(PTRACE_PEEKTEXT, proc->pid, pc, 0); in mips_next_pcs()
194 rx = ptrace(PTRACE_PEEKUSER,proc->pid, rn, 0); in mips_next_pcs()
290 ptrace(PTRACE_SYSCALL, proc->pid, 0, 0); in arch_sw_singlestep()
331 return ptrace(PTRACE_PEEKUSER,proc->pid,off_v0,0); in gimme_arg()
334 unsigned a3=ptrace(PTRACE_PEEKUSER, proc->pid,off_a3,0); in gimme_arg()
335 unsigned v0=ptrace(PTRACE_PEEKUSER, proc->pid,off_v0,0); in gimme_arg()
345 ret=ptrace(PTRACE_PEEKUSER,proc->pid,off_fpr0+12+arg_num*2,0); in gimme_arg()
350 ret=ptrace(PTRACE_PEEKUSER,proc->pid,off_a0+arg_num,0); in gimme_arg()
355 addr=ptrace(PTRACE_PEEKUSER,proc->pid,off_sp,0); in gimme_arg()
361 ret=ptrace(PTRACE_PEEKTEXT,proc->pid,addr,0); in gimme_arg()
367 addr=ptrace(PTRACE_PEEKUSER,proc->pid,off_sp,0); in gimme_arg()
373 ret=ptrace(PTRACE_PEEKTEXT,proc->pid,addr,0); in gimme_arg()