Lines Matching refs:gpr2
715 static long gpr2; variable
1439 if (upeek(tcp, PT_GPR2, &gpr2) < 0) in syscall_fixup()
1443 if (gpr2 != syscall_mode && !(tcp->flags & TCB_INSYSCALL)) { in syscall_fixup()
1445 fprintf(stderr, "stray syscall exit: gpr2 = %ld\n", gpr2); in syscall_fixup()
1450 && (gpr2 == -ENOSYS || gpr2 == tcp->scno)) { in syscall_fixup()
1455 gpr2 = 0; in syscall_fixup()
1542 if (check_errno && is_negated_errno(gpr2)) { in get_error()
1544 u_error = -gpr2; in get_error()
1547 tcp->u_rval = gpr2; in get_error()
1815 gpr2 = error ? -error : rval;
1816 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)PT_GPR2, gpr2) < 0)