PERFORCE change 118832 for review
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Thu Apr 26 14:46:03 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=118832
Change 118832 by gonzo at 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;
More information about the p4-projects
mailing list