This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: [patch] Fix oddity in personality routine
On Tue, Nov 17, 2009 at 05:13:31PM +0000, Andrew Haley wrote:
>
> Sometimes it doesn't work, so you have to be inventive. Try
> setting a breakpoint on Unwind_RaiseException, or step a single
> instruction at a time when you get to a call.
>
> > I assume that gcc trunk's
> > debug code is still compatible with Apple's gdb. If not, I do have
> > a build of gdb 7.0 on Intel darwin that I can use instead. Thanks
> > in advance for any hints on this issue.
> > Jack
> > ps I do notice that gdb can't find the object files from /sw/src/fink.build/gcc45-4.4.999-20091116/darwin_objdir/x86_64-apple-darwin9.8.0/libjava/.libs/libgcj.lax so it might have problems with debugging within libgcj. If I recall correctly this .lax issue is known...
> >
> > http://gcc.gnu.org/ml/gcc/2008-10/msg00083.html
>
> Ouch. That will cause gdb breakage, for sure.
Andrew,
Re-reading Peter's comments in http://gcc.gnu.org/ml/gcc/2008-10/msg00083.html, I think I
may be able to work around the lax issue with the proper setting of LD_LIBRARY to point to
the shared library in the build directory. I'll see if I can puzzle that one out.
Jack
>
> Andrew.