Mail Archives: djgpp-workers/2002/06/25/05:38:59
Seems that we have one problem with gcc-3.1.X and DWARF2 debugging info.
I tried to change to DWARF2 as default debugging info and run into trouble.
GDB-5.2 (and also rather recent development snapshot of GDB) does not recognize
debugging info of executables generated by this build (currently only tested
executables from build of stage2 of gcc bootstrapping):
D:\...cc-3.11-prerelease\build.djg\gcc>gdb cc1.exe
GNU gdb 5.2
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-pc-msdosdjgpp"...Dwarf Error: wrong version in
compilation unit header.
Tried to drop support of COFF debugging info, but it didn't help. Currently I
don't know what caused this problem.
I have already met something similar when tried to use libgdb.a and libstdcxx.a
rebuilt with DWARF2 debugging info as far as I remember
Andris
- Raw text -