This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] fix SJLJ in stacktrace.cc


Hello,

this little fix is necessary on platforms where we have SJLJ_EXCEPTION defined.

Otherwise we get an error returning something in a void function.

Andreas

2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>

	* stacktrace.cc (GetCallerInfo): Return nothing in case of
	SJLJ_EXCEPTIONS is defined.
Index: stacktrace.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/stacktrace.cc,v
retrieving revision 1.1
diff -u -r1.1 stacktrace.cc
--- stacktrace.cc	10 Mar 2005 19:02:16 -0000	1.1
+++ stacktrace.cc	12 Mar 2005 15:06:23 -0000
@@ -429,7 +429,7 @@
   if (caller_meth)
     *caller_meth = trace_data.foundMeth;
 #else
-  return NULL;
+  return;
 #endif
 }
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]