Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jun 2012 21:48:52 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 212597 for review
Message-ID:  <201206102148.q5ALmq8D054723@skunkworks.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@212597?ac=10

Change 212597 by rwatson@rwatson_svr_ctsrd_mipsbuild on 2012/06/10 21:48:18

	Limit alternative break-to-debugger handling to JTAG UARTs
	implementing the system console.  Unfortunately, this still doesn't
	seem to work as, at some point in the complex input path to the UART,
	the origial CR has been translated into an LF -- possibly in
	nios2-terminal.

Affected files ...

.. //depot/projects/ctsrd/beribsd/src/sys/dev/altera/jtag_uart/altera_jtag_uart_tty.c#5 edit

Differences ...

==== //depot/projects/ctsrd/beribsd/src/sys/dev/altera/jtag_uart/altera_jtag_uart_tty.c#5 (text+ko) ====

@@ -210,7 +210,8 @@
 		c = aju_read(sc);
 		AJU_UNLOCK(sc);
 #ifdef KDB
-		kdb_alt_break(c, &sc->ajus_alt_break_state);
+		if (sc->ajus_flags & ALTERA_JTAG_UART_FLAG_CONSOLE)
+			kdb_alt_break(c, &sc->ajus_alt_break_state);
 #endif
 		ttydisc_rint(tp, c, 0);
 		AJU_LOCK(sc);



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