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]

Re: Debugging on PowerPC linux (fixed!)


>>>>> "Bryce" == Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:

Bryce> GDB (from CVS) doesn't seem to have very good support for
Bryce> DWARF2, and in fact it doesn't work at all with the latest
Bryce> DWARF2 changes in mainline GCC.

This is fallout from the new ABI, I think.  gdb's C++ support still
hasn't caught up.

Bryce> -#define        PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
Bryce> +#define        PREFERRED_DEBUGGING_TYPE DBX_DEBUG
 
You should be able to use `-gstabs+' or something like that at
runtime.  I suppose we could even put this in libgcj.spec as a
temporary workaround on some platforms.

Tom


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