This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

Re: unwind-on-signal support for powerpc-darwin


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/


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