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] Fix recent -gdwarf-2 failures


On Mon, Jun 15, 2009 at 4:32 AM, Michael
Meissner<meissner@linux.vnet.ibm.com> wrote:
> Richard Henderson's change on June 11th breaks the testsuite for targets
> supporting -gdwarf-2, since gcc-dg.exp tries to create -gdwarf-21 and
> -gdwarf-23 options, which are now flagged as illegal. ?This patch prevents the
> testsuite from adding the debug level option to -gdwarf-2, but it does add it
> to the other options. ?I did try to make the code pass -gdwarf-2 -g1 as
> suggested by Richard in the patch, but several of the tests fail. ?If we want
> to support setting the debug level, we either need to fix the compiler so that
> -gdwarf-2 -g1 works, or we need to add another option, such as -gdebug-level=1.
>
> Is this patch ok for the mainline?

There is also this pending patch:
http://gcc.gnu.org/ml/gcc-patches/2009-06/msg00999.html

Maybe you can have a look and OK it?

Ciao!
Steven


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