[kaffe] CVS kaffe (dalibor): Fixed inspired by debian buildd logs

Kaffe CVS cvs-commits at kaffe.org
Tue Mar 9 07:19:02 PST 2004


PatchSet 4492 
Date: 2004/03/09 15:15:33
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Fixed inspired by debian buildd logs

2004-03-08  Dalibor Topic <robilad at kaffe.org>

        * config/m68k/linux/md.h:
        Added missing include. Fixes a bug in Debian's BTS:
        #227744: kaffe FTBFS on buildd for m68k

        * config/mips/jit3-mips.def:
        (debug) Use definition from i386. Fixes a bug in Debian build
        for mipsel.

        * kaffe/kaffevm/jit/machine.c:
        (getEngine) Add missing prototype.

        * kaffe/kaffevm/systems/unix-pthreads/signal.c:
        Added missing include to fix a compiler warning.

Members: 
	ChangeLog:1.2072->1.2073 
	config/m68k/linux/md.h:1.6->1.7 
	config/mips/jit3-mips.def:1.11->1.12 
	kaffe/kaffevm/jit/machine.c:1.61->1.62 
	kaffe/kaffevm/systems/unix-pthreads/signal.c:1.1->1.2 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2072 kaffe/ChangeLog:1.2073
--- kaffe/ChangeLog:1.2072	Mon Mar  8 21:34:59 2004
+++ kaffe/ChangeLog	Tue Mar  9 15:15:33 2004
@@ -1,5 +1,21 @@
 2004-03-08  Dalibor Topic <robilad at kaffe.org>
 
+	* config/m68k/linux/md.h:
+	Added missing include. Fixes a bug in Debian's BTS:
+	#227744: kaffe FTBFS on buildd for m68k
+
+	* config/mips/jit3-mips.def:
+	(debug) Use definition from i386. Fixes a bug in Debian build
+	for mipsel.
+
+	* kaffe/kaffevm/jit/machine.c:
+	(getEngine) Add missing prototype.
+
+	* kaffe/kaffevm/systems/unix-pthreads/signal.c:
+	Added missing include to fix a compiler warning.
+
+2004-03-08  Dalibor Topic <robilad at kaffe.org>
+
        * verify-block.c,
        verify-type.c:
        Include "debug.h"
Index: kaffe/config/m68k/linux/md.h
diff -u kaffe/config/m68k/linux/md.h:1.6 kaffe/config/m68k/linux/md.h:1.7
--- kaffe/config/m68k/linux/md.h:1.6	Fri Dec 12 15:58:53 2003
+++ kaffe/config/m68k/linux/md.h	Tue Mar  9 15:15:35 2004
@@ -14,6 +14,7 @@
 
 #include "m68k/common.h"
 #include "m68k/threads.h"
+#include "support.h"
 
 /*
  * Redefine stack pointer offset.
Index: kaffe/config/mips/jit3-mips.def
diff -u kaffe/config/mips/jit3-mips.def:1.11 kaffe/config/mips/jit3-mips.def:1.12
--- kaffe/config/mips/jit3-mips.def:1.11	Tue Mar 11 08:00:17 2003
+++ kaffe/config/mips/jit3-mips.def	Tue Mar  9 15:15:35 2004
@@ -12,6 +12,8 @@
  * last changed 2.15.98
  */
 
+#include "debug.h"
+
 #if defined(WORDS_BIGENDIAN)
 #define	LSLOT(_s)	((_s)+1)
 #define	HSLOT(_s)	(_s)
@@ -29,7 +31,7 @@
 int jit_debug = 0;
 /* int dbmsg = 0; */
 #define	debug_name(x)	debug(x)
-#define	debug(x)	if (jit_debug) printf##x;fflush(stdout)
+#define	debug(x)	(jit_debug ? dprintf("%x:\t", CODEPC), dprintf x : 0)
 static char* rnames[] = {
 	"i0",  "i1",  "i2",  "i3",  "i4",  "i5",  "i6",  "i7",
 	"i8",  "i9",  "i10", "i11", "i12", "i13", "i14", "i15",
Index: kaffe/kaffe/kaffevm/jit/machine.c
diff -u kaffe/kaffe/kaffevm/jit/machine.c:1.61 kaffe/kaffe/kaffevm/jit/machine.c:1.62
--- kaffe/kaffe/kaffevm/jit/machine.c:1.61	Mon Mar  8 21:21:12 2004
+++ kaffe/kaffe/kaffevm/jit/machine.c	Tue Mar  9 15:15:35 2004
@@ -46,6 +46,7 @@
 #include "thread.h"
 #include "jthread.h"
 #include "stats.h"
+#include "support.h"
 
 /*
  * Define information about this engine.
@@ -904,7 +905,7 @@
  * return what engine we're using
  */
 char* 
-getEngine()
+getEngine(void)
 {
 	return "kaffe.jit";
 }
Index: kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c
diff -u kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c:1.1 kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c:1.2
--- kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c:1.1	Fri Sep 17 23:19:22 1999
+++ kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c	Tue Mar  9 15:15:36 2004
@@ -18,6 +18,7 @@
 #include "gtypes.h"
 #include "jsignal.h"
 #include "md.h"
+#include "stackTrace-impl.h"
 
 #if defined(INTERPRETER)
 #define	DEFINEFRAME()		/* Does nothing */




More information about the kaffe mailing list