summaryrefslogtreecommitdiffstats
path: root/sys/dev/sio/sio.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-12-23 19:57:33 +0000
committerbde <bde@FreeBSD.org>1996-12-23 19:57:33 +0000
commit3ba43f51b48d7aac9ae78f2d92fe034eba3a7589 (patch)
treee876096c85897f593a12b388dfea76e60e9e1613 /sys/dev/sio/sio.c
parentbe356f2ac15e6cb5dbda77c4fdd85eea9c8f3723 (diff)
downloadFreeBSD-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.c5
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
OpenPOWER on IntegriCloud