sim_deb 4676 src/dps8/dps8_cpu.c if (sim_deb && dptr && (dptr->dctrl & dbits)) sim_deb 4725 src/dps8/dps8_cpu.c (void)fprintf (sim_deb, "%lld.%06ld: DBG(%lld) %o: %s %s %.*s\r\n", sim_deb 26 src/dps8/dps8_simh.h sim_deb && \ sim_deb 154 src/dps8/dps8_simh.h extern FILE *sim_deb; sim_deb 442 src/simh/scp.c FILE *sim_deb = NULL; /* debug file */ sim_deb 2158 src/simh/scp.c if (sim_deb && (sim_deb != sim_log) && (sim_deb != stdout)) sim_deb 2159 src/simh/scp.c (void)fprintf (sim_deb, "%s%s\n", sim_prompt, cptr); sim_deb 2859 src/simh/scp.c if (sim_deb) /* flush debug if enabled */ sim_deb 2860 src/simh/scp.c (void)fflush (sim_deb); sim_deb 4347 src/simh/scp.c if (sim_deb && (sim_deb != stdout) && (sim_deb != sim_log)) sim_deb 4348 src/simh/scp.c show_cmd_fi (sim_deb, flag, cptr); sim_deb 6535 src/simh/scp.c if (sim_deb) /* flush debug log */ sim_deb 6572 src/simh/scp.c if (sim_deb && (sim_deb != stdout) && (sim_deb != sim_log))/* debug if enabled */ sim_deb 6573 src/simh/scp.c fprint_stopped (sim_deb, r); sim_deb 8935 src/simh/scp.c if (sim_deb) sim_deb 8936 src/simh/scp.c fclose(sim_deb); sim_deb 9939 src/simh/scp.c if (sim_deb && exp->dptr && (exp->dptr->dctrl & exp->dbit)) { sim_deb 9952 src/simh/scp.c if (sim_deb && exp->dptr && (exp->dptr->dctrl & exp->dbit)) { sim_deb 9968 src/simh/scp.c if (sim_deb && exp->dptr && (exp->dptr->dctrl & exp->dbit)) { sim_deb 10297 src/simh/scp.c if (sim_deb && dptr && (dptr->dctrl & dbits)) { sim_deb 10299 src/simh/scp.c (void)fprintf(sim_deb, "%s", sim_debug_prefix(dbits, dptr)); /* print prefix if required */ sim_deb 10301 src/simh/scp.c (void)fprintf(sim_deb, "%s: ", header); sim_deb 10302 src/simh/scp.c fprint_fields (sim_deb, (t_value)before, (t_value)after, bitdefs); /* print xlation, transition */ sim_deb 10304 src/simh/scp.c (void)fprintf(sim_deb, "\r\n"); sim_deb 10362 src/simh/scp.c if (sim_deb && (sim_deb != stdout) && (sim_deb != sim_log)) sim_deb 10363 src/simh/scp.c (void)fprintf (sim_deb, "%s", buf); sim_deb 10405 src/simh/scp.c if (sim_deb) /* Always put context in debug output */ sim_deb 10406 src/simh/scp.c (void)fprintf (sim_deb, "%s> %s\n", do_position(), sim_do_ocptr[sim_do_depth]); sim_deb 10426 src/simh/scp.c if (sim_deb && (((sim_deb != stdout) && (sim_deb != sim_log)) || inhibit_message))/* Always display messages in debug output */ sim_deb 10427 src/simh/scp.c (void)fprintf (sim_deb, "%s", buf); sim_deb 10445 src/simh/scp.c if (sim_deb && dptr && (dbits == 0 || (dptr->dctrl & dbits))) { sim_deb 10485 src/simh/scp.c (void)fprintf (sim_deb, "%.*s\r\n", i-j, &buf[j]); sim_deb 10487 src/simh/scp.c (void)fprintf (sim_deb, "%s%.*s\r\n", debug_prefix, i-j, &buf[j]); sim_deb 10496 src/simh/scp.c (void)fprintf (sim_deb, "%.*s", i-j, &buf[j]); sim_deb 10498 src/simh/scp.c (void)fprintf (sim_deb, "%s%.*s", debug_prefix, i-j, &buf[j]); sim_deb 10515 src/simh/scp.c if (sim_deb && (dptr->dctrl & reason)) { sim_deb 208 src/simh/scp.h if ((sim_deb != NULL) && ((dptr != NULL) && ((dptr)->dctrl & dbits))) \ sim_deb 241 src/simh/scp.h extern FILE *sim_deb; /* debug file */ sim_deb 1379 src/simh/sim_console.c r = sim_open_logfile (gbuf, FALSE, &sim_deb, &sim_deb_ref); sim_deb 1391 src/simh/sim_console.c sim_logfile_name (sim_deb, sim_deb_ref)); sim_deb 1401 src/simh/sim_console.c fprintf (sim_deb, "Debug output to \"%s\" at %s", sim_deb 1402 src/simh/sim_console.c sim_logfile_name (sim_deb, sim_deb_ref), ctime(&now)); sim_deb 1403 src/simh/sim_console.c show_version (sim_deb, NULL, NULL, 0, NULL); sim_deb 1419 src/simh/sim_console.c if (sim_deb == NULL) /* no debug? */ sim_deb 1422 src/simh/sim_console.c if (sim_deb == sim_log) { /* debug is log */ sim_deb 1423 src/simh/sim_console.c (void)fflush (sim_deb); /* fflush is the best we can do */ sim_deb 1427 src/simh/sim_console.c strcpy (saved_debug_filename, sim_logfile_name (sim_deb, sim_deb_ref)); sim_deb 1445 src/simh/sim_console.c if (sim_deb == NULL) /* no debug? */ sim_deb 1448 src/simh/sim_console.c sim_deb = NULL; sim_deb 1463 src/simh/sim_console.c if (sim_deb) { sim_deb 1465 src/simh/sim_console.c sim_logfile_name (sim_deb, sim_deb_ref)); sim_deb 1665 src/simh/sim_console.c if (sim_deb == NULL) /* any debug? */ sim_deb 1667 src/simh/sim_console.c *pf = sim_deb; sim_deb 677 src/simh/sim_defs.h # define DEBUG_PRS(d) (sim_deb && d.dctrl) sim_deb 678 src/simh/sim_defs.h # define DEBUG_PRD(d) (sim_deb && d->dctrl) sim_deb 679 src/simh/sim_defs.h # define DEBUG_PRI(d,m) (sim_deb && (d.dctrl & (m))) sim_deb 680 src/simh/sim_defs.h # define DEBUG_PRJ(d,m) (sim_deb && ((d)->dctrl & (m))) sim_deb 392 src/simh/sim_disk.c FILE *save_sim_deb = sim_deb; sim_deb 399 src/simh/sim_disk.c sim_deb = save_sim_deb ? save_sim_deb : stdout; sim_deb 402 src/simh/sim_disk.c sim_deb = save_sim_deb; sim_deb 967 src/simh/sim_disk.c FILE *save_sim_deb = sim_deb; sim_deb 976 src/simh/sim_disk.c sim_deb = stdout; sim_deb 980 src/simh/sim_disk.c sim_deb = save_sim_deb; sim_deb 1179 src/simh/sim_disk.c if (sim_deb && (ctx->dptr->dctrl & reason)) { sim_deb 307 src/simh/sim_tape.c if (sim_deb && (ctx->dptr->dctrl & reason)) sim_deb 1939 src/simh/sim_tape.c if (sim_deb && (dptr->dctrl & MTSE_DBG_STR)) { sim_deb 278 src/simh/sim_tmxr.h do { if (sim_deb && (lp)->mp && (lp)->mp->dptr && ((dbits) & (lp)->mp->dptr->dctrl)) \ sim_deb 282 src/simh/sim_tmxr.h do { if (sim_deb && (lp)->mp && (lp)->mp->dptr && ((dbits) & (lp)->mp->dptr->dctrl)) \ sim_deb 286 src/simh/sim_tmxr.h do { if (sim_deb && (val) && (lp)->mp && (lp)->mp->dptr && (TMXR_DBG_RET & (lp)->mp->dptr->dctrl)) \ sim_deb 293 src/simh/sim_tmxr.h do { if (sim_deb && (mp)->dptr && (TMXR_DBG_TRC & (mp)->dptr->dctrl)) \ sim_deb 297 src/simh/sim_tmxr.h do { if (sim_deb && (lp)->mp && (lp)->mp->dptr && (TMXR_DBG_TRC & (lp)->mp->dptr->dctrl)) \ sim_deb 301 src/simh/sim_tmxr.h do { if (sim_deb && (mp)->dptr && (TMXR_DBG_CON & (mp)->dptr->dctrl)) \ sim_deb 305 src/simh/sim_tmxr.h do { if (sim_deb && (lp)->mp && (lp)->mp->dptr && (TMXR_DBG_CON & (lp)->mp->dptr->dctrl)) \