PTRACE_GETREGS
case PTRACE_GETREGS:
case PTRACE_GETREGS: /* Get all gp regs from the child. */
case PTRACE_GETREGS:
case PTRACE_GETREGS:
case PTRACE_GETREGS: /* Get all gp regs from the child. */
case PTRACE_GETREGS:
case PTRACE_GETREGS: /* Get all pt_regs from the child. */
case PTRACE_GETREGS: /* Get all pt_regs from the child. */
case PTRACE_GETREGS:
case PTRACE_GETREGS: {
case PTRACE_GETREGS:
#ifdef PTRACE_GETREGS
case PTRACE_GETREGS: { /* Get all gp regs from the child. */
err = ptrace(PTRACE_GETREGS, pid, 0, exec_regs);
if (ptrace(PTRACE_GETREGS, pid, 0, regs->gp)) {
if (ptrace(PTRACE_GETREGS, pid, 0, regs) < 0)
case PTRACE_GETREGS: /* Get all gp regs from the child. */
case PTRACE_GETREGS: /* Get all gp regs from the child. */
case PTRACE_GETREGS: /* Get all gp regs from the child. */
if (ptrace(PTRACE_GETREGS, pid, 0, regs_out) < 0)
case PTRACE_GETREGS:
return sys_ptrace(PTRACE_GETREGS, pid, 0, (unsigned long)result);
if (ptrace(PTRACE_GETREGS, chld, 0, ®s) != 0)
if (ptrace(PTRACE_GETREGS, chld, 0, ®s) != 0)
if (ptrace(PTRACE_GETREGS, chld, 0, ®s) != 0)
ret = ptrace(PTRACE_GETREGS, child, NULL, regs);
ret = ptrace(PTRACE_GETREGS, child, NULL, regs);
# define ARCH_GETREGS(_regs) ptrace(PTRACE_GETREGS, tracee, 0, &(_regs))
if (ptrace(PTRACE_GETREGS, chld, NULL, ®s) != 0)
if (ptrace(PTRACE_GETREGS, chld, 0, ®s) != 0)
if (ptrace(PTRACE_GETREGS, chld, 0, ®s) != 0)
if (ptrace(PTRACE_GETREGS, chld, 0, ®s) != 0)
if (ptrace(PTRACE_GETREGS, chld, 0, ®s) != 0)
if (ptrace(PTRACE_GETREGS, chld, 0, ®s) != 0)
if (ptrace(PTRACE_GETREGS, chld, 0, ®s) != 0)
ptrace(PTRACE_GETREGS, testpid, NULL, ®s);