Re: CFLAGS in --enable-debug

From: Date: Wed, 06 Sep 2000 18:28:26 +0000
Subject: Re: CFLAGS in --enable-debug
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-32437@lists.php.net to get a copy of this message
At 20:12 06/09/00 +0200, Sascha Schumann wrote:
On Wed, 6 Sep 2000, Andi Gutmans wrote: Does one of you autoconf guys know how to fix the CFLAGS to be "-g" and not "-g -O2" when using --enable-debug? It doesn't work as well with debuggers.
    In which case does -O2 not work for you?
Lots and lots of time -O2, as Zeev has mentioned, has resulted in inaccurate stepping/breakpoints. It should be -O0 for debugging purposes. Andi --- Andi Gutmans <andi@zend.com> http://www.zend.com/

« previous php.dev (#32437) next »