From: pavenis AT lanet DOT lv To: djgpp-workers AT delorie DOT com Date: Tue, 25 Jun 2002 12:38:41 +0300 MIME-Version: 1.0 Subject: gcc-3.1.X and DWARF2 debugging info for DJGPP Message-ID: <3D186451.1096.72A757@localhost> X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Reply-To: djgpp-workers AT delorie DOT com 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