sim_log 365 src/simh/scp.c FILE *sim_log = NULL; /* log file */ sim_log 1823 src/simh/scp.c sim_log = NULL; sim_log 1929 src/simh/scp.c if (sim_log) /* log cmd */ sim_log 1930 src/simh/scp.c fprintf (sim_log, "%s%s\n", sim_prompt, cptr); sim_log 1931 src/simh/scp.c if (sim_deb && (sim_deb != sim_log) && (sim_deb != stdout)) sim_log 2445 src/simh/scp.c if (sim_log) sim_log 2446 src/simh/scp.c scp_help (sim_log, NULL, NULL, flag | SCP_HELP_FLAT, help_base ? help_base : simh_help, help+1); sim_log 2450 src/simh/scp.c if (sim_log) sim_log 2451 src/simh/scp.c fputs (help, sim_log); sim_log 2479 src/simh/scp.c if (sim_log) sim_log 2480 src/simh/scp.c help_dev_help (sim_log, dptr, uptr, flag | SCP_HELP_FLAT, (cmdp->action == &set_cmd) ? "SET" : "SHOW"); sim_log 2537 src/simh/scp.c if (sim_log) sim_log 2538 src/simh/scp.c sim_dflt_dev->help (sim_log, sim_dflt_dev, sim_dflt_dev->units, 0, cmdp->name); sim_log 2568 src/simh/scp.c if (sim_log) sim_log 2569 src/simh/scp.c help_dev_help (sim_log, dptr, uptr, flag | SCP_HELP_FLAT, cptr); sim_log 2575 src/simh/scp.c if (sim_log) sim_log 2576 src/simh/scp.c fprint_help (sim_log); sim_log 2591 src/simh/scp.c if (sim_log) /* flush log if enabled */ sim_log 2592 src/simh/scp.c fflush (sim_log); sim_log 4042 src/simh/scp.c if (sim_log && (sim_log != stdout)) sim_log 4043 src/simh/scp.c show_cmd_fi (sim_log, flag, cptr); sim_log 4044 src/simh/scp.c if (sim_deb && (sim_deb != stdout) && (sim_deb != sim_log)) sim_log 5852 src/simh/scp.c if (sim_log) /* flush log if enabled */ sim_log 5853 src/simh/scp.c fflush (sim_log); sim_log 5909 src/simh/scp.c if (sim_log) /* flush console log */ sim_log 5910 src/simh/scp.c fflush (sim_log); sim_log 5946 src/simh/scp.c if (sim_log && (sim_log != stdout)) /* log if enabled */ sim_log 5947 src/simh/scp.c fprint_stopped (sim_log, r); sim_log 5948 src/simh/scp.c if (sim_deb && (sim_deb != stdout) && (sim_deb != sim_log))/* debug if enabled */ sim_log 6192 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6193 src/simh/scp.c ex_reg (sim_log, val, flag, rptr, idx-1); sim_log 6198 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6199 src/simh/scp.c Fprintf (sim_log, "%s[%d]-%s[%d]: same as above\n", rptr->name, val_start+1, rptr->name, idx-1); sim_log 6203 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6204 src/simh/scp.c Fprintf (sim_log, "%s[%d]: same as above\n", rptr->name, val_start+1); sim_log 6213 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6214 src/simh/scp.c ex_reg (sim_log, val, flag, rptr, idx); sim_log 6227 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6228 src/simh/scp.c ex_reg (sim_log, val, flag, rptr, highs); sim_log 6233 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6234 src/simh/scp.c Fprintf (sim_log, "%s[%d]-%s[%d]: same as above\n", rptr->name, val_start+1, rptr->name, highs); sim_log 6238 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6239 src/simh/scp.c Fprintf (sim_log, "%s[%d]: same as above\n", rptr->name, val_start+1); sim_log 6269 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6270 src/simh/scp.c ex_addr (sim_log, flag, i, dptr, uptr); sim_log 6395 src/simh/scp.c if (sim_log) sim_log 6396 src/simh/scp.c fprintf (sim_log, "%s\n", cptr? cptr: ""); sim_log 6614 src/simh/scp.c if (sim_log) sim_log 6615 src/simh/scp.c fprintf (sim_log, "%s\n", cptr? cptr: ""); sim_log 6694 src/simh/scp.c if (sim_log) { sim_log 6695 src/simh/scp.c if ((r = fprint_sym (sim_log, a, &sim_eval[i], dptr->units, sim_switches)) > 0) sim_log 6696 src/simh/scp.c r = fprint_val (sim_log, sim_eval[i], rdx, dptr->dwidth, PV_RZRO); sim_log 9677 src/simh/scp.c if (sim_log && (sim_log != stdout)) sim_log 9678 src/simh/scp.c fprintf (sim_log, "%s", buf); sim_log 9679 src/simh/scp.c if (sim_deb && (sim_deb != stdout) && (sim_deb != sim_log)) sim_log 9741 src/simh/scp.c if (sim_log && (sim_log != stdout) && !inhibit_message) sim_log 9742 src/simh/scp.c fprintf (sim_log, "%s", buf); sim_log 9743 src/simh/scp.c if (sim_deb && (((sim_deb != stdout) && (sim_deb != sim_log)) || inhibit_message))/* Always display messages in debug output */ sim_log 234 src/simh/scp.h extern FILE *sim_log; /* log file */ sim_log 590 src/simh/sim_console.c if (sim_log) { sim_log 593 src/simh/sim_console.c fflush (sim_log); sim_log 594 src/simh/sim_console.c (void)sim_fseeko (sim_log, sim_rem_cmd_log_start, SEEK_SET); sim_log 596 src/simh/sim_console.c while (fgets (cbuf, sizeof(cbuf)-1, sim_log)) sim_log 888 src/simh/sim_console.c if (!sim_log) { /* Not currently logging? */ sim_log 897 src/simh/sim_console.c sim_rem_cmd_log_start = sim_ftell (sim_log); sim_log 972 src/simh/sim_console.c fflush (sim_log); sim_log 973 src/simh/sim_console.c sim_rem_cmd_log_start = sim_ftell (sim_log); sim_log 1305 src/simh/sim_console.c &sim_log, &sim_log_ref); /* open log */ sim_log 1310 src/simh/sim_console.c sim_logfile_name (sim_log, sim_log_ref)); sim_log 1311 src/simh/sim_console.c fprintf (sim_log, "Logging to file \"%s\"\n", sim_log 1312 src/simh/sim_console.c sim_logfile_name (sim_log, sim_log_ref)); /* start of log */ sim_log 1314 src/simh/sim_console.c fprintf (sim_log, "Logging to file \"%s\" at %s", sim_logfile_name (sim_log, sim_log_ref), ctime(&now)); sim_log 1324 src/simh/sim_console.c if (sim_log == NULL) /* no log? */ sim_log 1328 src/simh/sim_console.c fprintf (sim_log, "Log file closed\n"); sim_log 1330 src/simh/sim_console.c sim_log = NULL; sim_log 1340 src/simh/sim_console.c if (sim_log) sim_log 1342 src/simh/sim_console.c sim_logfile_name (sim_log, sim_log_ref)); sim_log 1400 src/simh/sim_console.c if (sim_deb == sim_log) { /* debug is log */ sim_log 1632 src/simh/sim_console.c if (sim_log == NULL) /* any log? */ sim_log 1634 src/simh/sim_console.c *pf = sim_log; sim_log 1723 src/simh/sim_console.c if (sim_log) /* log file? */ sim_log 1724 src/simh/sim_console.c fflush (sim_log); sim_log 1757 src/simh/sim_console.c if (sim_log) /* log file? */ sim_log 1758 src/simh/sim_console.c fflush (sim_log); sim_log 1769 src/simh/sim_console.c if (sim_log) /* log file? */ sim_log 1770 src/simh/sim_console.c fflush (sim_log); sim_log 1780 src/simh/sim_console.c if (sim_log) /* log file? */ sim_log 1781 src/simh/sim_console.c fflush (sim_log); sim_log 1858 src/simh/sim_console.c if (sim_log) /* log file? */ sim_log 1859 src/simh/sim_console.c fputc (c, sim_log); sim_log 1979 src/simh/sim_console.c if (sim_log) { sim_log 1980 src/simh/sim_console.c fflush (sim_log); sim_log 1981 src/simh/sim_console.c _setmode (_fileno (sim_log), _O_BINARY); sim_log 1989 src/simh/sim_console.c if (sim_log) { sim_log 1990 src/simh/sim_console.c fflush (sim_log); sim_log 1991 src/simh/sim_console.c _setmode (_fileno (sim_log), _O_TEXT);