sim_log 440 src/simh/scp.c FILE *sim_log = NULL; /* log file */ sim_log 2048 src/simh/scp.c sim_log = NULL; sim_log 2156 src/simh/scp.c if (sim_log) /* log cmd */ sim_log 2157 src/simh/scp.c (void)fprintf (sim_log, "%s%s\n", sim_prompt, cptr); sim_log 2158 src/simh/scp.c if (sim_deb && (sim_deb != sim_log) && (sim_deb != stdout)) sim_log 2707 src/simh/scp.c if (sim_log) sim_log 2708 src/simh/scp.c scp_help (sim_log, NULL, NULL, flag | SCP_HELP_FLAT, help_base ? help_base : simh_help, help+1); sim_log 2712 src/simh/scp.c if (sim_log) sim_log 2713 src/simh/scp.c fputs (help, sim_log); sim_log 2741 src/simh/scp.c if (sim_log) sim_log 2742 src/simh/scp.c help_dev_help (sim_log, dptr, uptr, flag | SCP_HELP_FLAT, (cmdp->action == &set_cmd) ? "SET" : "SHOW"); sim_log 2803 src/simh/scp.c if (sim_log) sim_log 2804 src/simh/scp.c sim_dflt_dev->help (sim_log, sim_dflt_dev, sim_dflt_dev->units, 0, cmdp->name); sim_log 2834 src/simh/scp.c if (sim_log) sim_log 2835 src/simh/scp.c help_dev_help (sim_log, dptr, uptr, flag | SCP_HELP_FLAT, cptr); sim_log 2841 src/simh/scp.c if (sim_log) sim_log 2842 src/simh/scp.c fprint_help (sim_log); sim_log 2857 src/simh/scp.c if (sim_log) /* flush log if enabled */ sim_log 2858 src/simh/scp.c (void)fflush (sim_log); sim_log 4345 src/simh/scp.c if (sim_log && (sim_log != stdout)) sim_log 4346 src/simh/scp.c show_cmd_fi (sim_log, flag, cptr); sim_log 4347 src/simh/scp.c if (sim_deb && (sim_deb != stdout) && (sim_deb != sim_log)) sim_log 6476 src/simh/scp.c if (sim_log) /* flush log if enabled */ sim_log 6477 src/simh/scp.c (void)fflush (sim_log); sim_log 6533 src/simh/scp.c if (sim_log) /* flush console log */ sim_log 6534 src/simh/scp.c (void)fflush (sim_log); sim_log 6570 src/simh/scp.c if (sim_log && (sim_log != stdout)) /* log if enabled */ sim_log 6571 src/simh/scp.c fprint_stopped (sim_log, r); sim_log 6572 src/simh/scp.c if (sim_deb && (sim_deb != stdout) && (sim_deb != sim_log))/* debug if enabled */ sim_log 6816 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6817 src/simh/scp.c ex_reg (sim_log, val, flag, rptr, idx-1); sim_log 6822 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6823 src/simh/scp.c (void)Fprintf (sim_log, "%s[%d]-%s[%d]: same as above\n", rptr->name, val_start+1, rptr->name, idx-1); sim_log 6827 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6828 src/simh/scp.c (void)Fprintf (sim_log, "%s[%d]: same as above\n", rptr->name, val_start+1); sim_log 6837 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6838 src/simh/scp.c ex_reg (sim_log, val, flag, rptr, idx); sim_log 6851 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6852 src/simh/scp.c ex_reg (sim_log, val, flag, rptr, highs); sim_log 6857 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6858 src/simh/scp.c (void)Fprintf (sim_log, "%s[%d]-%s[%d]: same as above\n", rptr->name, val_start+1, rptr->name, highs); sim_log 6862 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6863 src/simh/scp.c (void)Fprintf (sim_log, "%s[%d]: same as above\n", rptr->name, val_start+1); sim_log 6893 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6894 src/simh/scp.c ex_addr (sim_log, flag, i, dptr, uptr); sim_log 7021 src/simh/scp.c if (sim_log) sim_log 7022 src/simh/scp.c (void)fprintf (sim_log, "%s\n", cptr? cptr: ""); sim_log 7241 src/simh/scp.c if (sim_log) sim_log 7242 src/simh/scp.c (void)fprintf (sim_log, "%s\n", cptr? cptr: ""); sim_log 7321 src/simh/scp.c if (sim_log) { sim_log 7322 src/simh/scp.c if ((r = fprint_sym (sim_log, a, &sim_eval[i], dptr->units, sim_switches)) > 0) sim_log 7323 src/simh/scp.c r = fprint_val (sim_log, sim_eval[i], rdx, dptr->dwidth, PV_RZRO); sim_log 10360 src/simh/scp.c if (sim_log && (sim_log != stdout)) sim_log 10361 src/simh/scp.c (void)fprintf (sim_log, "%s", buf); sim_log 10362 src/simh/scp.c if (sim_deb && (sim_deb != stdout) && (sim_deb != sim_log)) sim_log 10424 src/simh/scp.c if (sim_log && (sim_log != stdout) && !inhibit_message) sim_log 10425 src/simh/scp.c (void)fprintf (sim_log, "%s", buf); sim_log 10426 src/simh/scp.c if (sim_deb && (((sim_deb != stdout) && (sim_deb != sim_log)) || inhibit_message))/* Always display messages in debug output */ sim_log 239 src/simh/scp.h extern FILE *sim_log; /* log file */ sim_log 598 src/simh/sim_console.c if (sim_log) { sim_log 601 src/simh/sim_console.c (void)fflush (sim_log); sim_log 602 src/simh/sim_console.c (void)sim_fseeko (sim_log, sim_rem_cmd_log_start, SEEK_SET); sim_log 604 src/simh/sim_console.c while (fgets (cbuf, sizeof(cbuf)-1, sim_log)) sim_log 903 src/simh/sim_console.c if (!sim_log) { /* Not currently logging? */ sim_log 912 src/simh/sim_console.c sim_rem_cmd_log_start = sim_ftell (sim_log); sim_log 990 src/simh/sim_console.c (void)fflush (sim_log); sim_log 991 src/simh/sim_console.c sim_rem_cmd_log_start = sim_ftell (sim_log); sim_log 1323 src/simh/sim_console.c &sim_log, &sim_log_ref); /* open log */ sim_log 1328 src/simh/sim_console.c sim_logfile_name (sim_log, sim_log_ref)); sim_log 1329 src/simh/sim_console.c fprintf (sim_log, "Logging to file \"%s\"\n", sim_log 1330 src/simh/sim_console.c sim_logfile_name (sim_log, sim_log_ref)); /* start of log */ sim_log 1332 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 1342 src/simh/sim_console.c if (sim_log == NULL) /* no log? */ sim_log 1346 src/simh/sim_console.c fprintf (sim_log, "Log file closed\n"); sim_log 1348 src/simh/sim_console.c sim_log = NULL; sim_log 1358 src/simh/sim_console.c if (sim_log) sim_log 1360 src/simh/sim_console.c sim_logfile_name (sim_log, sim_log_ref)); sim_log 1422 src/simh/sim_console.c if (sim_deb == sim_log) { /* debug is log */ sim_log 1657 src/simh/sim_console.c if (sim_log == NULL) /* any log? */ sim_log 1659 src/simh/sim_console.c *pf = sim_log; sim_log 1749 src/simh/sim_console.c if (sim_log) /* log file? */ sim_log 1750 src/simh/sim_console.c (void)fflush (sim_log); sim_log 1783 src/simh/sim_console.c if (sim_log) /* log file? */ sim_log 1784 src/simh/sim_console.c (void)fflush (sim_log); sim_log 1795 src/simh/sim_console.c if (sim_log) /* log file? */ sim_log 1796 src/simh/sim_console.c (void)fflush (sim_log); sim_log 1806 src/simh/sim_console.c if (sim_log) /* log file? */ sim_log 1807 src/simh/sim_console.c (void)fflush (sim_log); sim_log 1884 src/simh/sim_console.c if (sim_log) /* log file? */ sim_log 1885 src/simh/sim_console.c fputc (c, sim_log); sim_log 2010 src/simh/sim_console.c if (sim_log) { sim_log 2011 src/simh/sim_console.c (void)fflush (sim_log); sim_log 2012 src/simh/sim_console.c _setmode (_fileno (sim_log), _O_BINARY); sim_log 2020 src/simh/sim_console.c if (sim_log) { sim_log 2021 src/simh/sim_console.c (void)fflush (sim_log); sim_log 2022 src/simh/sim_console.c _setmode (_fileno (sim_log), _O_TEXT);