Home | History | Annotate | Download | only in alpha

Lines Matching refs:proc

30 #include "proc.h"
43 get_arch_dep(struct process *proc)
50 syscall_p(struct process *proc, int status, int *sysnum)
53 && WSTOPSIG(status) == (SIGTRAP | proc->tracesysgood)) {
54 char *ip = get_instruction_pointer(proc) - 4;
55 long x = ptrace(PTRACE_PEEKTEXT, proc->pid, ip, 0);
60 ptrace(PTRACE_PEEKUSER, proc->pid, 0 /* REG_R0 */ , 0);
61 if (proc->callstack_depth > 0 &&
62 proc->callstack[proc->callstack_depth - 1].is_syscall &&
63 proc->callstack[proc->callstack_depth - 1].c_un.syscall == *sysnum) {
74 gimme_arg(enum tof type, struct process *proc, int arg_num,
78 return ptrace(PTRACE_PEEKUSER, proc->pid, 0 /* REG_R0 */ , 0);
83 return ptrace(PTRACE_PEEKUSER, proc->pid,
86 return ptrace(PTRACE_PEEKTEXT, proc->pid,
87 proc->stack_pointer + 8 * (arg_num - 6),
90 return ptrace(PTRACE_PEEKUSER, proc->pid,