Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Mar 2004 21:35:34 -0800 (PST)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 48679 for review
Message-ID:  <200403110535.i2B5ZYwA099648@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=48679

Change 48679 by marcel@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403110535.i2B5ZYwA099648>