compiling kaffe debug
Godmar Back
gback at cs.utah.edu
Sun Jul 19 20:05:43 PDT 1998
Andrew, please try applying the following patch to jit-sparc.def:
- Godmar
Index: jit-sparc.def
===================================================================
RCS file: /home/cvspublic/kaffe/config/sparc/jit-sparc.def,v
retrieving revision 1.4
diff -u -r1.4 jit-sparc.def
--- jit-sparc.def 1998/06/19 01:42:20 1.4
+++ jit-sparc.def 1998/07/20 03:04:36
@@ -8,12 +8,11 @@
* of this file.
*/
-#undef DEBUG
-
#ifdef DEBUG
-#define debug(x) printf##x
+int jit_debug;
+#define debug(x) (jit_debug ? dprintf("%x:\t", CODEPC), dprintf x : 0)
#else
-#define debug(x)
+#define debug(x)
#endif
#include "classMethod.h"
More information about the kaffe
mailing list