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 mar...@.

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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to