1if (upeek(tcp->pid, REG_A3, &alpha_a3) < 0) 2 return -1; 3if (upeek(tcp->pid, REG_R0, &scno) < 0) 4 return -1; 5 6/* 7 * Do some sanity checks to figure out if it's 8 * really a syscall entry 9 */ 10if (!SCNO_IN_RANGE(scno)) { 11 if (alpha_a3 == 0 || alpha_a3 == -1) { 12 if (debug_flag) 13 fprintf(stderr, "stray syscall exit: r0 = %ld\n", scno); 14 return 0; 15 } 16} 17