[kaffe] CVS kaffe (dalibor): Only define tDumpList for debugging

Kaffe CVS cvs-commits at kaffe.org
Sun Aug 29 16:00:55 PDT 2004


PatchSet 5120 
Date: 2004/08/29 22:56:53
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Only define tDumpList for debugging

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

        * kaffe/kaffevm/systems/unix-pthreads/thread-impl.c (tDumpList):
        Only define if debugging is enabled.

Members: 
	ChangeLog:1.2676->1.2677 
	kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:1.38->1.39 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2676 kaffe/ChangeLog:1.2677
--- kaffe/ChangeLog:1.2676	Sun Aug 29 15:20:09 2004
+++ kaffe/ChangeLog	Sun Aug 29 22:56:53 2004
@@ -1,5 +1,10 @@
 2004-08-29  Dalibor Topic  <robilad at kaffe.org>
 
+	* kaffe/kaffevm/systems/unix-pthreads/thread-impl.c (tDumpList): 
+	Only define if debugging is enabled.
+
+2004-08-29  Dalibor Topic  <robilad at kaffe.org>
+
 	* kaffe/kaffevm/systems/unix-pthreads/thread-impl.c (dump_signal_handler): 
 	Made static.
 
Index: kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c
diff -u kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:1.38 kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:1.39
--- kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:1.38	Sun Aug 29 15:20:11 2004
+++ kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c	Sun Aug 29 22:56:55 2004
@@ -172,6 +172,7 @@
  */
 
 
+#if defined(KAFFE_VMDEBUG)
 /*
  * dump a thread list, marking the supposed to be current thread
  */
@@ -199,6 +200,7 @@
 		t->stackMin, t->stackCur, t->stackMax);
   }
 }
+#endif /* defined(KAFFE_VMDEBUG) */
 
 /*
  * dump the state of the threading system




More information about the kaffe mailing list