From owner-p4-projects@FreeBSD.ORG Tue May 23 05:51:22 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 8D96E16A423; Tue, 23 May 2006 05:51:22 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52C6816A41F for ; Tue, 23 May 2006 05:51:22 +0000 (UTC) (envelope-from kmacy@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20FB743D45 for ; Tue, 23 May 2006 05:51:22 +0000 (GMT) (envelope-from kmacy@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k4N5oam1004860 for ; Tue, 23 May 2006 05:50:36 GMT (envelope-from kmacy@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k4N5oaFq004857 for perforce@freebsd.org; Tue, 23 May 2006 05:50:36 GMT (envelope-from kmacy@freebsd.org) Date: Tue, 23 May 2006 05:50:36 GMT Message-Id: <200605230550.k4N5oaFq004857@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to kmacy@freebsd.org using -f From: Kip Macy To: Perforce Change Reviews Cc: Subject: PERFORCE change 97667 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 05:51:22 -0000 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