svn commit: r190161 - head/sys/sparc64/sparc64

Marius Strobl marius at FreeBSD.org
Fri Mar 20 10:10:51 PDT 2009


Author: marius
Date: Fri Mar 20 17:10:50 2009
New Revision: 190161
URL: http://svn.freebsd.org/changeset/base/190161

Log:
  Revert r190105 so that removing options KDB but DDB or GDB being
  available will cause the kernel to not respect -d and boot_kdb=1
  for consistency with the other platforms as pointed out by marcel at .

Modified:
  head/sys/sparc64/sparc64/machdep.c

Modified: head/sys/sparc64/sparc64/machdep.c
==============================================================================
--- head/sys/sparc64/sparc64/machdep.c	Fri Mar 20 16:02:37 2009	(r190160)
+++ head/sys/sparc64/sparc64/machdep.c	Fri Mar 20 17:10:50 2009	(r190161)
@@ -496,8 +496,10 @@ sparc64_init(caddr_t mdp, u_long o1, u_l
 
 	kdb_init();
 
+#ifdef KDB
 	if (boothowto & RB_KDB)
 		kdb_enter(KDB_WHY_BOOTFLAGS, "Boot flags requested debugger");
+#endif
 }
 
 void


More information about the svn-src-head mailing list