diff options
author | Marius Strobl <marius@FreeBSD.org> | 2009-03-20 17:10:50 +0000 |
---|---|---|
committer | Marius Strobl <marius@FreeBSD.org> | 2009-03-20 17:10:50 +0000 |
commit | 8db04c5c8fa9494b6b2db01c592ffc1abc513a48 (patch) | |
tree | c7916bbf3ce2eb4938687650aa96c495c867b207 /sys/sparc64 | |
parent | d50321fd3a718d85adc270190807ecc0675a4ec6 (diff) | |
download | src-8db04c5c8fa9494b6b2db01c592ffc1abc513a48.tar.gz src-8db04c5c8fa9494b6b2db01c592ffc1abc513a48.zip |
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@.
Notes
Notes:
svn path=/head/; revision=190161
Diffstat (limited to 'sys/sparc64')
-rw-r--r-- | sys/sparc64/sparc64/machdep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sparc64/sparc64/machdep.c b/sys/sparc64/sparc64/machdep.c index b7db7d729e0a..4eb8d9c4cb04 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 |