[MPlayer-dev-eng] enable-debug and -O2

D Richard Felker III dalias at aerifal.cx
Sun Mar 21 17:46:10 CET 2004


On Sat, Mar 20, 2004 at 09:11:34PM -0800, Nehal wrote:
> with --enable-debug, CFLAGS has -O2, wouldn't it be better 
> as -O1, gdb sometimes has problems single-stepping with -O2

Single stepping the C code isn't really useful. Learn to read the
generated asm... Besides, compiling with different options to debug is
bad since the bugs might not manifest with a different -O level.

Rich




More information about the MPlayer-dev-eng mailing list