From owner-p4-projects@FreeBSD.ORG Sun May 23 13:40:15 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id DB9CB16A4D0; Sun, 23 May 2004 13:40:14 -0700 (PDT) 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 B258C16A4CE for ; Sun, 23 May 2004 13:40:14 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC1CD43D31 for ; Sun, 23 May 2004 13:40:14 -0700 (PDT) (envelope-from marcel@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i4NKe20m075541 for ; Sun, 23 May 2004 13:40:02 -0700 (PDT) (envelope-from marcel@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i4NKe2B9075538 for perforce@freebsd.org; Sun, 23 May 2004 13:40:02 -0700 (PDT) (envelope-from marcel@freebsd.org) Date: Sun, 23 May 2004 13:40:02 -0700 (PDT) Message-Id: <200405232040.i4NKe2B9075538@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to marcel@freebsd.org using -f From: Marcel Moolenaar To: Perforce Change Reviews Subject: PERFORCE change 53338 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2004 20:40:15 -0000 http://perforce.freebsd.org/chv.cgi?CH=53338 Change 53338 by marcel@marcel_nfs on 2004/05/23 13:39:45 s/DDB/KDB/g s/db_alt_break()/kdb_alt_break()/g s/breakpoint()/kdb_enter()/g include Affected files ... .. //depot/projects/gdb/sys/dev/ofw/ofw_console.c#3 edit Differences ... ==== //depot/projects/gdb/sys/dev/ofw/ofw_console.c#3 (text+ko) ==== @@ -29,10 +29,10 @@ #include __FBSDID("$FreeBSD: src/sys/dev/ofw/ofw_console.c,v 1.20 2004/02/21 21:10:45 phk Exp $"); -#include "opt_ddb.h" #include "opt_comconsole.h" #include +#include #include #include #include @@ -65,7 +65,7 @@ static struct callout_handle ofw_timeouthandle = CALLOUT_HANDLE_INITIALIZER(&ofw_timeouthandle); -#if defined(DDB) && defined(ALT_BREAK_TO_DEBUGGER) +#if defined(KDB) && defined(ALT_BREAK_TO_DEBUGGER) static int alt_break_state; #endif @@ -299,9 +299,9 @@ } } -#if defined(DDB) && defined(ALT_BREAK_TO_DEBUGGER) - if (db_alt_break(ch, &alt_break_state)) - breakpoint(); +#if defined(KDB) && defined(ALT_BREAK_TO_DEBUGGER) + if (kdb_alt_break(ch, &alt_break_state)) + kdb_enter("Break sequence on console"); #endif return (ch); @@ -313,9 +313,9 @@ unsigned char ch; if (OF_read(stdin, &ch, 1) > 0) { -#if defined(DDB) && defined(ALT_BREAK_TO_DEBUGGER) - if (db_alt_break(ch, &alt_break_state)) - breakpoint(); +#if defined(KDB) && defined(ALT_BREAK_TO_DEBUGGER) + if (kdb_alt_break(ch, &alt_break_state)) + kdb_enter("Break sequence on console"); #endif return (ch); }