[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: common.make -- debug=yes
From: |
Richard Frith-Macdonald |
Subject: |
Re: common.make -- debug=yes |
Date: |
Fri, 19 Aug 2016 07:43:51 +0100 |
> On 19 Aug 2016, at 00:10, Giah de Barag <address@hidden> wrote:
>
> You are of course correct that it does not preclude it. On certain systems I
> too have happily debugged optimized code. On my present system (gdb 7.6.1,
> gcc 4.9.3, msys/mingw32, Windows Server 2008 R2) I must say debugging -O2
> optimized code is definitely inconvenient, often tiresome, sometimes
> impossible.
>
> GNUstep Makefile Package documentation [1] says if debug=yes, optimization is
> off. (It further says that the user must override the optimization flag if
> both debugging information and optimization are desired.)
>
> Note that OPTFLAG := $(filter-out -O%, $(OPTFLAG)) clearly intends to do so
> but fails because the optimization flag already entered ADDITIONAL_FLAGS
> (hence the suggested patch).
>
> Ref:
> [1] “make debug=yes” at
> http://www.gnustep.org/resources/documentation/make_1.html
Yep. I applied your patch. Thanks.
- common.make -- debug=yes, Giah de Barag, 2016/08/18
- Re: common.make -- debug=yes, Stefan Bidigaray, 2016/08/18
- Re: common.make -- debug=yes, Giah de Barag, 2016/08/18
- Re: common.make -- debug=yes,
Richard Frith-Macdonald <=
- Re: common.make -- debug=yes, Ivan Vučica, 2016/08/18
- Re: common.make -- debug=yes, Giah de Barag, 2016/08/18
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Re: common.make -- debug=yes, Stefan Bidigaray, 2016/08/19
- Re: common.make -- debug=yes, Eric Heintzmann, 2016/08/20
- Re: common.make -- debug=yes, Ivan Vučica, 2016/08/21