From 084e452536d921067df427f653e2fc8b4dcb2c99 Mon Sep 17 00:00:00 2001 From: Dale Rahn Date: Fri, 30 Mar 2001 05:13:47 +0000 Subject: 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. --- sys/arch/powerpc/powerpc/trap.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sys/arch/powerpc') 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; -- cgit v1.2.3