diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2007-12-25 17:52:02 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2007-12-25 17:52:02 +0000 |
| commit | 3de213cc00f2889d2cd693968fd38c10a7f5def1 (patch) | |
| tree | ae45f86ab6fb75519ba2d9dbc206616dba84cc13 /sys/dev/uart | |
| parent | 6862d27ecd3a641713fe08d9572a27bf218cc8d9 (diff) | |
Notes
Diffstat (limited to 'sys/dev/uart')
| -rw-r--r-- | sys/dev/uart/uart_core.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/uart/uart_core.c b/sys/dev/uart/uart_core.c index f99127881e82..b47304184960 100644 --- a/sys/dev/uart/uart_core.c +++ b/sys/dev/uart/uart_core.c @@ -122,7 +122,7 @@ uart_intr_break(void *arg) #if defined(KDB) && defined(BREAK_TO_DEBUGGER) if (sc->sc_sysdev != NULL && sc->sc_sysdev->type == UART_DEV_CONSOLE) { - kdb_enter("Line break on console"); + kdb_enter(KDB_WHY_BREAK, "Line break on console"); return (0); } #endif @@ -176,7 +176,8 @@ uart_intr_rxready(void *arg) if (sc->sc_sysdev != NULL && sc->sc_sysdev->type == UART_DEV_CONSOLE) { while (rxp != sc->sc_rxput) { if (kdb_alt_break(sc->sc_rxbuf[rxp++], &sc->sc_altbrk)) - kdb_enter("Break sequence on console"); + kdb_enter(KDB_WHY_BREAK, + "Break sequence on console"); if (rxp == sc->sc_rxbufsz) rxp = 0; } |
