[kaffe] CVS kaffe (robilad): Improved native library debug output in case of errors
Kaffe CVS
cvs-commits at kaffe.org
Mon Dec 13 18:08:44 PST 2004
PatchSet 5636
Date: 2004/12/14 02:04:22
Author: robilad
Branch: HEAD
Tag: (none)
Log:
Improved native library debug output in case of errors
2004-12-14 Dalibor Topic <robilad at kaffe.org>
* kaffe/kaffevm/external.c:
Improved native library lookup debug output in case of errors.
Members:
ChangeLog:1.3181->1.3182
kaffe/kaffevm/external.c:1.69->1.70
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3181 kaffe/ChangeLog:1.3182
--- kaffe/ChangeLog:1.3181 Tue Dec 14 01:30:30 2004
+++ kaffe/ChangeLog Tue Dec 14 02:04:22 2004
@@ -1,5 +1,10 @@
2004-12-14 Dalibor Topic <robilad at kaffe.org>
+ * kaffe/kaffevm/external.c:
+ Improved native library lookup debug output in case of errors.
+
+2004-12-14 Dalibor Topic <robilad at kaffe.org>
+
* config/i386/threads.h:
(THREADSTACKSIZE) doubled to 128k with jit, and 256 with intrp
to hopefully make dom2 test suite run on gump.
Index: kaffe/kaffe/kaffevm/external.c
diff -u kaffe/kaffe/kaffevm/external.c:1.69 kaffe/kaffe/kaffevm/external.c:1.70
--- kaffe/kaffe/kaffevm/external.c:1.69 Tue Dec 14 00:38:21 2004
+++ kaffe/kaffe/kaffevm/external.c Tue Dec 14 02:04:25 2004
@@ -260,6 +260,7 @@
}
if (errbuf != 0) {
assert(errsiz > 0);
+ DBG(NATIVELIB, dprintf("Too many open libraries\n"); )
strncpy(errbuf, "Too many open libraries", errsiz);
errbuf[errsiz - 1] = '\0';
}
@@ -288,6 +289,8 @@
if (lib->desc == 0)
{
const char *err = KaffeLib_GetError();
+
+ DBG(NATIVELIB, dprintf("Error loading %s: %s\n", path, err); )
/* XXX Bleh, silly guessing system. */
if( err == 0 )
More information about the kaffe
mailing list