GDB integration problem

Jens Dagerbo jens.dagerbo at swipnet.se
Sun Mar 11 20:37:18 UTC 2007


On Sunday 11 March 2007 21.24.36 Amilcar do Carmo Lucas wrote:
> On Sunday 11 March 2007 10:45:19 Andreas Pakulat wrote:
> > On 10.03.07 13:54:03, Shane R wrote:
> > > CFLAGS = -o3 -O3 -march=pentium4 -ffast-math  -funroll-loops
> > > $(INCLUDES)
> >
> > You shouldn't use -O3 for debugging your app. Use -g3 -O0 else you will
> > get weird results when trying to debug...
>
> This information is in the kdevelop FAQ that you obviously did not read.

I guess it's about time someone points out that Andreas quoted the wrong part 
of the makefile... those are the CFLAGS for the release build. Nothing wrong 
with having -O3 there. 

// jens




More information about the KDevelop-devel mailing list