unwind-on-signal support for powerpc-darwin

Ranjit Mathew rmathew@gmail.com
Thu Jul 1 07:06:00 GMT 2004


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/



More information about the Java mailing list