[kaffe] CVS kaffe (guilhem): kaffe/kaffevm/systems/unix-pthreads/signal.c,

Kaffe CVS cvs-commits at kaffe.org
Sat Jul 15 14:30:04 PDT 2006


PatchSet 7346 
Date: 2006/07/15 21:16:49
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
2006-07-15  Kurt Roeckx  <kurt at roeckx.be>

        * kaffe/kaffevm/systems/unix-pthreads/signal.c,
        kaffe/kaffevm/systems/unix-jthreads/signal.c
        (KaffeVM_detectStackBoundaries): Add more volatile modifiers to
remove
        optimizations.

Members: 
	ChangeLog:1.4849->1.4850 
	kaffe/kaffevm/systems/unix-jthreads/signal.c:1.33->1.34 
	kaffe/kaffevm/systems/unix-pthreads/signal.c:1.24->1.25 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4849 kaffe/ChangeLog:1.4850
--- kaffe/ChangeLog:1.4849	Sat Jul 15 18:35:12 2006
+++ kaffe/ChangeLog	Sat Jul 15 21:16:49 2006
@@ -1,3 +1,10 @@
+2006-07-15  Kurt Roeckx  <kurt at roeckx.be>
+
+	* kaffe/kaffevm/systems/unix-pthreads/signal.c,
+	kaffe/kaffevm/systems/unix-jthreads/signal.c
+	(KaffeVM_detectStackBoundaries): Add more volatile modifiers to remove
+	optimizations.
+	
 2006-07-15  Dalibor Topic  <robilad at kaffe.org>
 
 	Cross-compilation fixes for Debian's gcc 4.1 cross-compilation
Index: kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c
diff -u kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c:1.33 kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c:1.34
--- kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c:1.33	Sat Apr 22 19:41:54 2006
+++ kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c	Sat Jul 15 21:16:55 2006
@@ -460,7 +460,7 @@
 void
 detectStackBoundaries(jthread_t jtid, int mainThreadStackSize)
 {
-	static volatile char *guessPointer;
+	static volatile char * volatile guessPointer;
 	void *old_sigsegv, *old_sigbus;
 
 	setupSigAltStack();
Index: kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c
diff -u kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c:1.24 kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c:1.25
--- kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c:1.24	Sun Apr 16 07:20:16 2006
+++ kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c	Sat Jul 15 21:16:54 2006
@@ -445,7 +445,7 @@
 void
 KaffePThread_detectStackBoundaries(jthread_t jtid, size_t mainThreadStackSize)
 {
-	static volatile char *guessPointer;
+	static volatile char *volatile guessPointer;
 	void *handler_segv, *handler_bus;
 
 #if defined(SIGSEGV)




More information about the kaffe mailing list