delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/06/26/04:58:26

From: pavenis AT lanet DOT lv
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, djgpp-workers AT delorie DOT com
Date: Wed, 26 Jun 2002 11:57:54 +0300
MIME-Version: 1.0
Subject: Re: gcc-3.1.X and DWARF2 debugging info for DJGPP
Message-ID: <3D19AC42.32660.36E3DB@localhost>
References: <3D186451 DOT 1096 DOT 72A757 AT localhost>
In-reply-to: <Pine.SUN.3.91.1020625131114.191D-100000@is>
X-mailer: Pegasus Mail for Windows (v4.01)
Reply-To: djgpp-workers AT delorie DOT com

On 25 Jun 2002 at 13:12, Eli Zaretskii wrote:

> 
> On Tue, 25 Jun 2002 pavenis AT lanet DOT lv wrote:
> 
> > 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
> 
> Does this work with unstubbed images?
> 
> Also, what's changed since GCC 3.1?  IIRC, that version produced 
> executables that GDB 5.2 did recognize, no?

It seems to be something related to bootstrapping. Debugging binaries generated
by installed compiler seems to work. Also I'm currently using yesterdays
build for bootstrapping this night snapshot and this problem doesn't seem to
appear (at least for stage2 components, which already are built using freshly
built C compiler)

Problem: gdb-5.2 is needed. gdb-5.1 will not work OK with DWARF2 debugging 
info generated by gdb-5.1. What are Your plans with GDB-5.2?

Advantages: warning messages about exceeding 64K source lines are gone now at 
build time, so complete debugging info is available now. Also debugging using 
DWARF2 debugging info seems to be more stable.

Perhaps additional testing is needed. Maybe it's worth to do beta or alpha 
release (I'm myself am away for some time beginning from tomorrow, but I'll
read mail anyway)

Andris

PS. Yesterday by mistake killed stabs not coff debugging info in my yesterday's 
build. Put them back, so all should be supported.





- Raw text -


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