This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[patch] fix SJLJ in stacktrace.cc
- From: Andreas Tobler <toa at pop dot agri dot ch>
- To: Java Patches <java-patches at gcc dot gnu dot org>
- Date: Sat, 12 Mar 2005 16:09:42 +0100
- Subject: [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
}