Re: [patch] Fix oddity in personality routine

Bryce McKinlay <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
On Fri, Nov 13, 2009 at 7:17 PM, Jack Howarth <[email protected]> wrote:

>> Index: exception.cc
>> ===================================================================
>> --- exception.cc      (revision 154059)
>> +++ exception.cc      (working copy)
>> @@ -328,7 +328,7 @@ PERSONALITY_FUNCTION (int version,
>>  #ifdef HAVE_GETIPINFO
>>    ip = _Unwind_GetIPInfo (context, &ip_before_insn);
>>  #else
>> -  ip = _Unwind_GetIP (context) - 1;
>> +  ip = _Unwind_GetIP (context);
>>  #endif
>>    if (! ip_before_insn)
>>      --ip;
>
>
> Shouldn't this fix also get backported to gcc-4_4-branch and
> gcc-4_3-branch as well? They both have r128098.

Jack, can you confirm that this actually fixes the problem you are
seeing on Darwin? r128098 dates from 2007 - it's hard to believe that
nobody has had a working GCJ on Darwin since then!

Bryce
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.