X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f From: pavenis AT lanet DOT lv To: Eli Zaretskii , 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: In-reply-to: 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 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