This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: unwind-on-signal support for powerpc-darwin
- From: Ranjit Mathew <rmathew at gmail dot com>
- To: Geoffrey Keating <gkeating at geoffk5 dot apple dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, GCJ <java at gcc dot gnu dot org>
- Date: Thu, 01 Jul 2004 12:31:47 +0530
- Subject: Re: unwind-on-signal support for powerpc-darwin
- References: <20040701040248.3BA2D339EFE@geoffk5.apple.com>
Geoffrey Keating wrote:
> The attached patch:
>
> - Implements a fallback unwinder for Darwin that can understand
> sigreturn and signal frames.
Unfortunately, it breaks exception handling for Java
on at least i686-pc-linux-gnu. Simple testcase:
public class Hello
{
public static void main (String[] args) throws Exception
{
throw new Exception ("Snafu!");
}
}
This now unceremoniously aborts with an "Aborted" message
instead of the expected stack trace. I reverted your patch and
things started behaving as expected.
It also causes quite a few libjava testsuite failures (again,
on i686-pc-linux-gnu).
> - Supplies the appropriate libjava stuff to use it.
IMHO, you should have also posted it to java-patches@gcc.gnu.org.
Ranjit.
--
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.tripod.com/