This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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: Current gcj on powerpc


Mark Wielaard wrote:

Can you place a breakpoint on abort() and find out what the
_Unwind_Reason_Code is? The comment suggests it could be
_URC_END_OF_STACK or some other failure.

I am really not that good with gdb. I can set the breakpoint on
exception.cc:110 but the gdb tells be there is no variable code (why, it
is right there?) Any idea how I can get at it:

You need to build the file that you're debugging without optimization for GDB to work properly. The easiest way to do that is to "touch exception.cc" and rebuild libjava with "make CXXFLAGS=-g"

CXXFLAGS is for .cc files, there's also GCJFLAGS for .java and CFLAGS for .c files.

regards

Bryce.








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