Add "--enable-build-warnings" to gdb config.