svn commit: r189596 - head/sys/dev/syscons

Ed Schouten ed at FreeBSD.org
Mon Mar 9 12:46:22 PDT 2009


Author: ed
Date: Mon Mar  9 19:46:19 2009
New Revision: 189596
URL: http://svn.freebsd.org/changeset/base/189596

Log:
  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

Modified:
  head/sys/dev/syscons/syscons.c

Modified: head/sys/dev/syscons/syscons.c
==============================================================================
--- head/sys/dev/syscons/syscons.c	Mon Mar  9 19:35:20 2009	(r189595)
+++ head/sys/dev/syscons/syscons.c	Mon Mar  9 19:46:19 2009	(r189596)
@@ -3277,7 +3277,7 @@ next_code:
 			    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
 		    }


More information about the svn-src-head mailing list