Re: CFLAGS in --enable-debug

From: Date: Wed, 06 Sep 2000 18:29:30 +0000
Subject: Re: CFLAGS in --enable-debug
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-32438@lists.php.net to get a copy of this message
On Wed, 6 Sep 2000, Andi Gutmans wrote: > 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. Ah, the usual inlining/local variable problems. I'll have a look at it. - Sascha

« previous php.dev (#32438) next »