aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/dcons/dcons_os.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/dcons/dcons_os.c')
-rw-r--r--sys/dev/dcons/dcons_os.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/dcons/dcons_os.c b/sys/dev/dcons/dcons_os.c
index d47515c9bfaf..7eb89aadbae8 100644
--- a/sys/dev/dcons/dcons_os.c
+++ b/sys/dev/dcons/dcons_os.c
@@ -207,11 +207,13 @@ dcons_check_break(struct dcons_softc *dc, int c)
#ifdef GDB
if (gdb_cur == &dcons_gdb_dbgport) {
kdb_dbbe_select("gdb");
- kdb_enter("Break sequence on dcons gdb port");
+ kdb_enter(KDB_WHY_BREAK,
+ "Break sequence on dcons gdb port");
}
#endif
} else
- kdb_enter("Break sequence on dcons console port");
+ kdb_enter(KDB_WHY_BREAK,
+ "Break sequence on dcons console port");
}
#else
switch (dc->brk_state) {