Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Mar 2009 17:10:50 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r190161 - head/sys/sparc64/sparc64
Message-ID:  <200903201710.n2KHAoRx008393@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@.

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



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