This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Debugging on PowerPC linux (fixed!)
- To: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- Subject: Re: Debugging on PowerPC linux (fixed!)
- From: Tom Tromey <tromey at redhat dot com>
- Date: 10 Nov 2001 08:55:20 -0700
- Cc: java at gcc dot gnu dot org
- References: <3BEC6859.1000808@waitaki.otago.ac.nz>
- Reply-To: tromey at redhat dot com
>>>>> "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