PERFORCE change 57322 for review

Marcel Moolenaar marcel at FreeBSD.org
Tue Jul 13 23:45:32 PDT 2004


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

Change 57322 by marcel at marcel_nfs on 2004/07/14 06:44:57

	Diff reduction. Remove the last of the powerpc changes I
	had on this branch.

Affected files ...

.. //depot/projects/gdb/sys/powerpc/powermac/pswitch.c#4 edit

Differences ...

==== //depot/projects/gdb/sys/powerpc/powermac/pswitch.c#4 (text+ko) ====

@@ -29,7 +29,6 @@
 
 #include <sys/param.h>
 #include <sys/systm.h>
-#include <sys/kdb.h>
 #include <sys/kernel.h>
 #include <sys/malloc.h>
 #include <sys/bus.h>
@@ -138,5 +137,9 @@
 
 	dev = (device_t)arg;
 
-	kdb_enter(device_get_nameunit(dev));
+#ifdef DDB
+	Debugger(device_get_nameunit(dev));
+#else
+	device_printf(dev, "close, but no debugger\n");
+#endif
 }


More information about the p4-projects mailing list