Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Mar 2009 19:46:20 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r189596 - head/sys/dev/syscons
Message-ID:  <200903091946.n29JkKjA035806@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 		    }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903091946.n29JkKjA035806>