diff options
author | Dale S. Rahn <rahnds@cvs.openbsd.org> | 1998-09-09 04:45:00 +0000 |
---|---|---|
committer | Dale S. Rahn <rahnds@cvs.openbsd.org> | 1998-09-09 04:45:00 +0000 |
commit | e171e2ef3f481d792cccc4de3c5103b8f232cb19 (patch) | |
tree | cf1ea5b76def7292226e53c14bf837e899b21967 /sys | |
parent | 157be8774aa2656d6b90f9d836584eddbbf1fb35 (diff) |
Allow ddb to be entered upon boot via boot command argument.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/powerpc/powerpc/machdep.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/powerpc/powerpc/machdep.c b/sys/arch/powerpc/powerpc/machdep.c index 9f065b4728a..3d8be134ea8 100644 --- a/sys/arch/powerpc/powerpc/machdep.c +++ b/sys/arch/powerpc/powerpc/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.15 1998/08/25 07:58:48 pefo Exp $ */ +/* $OpenBSD: machdep.c,v 1.16 1998/09/09 04:44:59 rahnds Exp $ */ /* $NetBSD: machdep.c,v 1.4 1996/10/16 19:33:11 ws Exp $ */ /* @@ -280,6 +280,11 @@ initppc(startkernel, endkernel, args) ipkdb_init(); if (boothowto & RB_KDB) ipkdb_connect(0); +#else +#ifdef DDB + if (boothowto & RB_KDB) + Debugger(); +#endif #endif /* |