From owner-p4-projects@FreeBSD.ORG Thu Apr 26 14:46:03 2007 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 C6F6916A404; Thu, 26 Apr 2007 14:46:02 +0000 (UTC) X-Original-To: perforce@FreeBSD.org Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6218116A406 for ; Thu, 26 Apr 2007 14:46:02 +0000 (UTC) (envelope-from gonzo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9C813C457 for ; Thu, 26 Apr 2007 14:46:02 +0000 (UTC) (envelope-from gonzo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l3QEk2L4045050 for ; Thu, 26 Apr 2007 14:46:02 GMT (envelope-from gonzo@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l3QEk13g045047 for perforce@freebsd.org; Thu, 26 Apr 2007 14:46:01 GMT (envelope-from gonzo@FreeBSD.org) Date: Thu, 26 Apr 2007 14:46:01 GMT Message-Id: <200704261446.l3QEk13g045047@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to gonzo@FreeBSD.org using -f From: Oleksandr Tymoshenko To: Perforce Change Reviews Cc: Subject: PERFORCE change 118832 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: Thu, 26 Apr 2007 14:46:03 -0000 http://perforce.freebsd.org/chv.cgi?CH=118832 Change 118832 by gonzo@gonzo_jeeves on 2007/04/26 14:45:16 o Make kernel buildable without "option DDB". Affected files ... .. //depot/projects/mips2/src/sys/mips/mips/exception.S#24 edit .. //depot/projects/mips2/src/sys/mips/mips/machdep.c#28 edit .. //depot/projects/mips2/src/sys/mips/mips/trap.c#21 edit Differences ... ==== //depot/projects/mips2/src/sys/mips/mips/exception.S#24 (text+ko) ==== @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $P4: //depot/projects/mips2/src/sys/mips/mips/exception.S#23 $ + * $P4: //depot/projects/mips2/src/sys/mips/mips/exception.S#24 $ */ /* $NetBSD: mipsX_subr.S,v 1.19 2005/12/11 12:18:09 christos Exp $ */ @@ -297,7 +297,7 @@ * are using the kernel debugger, then set up is auxillary * frame, so it has a full one. */ -#if DDB +#ifdef DDB jal save_kdbaux nop #endif /* DDB */ @@ -355,7 +355,7 @@ * are using the kernel debugger, then set up is auxillary * frame, so it has a full one. */ -#if DDB +#ifdef DDB jal save_kdbaux nop #endif /* DDB */ @@ -928,7 +928,7 @@ nop END(exception_save_registers) -#if DDB +#ifdef DDB /* * Save the kdbaux structure for DDB. */ ==== //depot/projects/mips2/src/sys/mips/mips/machdep.c#28 (text+ko) ==== @@ -67,6 +67,7 @@ #include #include #include +#include #include ==== //depot/projects/mips2/src/sys/mips/mips/trap.c#21 (text+ko) ==== @@ -318,7 +318,7 @@ switch (code) { case TrBp: -#if DDB +#ifdef DDB default: kdb_trap(code, 0, tf); goto done;