From 8ddd1f723d68edfbadabdf8afef4d77fa9601011 Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Mon, 9 Mar 2009 19:46:19 +0000 Subject: [PATCH] Don't call into the TTY layer when inside kdb. We should just leave the underlying TTY objects alone when scrolling around in KDB. It should be handled by Syscons exclusively. Reported by: pluknet gmail com --- sys/dev/syscons/syscons.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c index a9b8e40cdd40..711272eb8b72 100644 --- a/sys/dev/syscons/syscons.c +++ b/sys/dev/syscons/syscons.c @@ -3277,7 +3277,7 @@ scgetc(sc_softc_t *sc, u_int flags) sc_draw_cursor_image(scp); } tp = SC_DEV(sc, scp->index); - if (tty_opened(tp)) + if (!kdb_active && tty_opened(tp)) sctty_outwakeup(tp); #endif }