PERFORCE change 48679 for review

Marcel Moolenaar marcel at FreeBSD.org
Wed Mar 10 21:35:35 PST 2004


http://perforce.freebsd.org/chv.cgi?CH=48679

Change 48679 by marcel at marcel_nfs on 2004/03/10 21:35:10

	Add missing #include <sys/kdb.h> to machdep.c and compile-out
	global variables now unused. LINT compiles on sparc64.

Affected files ...

.. //depot/projects/gdb/sys/sparc64/sparc64/db_interface.c#3 edit
.. //depot/projects/gdb/sys/sparc64/sparc64/machdep.c#4 edit

Differences ...

==== //depot/projects/gdb/sys/sparc64/sparc64/db_interface.c#3 (text+ko) ====

@@ -57,12 +57,12 @@
 int db_active;
 db_regs_t ddb_regs;
 
+#if 0
 static jmp_buf db_global_jmpbuf;
 static int db_global_jmpbuf_valid;
 
-#if 0
 int
-kdb_trap(struct trapframe *tf)
+ddb_trap(struct trapframe *tf)
 {
 
 	if (db_global_jmpbuf_valid)

==== //depot/projects/gdb/sys/sparc64/sparc64/machdep.c#4 (text+ko) ====

@@ -49,6 +49,7 @@
 #include <sys/systm.h>
 #include <sys/cons.h>
 #include <sys/imgact.h>
+#include <sys/kdb.h>
 #include <sys/kernel.h>
 #include <sys/ktr.h>
 #include <sys/linker.h>


More information about the p4-projects mailing list