Re: [PHP-DEV] CFLAGS in --enable-debug From: Andi Gutmans (andi <email protected>)
Date: 09/06/00

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 <email protected>>
http://www.zend.com/

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>