Due to diverse crashes of my netbsd-6 system I decided to recompile everything (including X11) without optimization and with debugging info. Is the following COPTS='-O0 -g' LDFLAGS='-g' in mk.conf is enough for this? Kernel config already contains options DEBUG so, I'm about uselevel.