Re: [patch] Fix oddity in personality routine

Jack Howarth <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
On Mon, Nov 16, 2009 at 07:08:49PM +0000, Andrew Haley wrote:
> 
> There's another unwinder?  Gosh.
> 
> Set a bp on '_Jv_Throw' and step through.  You'll need to compile libgcc
> with -O0 or you'll go insane.  The unwinder is quite complex, and it takes
> a fair while to understand it.
> 
> Andrew.

Andrew,
   I have added an unwinder_walk.txt attachment to PR41991. It is a walk
from the _Jv_Throw breakpoint for ecj1 compiling the testme.java test code
with a libgcc compiled with -O0 installed. This is with current gcc trunk
using the patch from http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41991#c3
compiled on x86_64-apple-darwin9.8.0 to make sure that the FSF libgcc is
used. Hopefully a fix can be found in the libjava code that calls the
unwinder as fixing this within the unwinder won't help us with darwin10
or later.
            Jack
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.