PERFORCE change 41780 for review

Juli Mallett jmallett at FreeBSD.org
Sat Nov 8 17:57:46 PST 2003


http://perforce.freebsd.org/chv.cgi?CH=41780

Change 41780 by jmallett at jmallett_dalek on 2003/11/08 17:57:08

	Enter DDB when possible, don't be backwards about it.

Affected files ...

.. //depot/projects/mips/sys/mips/mips/trap.c#13 edit

Differences ...

==== //depot/projects/mips/sys/mips/mips/trap.c#13 (text+ko) ====

@@ -136,14 +136,17 @@
 	switch (code) {
 	case T_BREAK:
 #if	DDB
+	default:
 		kdb_trap(code, tf);
 		break;
-#endif
+#else
 	default:
 		goto dopanic;
+#endif
 	}
 	platform_trap_exit();
 	return;
+#ifndef	DDB
 dopanic:
 	if (panicstr != NULL) {
 		printf("Double panic, resetting...\n");
@@ -151,4 +154,5 @@
 	}
 	panic("trap");
 	platform_trap_exit();
+#endif
 }


More information about the p4-projects mailing list