diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2001-03-30 05:13:47 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2001-03-30 05:13:47 +0000 |
commit | 084e452536d921067df427f653e2fc8b4dcb2c99 (patch) | |
tree | 10b2647655d328b6795c1d5cb3c10f4e70d6dd79 /sys/arch/powerpc | |
parent | 134416a1af94559b2c3e24db7a3d7362c185ec1d (diff) |
Just because someone writes an errant program does not mean we should log
every problem to the console. #if 0 the rest of the user process
crash prints.
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r-- | sys/arch/powerpc/powerpc/trap.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/powerpc/powerpc/trap.c b/sys/arch/powerpc/powerpc/trap.c index 5a84c53ac76..4c511e37549 100644 --- a/sys/arch/powerpc/powerpc/trap.c +++ b/sys/arch/powerpc/powerpc/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.23 2001/03/29 21:47:40 drahn Exp $ */ +/* $OpenBSD: trap.c,v 1.24 2001/03/30 05:13:46 drahn Exp $ */ /* $NetBSD: trap.c,v 1.3 1996/10/13 03:31:37 christos Exp $ */ /* @@ -209,7 +209,9 @@ printf("dsi on addr %x iar %x lr %x\n", frame->dar, frame->srr0,frame->lr); break; } } +#if 0 printf("isi iar %x\n", frame->srr0); +#endif case EXC_MCHK|EXC_USER: /* XXX Likely that returning from this trap is bogus... */ /* XXX Have to make sure that sigreturn does the right thing. */ @@ -392,10 +394,12 @@ mpc_print_pci_stat(); errstr[errnum] = "previous address"; errnum++; } +#if 0 printf("pgm iar %x srr1 %x\n", frame->srr0, frame->srr1); for (i = 0; i < errnum; i++) { printf("\t[%s]\n", errstr[i]); } +#endif sv.sival_int = frame->srr0; trapsignal(p, SIGILL, 0, ILL_ILLOPC, sv); break; |