From 8db04c5c8fa9494b6b2db01c592ffc1abc513a48 Mon Sep 17 00:00:00 2001 From: Marius Strobl Date: Fri, 20 Mar 2009 17:10:50 +0000 Subject: [PATCH] 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@. --- sys/sparc64/sparc64/machdep.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/sparc64/sparc64/machdep.c b/sys/sparc64/sparc64/machdep.c index b7db7d729e0..4eb8d9c4cb0 100644 --- a/sys/sparc64/sparc64/machdep.c +++ b/sys/sparc64/sparc64/machdep.c @@ -496,8 +496,10 @@ sparc64_init(caddr_t mdp, u_long o1, u_long o2, u_long o3, ofw_vec_t *vec) kdb_init(); +#ifdef KDB if (boothowto & RB_KDB) kdb_enter(KDB_WHY_BOOTFLAGS, "Boot flags requested debugger"); +#endif } void