This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcc DWARF debug info for PowerPC
- To: gcc at gcc dot gnu dot org
- Subject: gcc DWARF debug info for PowerPC
- From: "Gregg K Gibson" <gkgibson at us dot ibm dot com>
- Date: Wed, 10 Jan 2001 15:40:14 -0500
I am wondering if gcc is likely to have changed significantly in its
support of DWARF from version 2.91.66 to 2.95.2. I'm using gcc to build a
PowerPC Linux kernel. I'd like to be able to load it using the RISCWatch
processor probe. The PowerPC group tells me that I should be able to do it
using gcc 2.91.66 with RISCWatch 4.6 as long as I compile with -gdwarf+ on
the command line. I'm actually compiling using version 2.95.2 and it
doesn't seem to work. Analizing the debug info in the compiled binary, it
looks like the addresses listed are absolute target addresses rather than
just offsets into the binary file, which is causing RISCWatch to choke.
Maybe that is based on a compile option, but if it is, I'm not sure what it
would be. Does anyone have any ideas?