Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/i386 In case of db_onpanic=0, still drop to dd...
details: https://anonhg.NetBSD.org/src/rev/4819fbd5e964
branches: trunk
changeset: 486224:4819fbd5e964
user: jhawk <jhawk%NetBSD.org@localhost>
date: Mon May 15 20:16:48 2000 +0000
description:
In case of db_onpanic=0, still drop to ddb if the trap was from within
ddb.
i.e. "db> x/s 0x14" should return you to ddb when it faults, regardless
of the state of db_onpanic.
diffstat:
sys/arch/i386/i386/db_interface.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 47b054293f29 -r 4819fbd5e964 sys/arch/i386/i386/db_interface.c
--- a/sys/arch/i386/i386/db_interface.c Mon May 15 19:56:43 2000 +0000
+++ b/sys/arch/i386/i386/db_interface.c Mon May 15 20:16:48 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_interface.c,v 1.28 2000/01/16 01:42:03 assar Exp $ */
+/* $NetBSD: db_interface.c,v 1.29 2000/05/15 20:16:48 jhawk Exp $ */
/*
* Mach Operating System
@@ -92,7 +92,7 @@
case -1: /* keyboard interrupt */
break;
default:
- if (!db_onpanic)
+ if (!db_onpanic && db_recover==0)
return (0);
kdbprinttrap(type, code);
Home |
Main Index |
Thread Index |
Old Index