1 static int
get_syscall_result_regs(struct tcb * tcp)2 get_syscall_result_regs(struct tcb *tcp)
3 {
4 	return (upeek(tcp->pid, REG_A3, &alpha_a3) < 0 ||
5 		upeek(tcp->pid, REG_R0, &alpha_r0) < 0) ? -1 : 0;
6 }
7