Date: Thu, 26 Apr 2007 14:46:01 GMT From: Oleksandr Tymoshenko <gonzo@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 118832 for review Message-ID: <200704261446.l3QEk13g045047@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <machine/pte.h> #include <machine/sigframe.h> #include <machine/tlb.h> +#include <machine/trap.h> #include <machine/vmparam.h> ==== //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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704261446.l3QEk13g045047>