On Wed, Nov 17, 2010 at 9:16 PM, Caolán McNamara <[email protected]> wrote: > On Wed, 2010-11-17 at 15:50 -0300, Santiago Bosio wrote: >> Hi! >> >> When LibO is built using --enable-symbols, it still uses -O2 >> optimizations, making hard to debug execution with GDB. >> >> So, I think that it should default to -O2 on a normal build, and to -O0 >> when using --enable-symbols. > > I'm not a fan of that idea really. I'd prefer to retain the > --enable-debug option as the one that sets -O0 and leave > --enable-symbols as -g and not touching the -O2.
Yes, exactly. We should be able to debug production code the same way it's shipped. -- Jesús Corrius <[email protected]> Document Foundation founding member Skype: jcorrius | Twitter: @jcorrius _______________________________________________ LibreOffice mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice
