Lines Matching defs:proc
28 #include "proc.h"
32 get_instruction_pointer(struct process *proc)
39 if (ptrace(PTRACE_GETREGSET, proc->pid, NT_PRSTATUS, (long)&iov))
46 set_instruction_pointer(struct process *proc, arch_addr_t addr)
53 if (ptrace(PTRACE_GETREGSET, proc->pid, NT_PRSTATUS, (long)&iov))
60 ptrace(PTRACE_SETREGSET, proc->pid, NT_PRSTATUS, (long)&iov);
64 get_stack_pointer(struct process *proc)
71 if (ptrace(PTRACE_GETREGSET, proc->pid, NT_PRSTATUS, (long)&iov))
78 get_return_addr(struct process *proc, void *stack_pointer)
85 if (ptrace(PTRACE_GETREGSET, proc->pid, NT_PRSTATUS, (long)&iov))