From 3ba43f51b48d7aac9ae78f2d92fe034eba3a7589 Mon Sep 17 00:00:00 2001 From: bde Date: Mon, 23 Dec 1996 19:57:33 +0000 Subject: Use breakpoint() instead of Debugger() in siointr1(). Debugger() doesn't work in fast interrupt handlers because it calls db_printf() which uses %es for string stuff and %es isn't initialized. --- sys/dev/sio/sio.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sys/dev/sio') diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index 627314e..c34091e 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.153 1996/11/30 15:29:31 bde Exp $ + * $Id: sio.c,v 1.154 1996/11/30 15:52:56 bde Exp $ */ #include "opt_comconsole.h" @@ -1382,8 +1382,7 @@ siointr1(com) if (line_status & LSR_BI) { #if defined(DDB) && defined(BREAK_TO_DEBUGGER) if (com->unit == comconsole) { - Debugger( - "serial console break"); + breakpoint(); goto cont; } #endif -- cgit v1.1