gcc DWARF debug info for PowerPC

Gregg K Gibson gkgibson@us.ibm.com
Wed Jan 10 12:40:00 GMT 2001


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?




More information about the Gcc mailing list