Lines Matching defs:trap
703 static unsigned long trap;
1037 fprintf(stderr, "syscall: unknown syscall trap 0x%08lx\n",
1154 /* If we are entering, then disassemble the syscall trap. */
1156 /* Retrieve the syscall trap instruction. */
1159 trap = ptrace(PTRACE_PEEKTEXT, tcp->pid, (char *)regs.tpc, 0);
1160 trap >>= 32;
1162 trap = ptrace(PTRACE_PEEKTEXT, tcp->pid, (char *)regs.pc, 0);
1167 /* Disassemble the trap to see what personality to use. */
1168 switch (trap) {
1170 /* Linux/SPARC syscall trap. */
1174 /* Linux/SPARC64 syscall trap. */
1178 /* SunOS syscall trap. (pers 1) */
1182 /* Solaris 2.x syscall trap. (per 2) */
1186 /* NetBSD/FreeBSD syscall trap. */
1194 /* Unknown syscall trap. */
1200 fprintf(stderr,"syscall: unknown syscall trap %08lx %016lx\n", trap, regs.tpc);
1202 fprintf(stderr,"syscall: unknown syscall trap %08lx %08lx\n", trap, regs.pc);
1208 if (trap == 0x91d02027)
2205 * in the trap number matches the number strace expects.