diff options
author | bde <bde@FreeBSD.org> | 1996-12-23 19:57:33 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-12-23 19:57:33 +0000 |
commit | 3ba43f51b48d7aac9ae78f2d92fe034eba3a7589 (patch) | |
tree | e876096c85897f593a12b388dfea76e60e9e1613 /sys/dev/sio/sio.c | |
parent | be356f2ac15e6cb5dbda77c4fdd85eea9c8f3723 (diff) | |
download | FreeBSD-src-3ba43f51b48d7aac9ae78f2d92fe034eba3a7589.zip FreeBSD-src-3ba43f51b48d7aac9ae78f2d92fe034eba3a7589.tar.gz |
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.
Diffstat (limited to 'sys/dev/sio/sio.c')
-rw-r--r-- | sys/dev/sio/sio.c | 5 |
1 files changed, 2 insertions, 3 deletions
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 |