Subject: Re: CVS commit: src/gnu/dist/gcc4/gcc/config/i386
To: Jason Thorpe <thorpej@shagadelic.org>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: source-changes
Date: 05/12/2006 12:55:46
Jason Thorpe <thorpej@shagadelic.org> writes:

> On May 11, 2006, at 11:00 PM, Pavel Cahyna wrote:
> 
> > On Fri, May 12, 2006 at 12:44:18AM +0000, matthew green wrote:
> >>
> >> Module Name:	src
> >> Committed By:	mrg
> >> Date:		Fri May 12 00:44:18 UTC 2006
> >>
> >> Modified Files:
> >> 	src/gnu/dist/gcc4/gcc/config/i386: netbsd-elf.h
> >>
> >> Log Message:
> >> default to stabs, from the GCC3 tree
> >
> > Isn't the bug in DWARF format generation fixed in newer gcc?
> 
> I think we also need an updated GDB.

No, the version of GDB we have right now is fine with DWARF2 debug
information. It's easy to test; just build something with
'-gdwarf-2'. We used DWARF2 debug info on i386 for quite a while
before we decided to switch to stabs to avoid the (IMO very minor)
debug-info generation bug. We're using DWARF2 debug information
already on alpha, arm, mips, powerpc, and sparc{64}.

(that said, I expect to get gdb 6.4 in the tree this weekend).

        - Nathan