This is the mail archive of the gcc@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: About to remove dwarfout.c


Mark Mitchell <mark@codesourcery.com> writes:

> > I don't object to the general idea, but what about having -gdwarf
> > become a synonym for -gdwarf-2?
> 
> I was afraid somebody was going to suggest that.
> 
> I don't like that idea because it means that an existing switch (one
> explicitly deprecated) now becomes undeprecated and means something
> different than it used to mean.  However, this is certainly a
> reasonable-people-can-reasonably-disagree kind of thing.
> 
> However, rather not discuss that issue at this time.  After I rip out
> dwarfout.c, we can decide to add back -gdwarf as a synonym; that will be
> easy to do if it is decided that it makes sense.

Well, I personally recommend that either -gdwarf be a synonym for
-gdwarf-2, or that -gdwarf give an error message along the lines of
    -gdwarf is gone; use -gdwarf-2 for DWARF-2 debugging information

I don't think -gdwarf should give an error message like
    unrecognized debug output level "dwarf"

Ian


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