Lines Matching +defs:debug +defs:mode
197 const char *mode;
206 mode = "a";
208 mode = "w";
227 opts.debug_file = fopen(fname, mode);
229 fprintf(stderr, "Cannot open debug file \"%s\"\n", fname);
239 DebugFlags debug = opts.debug;
244 memset(&debug, 0, sizeof(debug));
247 memset(&debug, ~0, sizeof(debug));
250 debug.DEBUG_ARCH = true;
253 debug.DEBUG_CWD = true;
256 debug.DEBUG_COND = true;
259 debug.DEBUG_DIR = true;
262 debug.DEBUG_ERROR = true;
265 debug.DEBUG_FOR = true;
269 debug.DEBUG_GRAPH1 = true;
272 debug.DEBUG_GRAPH2 = true;
275 debug.DEBUG_GRAPH3 = true;
280 debug.DEBUG_HASH = true;
283 debug.DEBUG_JOB = true;
289 debug.DEBUG_LOUD = true;
292 debug.DEBUG_META = true;
295 debug.DEBUG_MAKE = true;
298 debug.DEBUG_SCRIPT = true;
301 debug.DEBUG_PARSE = true;
304 debug.DEBUG_SUFF = true;
307 debug.DEBUG_TARG = true;
313 debug.DEBUG_VAR = true;
316 debug.DEBUG_SHELL = true;
330 opts.debug = debug;
810 /* Allow makefiles some control over the mode we run in. */
814 char *mode = Var_Subst("${.MAKE.MODE:tl}", SCOPE_GLOBAL, VARE_EVAL);
817 if (mode[0] != '\0') {
818 if (strstr(mode, "compat") != NULL) {
823 if (strstr(mode, "meta") != NULL)
824 meta_mode_init(mode);
826 if (strstr(mode, "randomize-targets") != NULL)
830 free(mode);
1111 memset(&opts.debug, 0, sizeof(opts.debug));
1334 /* default to writing debug to stderr */
1855 * In default mode, this error message has no consequences, for compatibility
1857 * mode (-dL) it does.