sim_deb 4474 src/dps8/dps8_cpu.c if (sim_deb && dptr && (dptr->dctrl & dbits)) sim_deb 4525 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 438 src/simh/scp.c FILE *sim_deb = NULL; /* debug file */ sim_deb 2082 src/simh/scp.c if (sim_deb && (sim_deb != sim_log) && (sim_deb != stdout)) sim_deb 2083 src/simh/scp.c (void)fprintf (sim_deb, "%s%s\n", sim_prompt, cptr); sim_deb 2783 src/simh/scp.c if (sim_deb) /* flush debug if enabled */ sim_deb 2784 src/simh/scp.c (void)fflush (sim_deb); sim_deb 4270 src/simh/scp.c if (sim_deb && (sim_deb != stdout) && (sim_deb != sim_log)) sim_deb 4271 src/simh/scp.c show_cmd_fi (sim_deb, flag, cptr); sim_deb 6457 src/simh/scp.c if (sim_deb) /* flush debug log */ sim_deb 6494 src/simh/scp.c if (sim_deb && (sim_deb != stdout) && (sim_deb != sim_log))/* debug if enabled */ sim_deb 6495 src/simh/scp.c fprint_stopped (sim_deb, r); sim_deb 8857 src/simh/scp.c if (sim_deb) sim_deb 8858 src/simh/scp.c fclose(sim_deb); sim_deb 9861 src/simh/scp.c if (sim_deb && exp->dptr && (exp->dptr->dctrl & exp->dbit)) { sim_deb 9874 src/simh/scp.c if (sim_deb && exp->dptr && (exp->dptr->dctrl & exp->dbit)) { sim_deb 9890 src/simh/scp.c if (sim_deb && exp->dptr && (exp->dptr->dctrl & exp->dbit)) { sim_deb 10219 src/simh/scp.c if (sim_deb && dptr && (dptr->dctrl & dbits)) { sim_deb 10221 src/simh/scp.c (void)fprintf(sim_deb, "%s", sim_debug_prefix(dbits, dptr)); /* print prefix if required */ sim_deb 10223 src/simh/scp.c (void)fprintf(sim_deb, "%s: ", header); sim_deb 10224 src/simh/scp.c fprint_fields (sim_deb, (t_value)before, (t_value)after, bitdefs); /* print xlation, transition */ sim_deb 10226 src/simh/scp.c (void)fprintf(sim_deb, "\r\n"); sim_deb 10282 src/simh/scp.c if (sim_deb && (sim_deb != stdout) && (sim_deb != sim_log)) sim_deb 10283 src/simh/scp.c (void)fprintf (sim_deb, "%s", buf); sim_deb 10325 src/simh/scp.c if (sim_deb) /* Always put context in debug output */ sim_deb 10326 src/simh/scp.c (void)fprintf (sim_deb, "%s> %s\n", do_position(), sim_do_ocptr[sim_do_depth]); sim_deb 10346 src/simh/scp.c if (sim_deb && (((sim_deb != stdout) && (sim_deb != sim_log)) || inhibit_message))/* Always display messages in debug output */ sim_deb 10347 src/simh/scp.c (void)fprintf (sim_deb, "%s", buf); sim_deb 10365 src/simh/scp.c if (sim_deb && dptr && (dbits == 0 || (dptr->dctrl & dbits))) { sim_deb 10403 src/simh/scp.c (void)fprintf (sim_deb, "%.*s\r\n", i-j, &buf[j]); sim_deb 10405 src/simh/scp.c (void)fprintf (sim_deb, "%s%.*s\r\n", debug_prefix, i-j, &buf[j]); sim_deb 10414 src/simh/scp.c (void)fprintf (sim_deb, "%.*s", i-j, &buf[j]); sim_deb 10416 src/simh/scp.c (void)fprintf (sim_deb, "%s%.*s", debug_prefix, i-j, &buf[j]); sim_deb 10433 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 394 src/simh/sim_disk.c FILE *save_sim_deb = sim_deb; sim_deb 401 src/simh/sim_disk.c sim_deb = save_sim_deb ? save_sim_deb : stdout; sim_deb 404 src/simh/sim_disk.c sim_deb = save_sim_deb; sim_deb 969 src/simh/sim_disk.c FILE *save_sim_deb = sim_deb; sim_deb 978 src/simh/sim_disk.c sim_deb = stdout; sim_deb 982 src/simh/sim_disk.c sim_deb = save_sim_deb; sim_deb 1181 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)) \