Lines Matching defs:pid
140 int pid;
155 pid = TIDGET (inferior_ptid);
156 if (pid == 0)
157 pid = PIDGET (inferior_ptid);
169 if (ptrace (PTRACE_GETREGS, pid, (PTRACE_ARG3_TYPE) ®s, 0) == -1)
181 if (ptrace (PTRACE_GETFPREGS, pid, (PTRACE_ARG3_TYPE) &fpregs, 0) == -1)
192 int pid;
196 pid = TIDGET (inferior_ptid);
197 if (pid == 0)
198 pid = PIDGET (inferior_ptid);
204 if (ptrace (PTRACE_GETREGS, pid, (PTRACE_ARG3_TYPE) ®s, 0) == -1)
209 if (ptrace (PTRACE_SETREGS, pid, (PTRACE_ARG3_TYPE) ®s, 0) == -1)
230 if (ptrace (PTRACE_GETFPREGS, pid, (PTRACE_ARG3_TYPE) &fpregs, 0) == -1)
242 if (ptrace (PTRACE_SETFPREGS, pid,
276 int pid;
278 pid = TIDGET (inferior_ptid);
279 if (pid == 0)
280 pid = PIDGET (inferior_ptid);
288 if (ptrace (PT_WCOOKIE, pid, (PTRACE_ARG3_TYPE) &wcookie, 0) == -1)