[kaffe] CVS kaffe (dalibor): Fixes for debugging output
Kaffe CVS
cvs-commits at kaffe.org
Sat Mar 27 11:27:03 PST 2004
PatchSet 4588
Date: 2004/03/27 19:02:16
Author: dalibor
Branch: HEAD
Tag: (none)
Log:
Fixes for debugging output
2004-03-27 Patrick Cernko <pcernko at mpi-sb.mpg.de>
* kaffe/kaffevm/kaffe.def:
Fixed debugging output for longs and doubles on
stack or in local variable pool.
Members:
ChangeLog:1.2166->1.2167
kaffe/kaffevm/kaffe.def:1.30->1.31
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2166 kaffe/ChangeLog:1.2167
--- kaffe/ChangeLog:1.2166 Sat Mar 27 18:05:14 2004
+++ kaffe/ChangeLog Sat Mar 27 19:02:16 2004
@@ -1,6 +1,12 @@
2004-03-27 Patrick Cernko <pcernko at mpi-sb.mpg.de>
- kaffe/kaffevm/intrp/checks.h:
+ * kaffe/kaffevm/kaffe.def:
+ Fixed debugging output for longs and doubles on
+ stack or in local variable pool.
+
+2004-03-27 Patrick Cernko <pcernko at mpi-sb.mpg.de>
+
+ * kaffe/kaffevm/intrp/checks.h:
Fixed some checks to print out right results.
2003-03-27 Riccardo Mottola <zuse at libero.it>
Index: kaffe/kaffe/kaffevm/kaffe.def
diff -u kaffe/kaffe/kaffevm/kaffe.def:1.30 kaffe/kaffe/kaffevm/kaffe.def:1.31
--- kaffe/kaffe/kaffevm/kaffe.def:1.30 Thu Oct 30 20:40:20 2003
+++ kaffe/kaffe/kaffevm/kaffe.def Sat Mar 27 19:02:19 2004
@@ -239,7 +239,7 @@
idx = (uint8)getpc(0);
trace_jcode (("lload %d\n", idx));
- check_local_long(idx+1);
+ check_local_long(idx);
push(2);
move_long(stack_long(0), local_long(idx));
@@ -269,7 +269,7 @@
idx = (uint8)getpc(0);
trace_jcode (("dload %d\n", idx));
- check_local_double(idx+1);
+ check_local_double(idx);
push(2);
move_double(stack_double(0), local_double(idx));
@@ -316,7 +316,7 @@
*/
trace_jcode (("lload %d\n", getopcode() - LLOAD_0));
- check_local_long((getopcode() - LLOAD_0)+1);
+ check_local_long((getopcode() - LLOAD_0));
push(2);
move_long(stack_long(0), local_long(getopcode() - LLOAD_0));
@@ -348,7 +348,7 @@
*/
trace_jcode (("dload %d\n", getopcode() - DLOAD_0));
- check_local_double((getopcode() - DLOAD_0)+1);
+ check_local_double((getopcode() - DLOAD_0));
push(2);
move_double(stack_double(0), local_double(getopcode() - DLOAD_0));
@@ -3194,7 +3194,7 @@
idx = (uint16)((getpc(0) << 8) | getpc(1));
trace_jcode (("wide lload %d\n", idx));
- check_local_long(idx+1);
+ check_local_long(idx);
push(2);
move_long(stack_long(0), local_long(idx));
@@ -3208,7 +3208,7 @@
idx = (uint16)((getpc(0) << 8) | getpc(1));
trace_jcode (("wide dload %d\n", idx));
- check_local_double(idx+1);
+ check_local_double(idx);
push(2);
move_double(stack_double(0), local_double(idx));
@@ -3396,3 +3396,9 @@
softcall_breakpoint();
}
+
+/*
+ * Local variables:
+ * mode: c
+ * End:
+ */
More information about the kaffe
mailing list