diff options
author | marius <marius@FreeBSD.org> | 2009-03-20 17:10:50 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2009-03-20 17:10:50 +0000 |
commit | 1e419ef8ce4083bc65f371aa9ec4507d519b461e (patch) | |
tree | c7916bbf3ce2eb4938687650aa96c495c867b207 /sys/sparc64 | |
parent | 67cde43316c0fbf8d482d9355f60ecde062e3563 (diff) | |
download | FreeBSD-src-1e419ef8ce4083bc65f371aa9ec4507d519b461e.zip FreeBSD-src-1e419ef8ce4083bc65f371aa9ec4507d519b461e.tar.gz |
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@.
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 b7db7d7..4eb8d9c 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 |