Date: Tue, 23 May 2006 05:50:36 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 97667 for review Message-ID: <200605230550.k4N5oaFq004857@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=97667 Change 97667 by kmacy@kmacy_storage:sun4v_work on 2006/05/23 05:49:44 make sure alt break to DDB works Affected files ... .. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/hvcons.c#3 edit Differences ... ==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/hvcons.c#3 (text+ko) ==== @@ -202,16 +202,16 @@ #if defined(KDB) if (l == H_BREAK || l == H_HUP) kdb_enter("Break sequence on console"); + + if (kdb_alt_break(ch, &alt_break_state)) + kdb_enter("Break sequence on console"); #endif if (l != -2 && l != 0) { return (-1); } } -#if defined(KDB) - if (kdb_alt_break(ch, &alt_break_state)) - kdb_enter("Break sequence on console"); -#endif + return (ch); } @@ -226,8 +226,6 @@ #if defined(KDB) if (l == H_BREAK || l == H_HUP) kdb_enter("Break sequence on console"); -#endif -#if defined(KDB) if (kdb_alt_break(ch, &alt_break_state)) kdb_enter("Break sequence on console"); #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605230550.k4N5oaFq004857>