This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

gcc DWARF debug info for PowerPC


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?



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