sim_deb 4770 src/dps8/dps8_cpu.c if (sim_deb && dptr && (dptr->dctrl & dbits)) sim_deb 4819 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 452 src/simh/scp.c FILE *sim_deb = NULL; /* debug file */ sim_deb 2273 src/simh/scp.c if (sim_deb && (sim_deb != sim_log) && (sim_deb != stdout)) sim_deb 2274 src/simh/scp.c (void)fprintf (sim_deb, "%s%s\r\n", sim_prompt, cptr); sim_deb 2974 src/simh/scp.c if (sim_deb) /* flush debug if enabled */ sim_deb 2975 src/simh/scp.c (void)fflush (sim_deb); sim_deb 4467 src/simh/scp.c if (sim_deb && (sim_deb != stdout) && (sim_deb != sim_log)) sim_deb 4468 src/simh/scp.c show_cmd_fi (sim_deb, flag, cptr); sim_deb 6665 src/simh/scp.c if (sim_deb) /* flush debug log */ sim_deb 6702 src/simh/scp.c if (sim_deb && (sim_deb != stdout) && (sim_deb != sim_log))/* debug if enabled */ sim_deb 6703 src/simh/scp.c fprint_stopped (sim_deb, r); sim_deb 9065 src/simh/scp.c if (sim_deb) sim_deb 9066 src/simh/scp.c fclose(sim_deb); sim_deb 10069 src/simh/scp.c if (sim_deb && exp->dptr && (exp->dptr->dctrl & exp->dbit)) { sim_deb 10082 src/simh/scp.c if (sim_deb && exp->dptr && (exp->dptr->dctrl & exp->dbit)) { sim_deb 10098 src/simh/scp.c if (sim_deb && exp->dptr && (exp->dptr->dctrl & exp->dbit)) { sim_deb 10427 src/simh/scp.c if (sim_deb && dptr && (dptr->dctrl & dbits)) { sim_deb 10429 src/simh/scp.c (void)fprintf(sim_deb, "%s", sim_debug_prefix(dbits, dptr)); /* print prefix if required */ sim_deb 10431 src/simh/scp.c (void)fprintf(sim_deb, "%s: ", header); sim_deb 10432 src/simh/scp.c fprint_fields (sim_deb, (t_value)before, (t_value)after, bitdefs); /* print xlation, transition */ sim_deb 10434 src/simh/scp.c (void)fprintf(sim_deb, "\r\n"); sim_deb 10492 src/simh/scp.c if (sim_deb && (sim_deb != stdout) && (sim_deb != sim_log)) sim_deb 10493 src/simh/scp.c (void)fprintf (sim_deb, "%s", buf); sim_deb 10535 src/simh/scp.c if (sim_deb) /* Always put context in debug output */ sim_deb 10536 src/simh/scp.c (void)fprintf (sim_deb, "%s> %s\r\n", do_position(), sim_do_ocptr[sim_do_depth]); sim_deb 10556 src/simh/scp.c if (sim_deb && (((sim_deb != stdout) && (sim_deb != sim_log)) || inhibit_message))/* Always display messages in debug output */ sim_deb 10557 src/simh/scp.c (void)fprintf (sim_deb, "%s", buf); sim_deb 10575 src/simh/scp.c if (sim_deb && dptr && (dbits == 0 || (dptr->dctrl & dbits))) { sim_deb 10615 src/simh/scp.c (void)fprintf (sim_deb, "%.*s\r\n", i-j, &buf[j]); sim_deb 10617 src/simh/scp.c (void)fprintf (sim_deb, "%s%.*s\r\n", debug_prefix, i-j, &buf[j]); sim_deb 10626 src/simh/scp.c (void)fprintf (sim_deb, "%.*s", i-j, &buf[j]); sim_deb 10628 src/simh/scp.c (void)fprintf (sim_deb, "%s%.*s", debug_prefix, i-j, &buf[j]); sim_deb 10645 src/simh/scp.c if (sim_deb && (dptr->dctrl & reason)) { sim_deb 210 src/simh/scp.h if ((sim_deb != NULL) && ((dptr != NULL) && ((dptr)->dctrl & dbits))) \ sim_deb 243 src/simh/scp.h extern FILE *sim_deb; /* debug file */ sim_deb 1380 src/simh/sim_console.c r = sim_open_logfile (gbuf, FALSE, &sim_deb, &sim_deb_ref); sim_deb 1392 src/simh/sim_console.c sim_logfile_name (sim_deb, sim_deb_ref)); sim_deb 1402 src/simh/sim_console.c fprintf (sim_deb, "Debug output to \"%s\" at %s", sim_deb 1403 src/simh/sim_console.c sim_logfile_name (sim_deb, sim_deb_ref), ctime(&now)); sim_deb 1404 src/simh/sim_console.c show_version (sim_deb, NULL, NULL, 0, NULL); sim_deb 1420 src/simh/sim_console.c if (sim_deb == NULL) /* no debug? */ sim_deb 1423 src/simh/sim_console.c if (sim_deb == sim_log) { /* debug is log */ sim_deb 1424 src/simh/sim_console.c (void)fflush (sim_deb); /* fflush is the best we can do */ sim_deb 1428 src/simh/sim_console.c strcpy (saved_debug_filename, sim_logfile_name (sim_deb, sim_deb_ref)); sim_deb 1446 src/simh/sim_console.c if (sim_deb == NULL) /* no debug? */ sim_deb 1449 src/simh/sim_console.c sim_deb = NULL; sim_deb 1464 src/simh/sim_console.c if (sim_deb) { sim_deb 1466 src/simh/sim_console.c sim_logfile_name (sim_deb, sim_deb_ref)); sim_deb 1666 src/simh/sim_console.c if (sim_deb == NULL) /* any debug? */ sim_deb 1668 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 396 src/simh/sim_disk.c FILE *save_sim_deb = sim_deb; sim_deb 403 src/simh/sim_disk.c sim_deb = save_sim_deb ? save_sim_deb : stdout; sim_deb 406 src/simh/sim_disk.c sim_deb = save_sim_deb; sim_deb 971 src/simh/sim_disk.c FILE *save_sim_deb = sim_deb; sim_deb 980 src/simh/sim_disk.c sim_deb = stdout; sim_deb 984 src/simh/sim_disk.c sim_deb = save_sim_deb; sim_deb 1183 src/simh/sim_disk.c if (sim_deb && (ctx->dptr->dctrl & reason)) { sim_deb 311 src/simh/sim_tape.c if (sim_deb && (ctx->dptr->dctrl & reason)) sim_deb 1946 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)) \