question about config code

Matthias Andree matthias.andree at gmx.de
Mon Nov 25 22:22:46 CET 2002


David Relson <relson at osagesoftware.com> writes:

> You mention gdb.  Are you perchance using it to step through optimized
> code?  Since optimized code is reordered, stepping through it is a
> deceptive nightmare.  When I'm ready to debug, I remove the optimization
> from CFLAGS, run "make clean" and then "make"

Depending on the compiler version -ggdb -O is still usable, but you get
strange scoping effects when registers spilling or the life time of an
auto variable exits earlier than in the code.

-- 
Matthias Andree



More information about the bogofilter-dev mailing list