Current gcj on powerpc
Bryce McKinlay
bryce@waitaki.otago.ac.nz
Thu Aug 1 23:11:00 GMT 2002
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.
>>
More information about the Java
mailing list