Home | History | Annotate | Download | only in x86

Lines Matching refs:proc

33 #include "proc.h"
58 get_arch_dep(struct process *proc)
63 if (proc->e_machine == EM_X86_64) {
64 proc->mask_32bit = 0;
65 proc->personality = 1;
67 proc->mask_32bit = 1;
68 proc->personality = 0;
70 proc->mask_32bit = 0;
71 proc->personality = 0;
78 syscall_p(struct process *proc, int status, int *sysnum)
81 && WSTOPSIG(status) == (SIGTRAP | proc->tracesysgood)) {
83 if (proc->callstack_depth > 0)
84 elem = proc->callstack + proc->callstack_depth - 1;
86 long int ret = ptrace(PTRACE_PEEKUSER, proc->pid, ORIG_XAX, 0);
100 get_instruction_pointer(proc), errno);
112 arch_type_sizeof(struct process *proc, struct arg_type_info *info)
114 if (proc == NULL)
135 return proc->e_machine == EM_X86_64 ? 8 : 4;
154 arch_type_alignof(struct process *proc, struct arg_type_info *info)
156 if (proc == NULL)
179 return proc->e_machine == EM_X86_64 ? 8 : 4;
184 return proc->e_machine == EM_X86_64 ? 8 : 4;