Date: Sun, 23 May 2004 13:40:02 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 53338 for review Message-ID: <200405232040.i4NKe2B9075538@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <sys/kdb.h> 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 <sys/cdefs.h> __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 <sys/param.h> +#include <sys/kdb.h> #include <sys/kernel.h> #include <sys/systm.h> #include <sys/types.h> @@ -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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405232040.i4NKe2B9075538>