delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/06/25/05:38:59

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)
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



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019