Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Dec 2009 11:29:30 +0000 (UTC)
From:      Randall Stewart <rrs@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r200769 - projects/mips/sys/mips/rmi
Message-ID:  <200912211129.nBLBTU9U026408@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rrs
Date: Mon Dec 21 11:29:30 2009
New Revision: 200769
URL: http://svn.freebsd.org/changeset/base/200769

Log:
  Fixes so kdb works.

Modified:
  projects/mips/sys/mips/rmi/xlr_machdep.c

Modified: projects/mips/sys/mips/rmi/xlr_machdep.c
==============================================================================
--- projects/mips/sys/mips/rmi/xlr_machdep.c	Mon Dec 21 11:06:41 2009	(r200768)
+++ projects/mips/sys/mips/rmi/xlr_machdep.c	Mon Dec 21 11:29:30 2009	(r200769)
@@ -28,6 +28,8 @@
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
 
+#include "opt_ddb.h"
+
 #include <sys/param.h>
 #include <sys/bus.h>
 #include <sys/conf.h>
@@ -49,6 +51,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/unistd.h>
 
 #include <sys/cons.h>		/* cinit() */
+#include <sys/kdb.h>
 #include <sys/reboot.h>
 #include <sys/queue.h>
 #include <sys/smp.h>
@@ -363,7 +366,7 @@ mips_init(void)
 #endif				/* SMP */
 	kdb_init();
 	if (boothowto & RB_KDB) {
-		kdb_enter("Boot flags requested debugger");
+		kdb_enter("Boot flags requested debugger", NULL);
 	}
 #endif
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912211129.nBLBTU9U026408>