This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] make DWARF2_DEBUG the default for ELF platforms.


Daniel Jacobowitz <drow@mvista.com> writes:

> On Wed, Dec 05, 2001 at 10:44:00PM -0800, Richard Henderson wrote:
> > On Wed, Dec 05, 2001 at 02:55:26PM -0800, David O'Brien wrote:
> > > 	* elfos.h (PREFERRED_DEBUGGING_TYPE): Change to DWARF2_DEBUG.
> > 
> > I think this is ok.
> > 
> > If indeed MIPS is broken wrt dwarf2, then it should be fixed,
> > but that is a separate issue.  Anyhow, I thought somewhat was
> > doing regular irix builds, and that always uses dwarf2...
> 
> Just the debugger side, I expect - well, it might be in how something
> is now emitted, but I haven't had time to track it down.
> 
> I'd like to request that this change not go in yet.  I've been working
> intensely on fixing DWARF2 support in GDB over the past few weeks, and
> I'm starting to make a little headway - but anyone who has tried it
> lately with a recent GCC will realize that it's got a long way to go. 
> It's practically unusable, which means that this is not a reasonable
> time to switch.

Powerpc ELF has been using DWARF2 for quite some time now, and there
were no problems visible with GDB after the initial changeover.
(There are some problems now, but they are due to recent GCC changes
generating DWARF2 that GDB couldn't understand, not something that's
been broken forever.)

-- 
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]