www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/01/04/08:25:24

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
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: Fri, 4 Jan 2002 15:25:11 +0200
MIME-Version: 1.0
Subject: Re: gcc 3.0.2 and -ggdb debugging info
Message-ID: <3C35C957.7464.A68CFB@localhost>
References: <Pine DOT A41 DOT 4 DOT 05 DOT 10112271000120 DOT 29944-100000 AT ieva06>
In-reply-to: <Pine.SUN.3.91.1011227115903.19950A-100000@is>
X-mailer: Pegasus Mail for Windows (v4.01)
Reply-To: djgpp-workers AT delorie DOT com

On 27 Dec 2001 at 12:00, Eli Zaretskii wrote:

> 
> On Thu, 27 Dec 2001, Andris Pavenis wrote:
> 
> > Yes -ggdb is equal to -gdwarf-2 now. I myself have used DWARF2 debugging
> > info sometimes, but sometimes had problems with it (GDB-5.1 or not too old
> > CVS versions of GDB). About this change: it's not something I have done,
> > it was changed by GCC developers. 
> 
> But the default for -ggdb should be platform-dependent, no?  I mean, I 
> guess not every platform supports DWARF2, right?  So GCC developers 
> shouldn't have changed that without asking you, I think.
> 

At least default for -g can be redefined. I haven't looked  for 
corresponding definitions about -ggdb.

Today built entire rhtvision-1.13 with gcc-3.0.3 and used -ggdb3.
This time I haven't noticed serious problems tracing TVision demo program 
with RHGDB (from rhide-1.4.9.1).

However I used binutils 13 November CVS snapshot but not 
binutils-2.11.2.   So with not very old CVS version of binutils and GDB-5.1 
DWARF2 debug info could be useable.

Andris



- Raw text -


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