sim_log 438 src/simh/scp.c FILE *sim_log = NULL; /* log file */ sim_log 2046 src/simh/scp.c sim_log = NULL; sim_log 2154 src/simh/scp.c if (sim_log) /* log cmd */ sim_log 2155 src/simh/scp.c (void)fprintf (sim_log, "%s%s\n", sim_prompt, cptr); sim_log 2156 src/simh/scp.c if (sim_deb && (sim_deb != sim_log) && (sim_deb != stdout)) sim_log 2705 src/simh/scp.c if (sim_log) sim_log 2706 src/simh/scp.c scp_help (sim_log, NULL, NULL, flag | SCP_HELP_FLAT, help_base ? help_base : simh_help, help+1); sim_log 2710 src/simh/scp.c if (sim_log) sim_log 2711 src/simh/scp.c fputs (help, sim_log); sim_log 2739 src/simh/scp.c if (sim_log) sim_log 2740 src/simh/scp.c help_dev_help (sim_log, dptr, uptr, flag | SCP_HELP_FLAT, (cmdp->action == &set_cmd) ? "SET" : "SHOW"); sim_log 2801 src/simh/scp.c if (sim_log) sim_log 2802 src/simh/scp.c sim_dflt_dev->help (sim_log, sim_dflt_dev, sim_dflt_dev->units, 0, cmdp->name); sim_log 2832 src/simh/scp.c if (sim_log) sim_log 2833 src/simh/scp.c help_dev_help (sim_log, dptr, uptr, flag | SCP_HELP_FLAT, cptr); sim_log 2839 src/simh/scp.c if (sim_log) sim_log 2840 src/simh/scp.c fprint_help (sim_log); sim_log 2855 src/simh/scp.c if (sim_log) /* flush log if enabled */ sim_log 2856 src/simh/scp.c (void)fflush (sim_log); sim_log 4343 src/simh/scp.c if (sim_log && (sim_log != stdout)) sim_log 4344 src/simh/scp.c show_cmd_fi (sim_log, flag, cptr); sim_log 4345 src/simh/scp.c if (sim_deb && (sim_deb != stdout) && (sim_deb != sim_log)) sim_log 6468 src/simh/scp.c if (sim_log) /* flush log if enabled */ sim_log 6469 src/simh/scp.c (void)fflush (sim_log); sim_log 6525 src/simh/scp.c if (sim_log) /* flush console log */ sim_log 6526 src/simh/scp.c (void)fflush (sim_log); sim_log 6562 src/simh/scp.c if (sim_log && (sim_log != stdout)) /* log if enabled */ sim_log 6563 src/simh/scp.c fprint_stopped (sim_log, r); sim_log 6564 src/simh/scp.c if (sim_deb && (sim_deb != stdout) && (sim_deb != sim_log))/* debug if enabled */ sim_log 6808 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6809 src/simh/scp.c ex_reg (sim_log, val, flag, rptr, idx-1); sim_log 6814 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6815 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 6819 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6820 src/simh/scp.c (void)Fprintf (sim_log, "%s[%d]: same as above\n", rptr->name, val_start+1); sim_log 6829 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6830 src/simh/scp.c ex_reg (sim_log, val, flag, rptr, idx); sim_log 6843 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6844 src/simh/scp.c ex_reg (sim_log, val, flag, rptr, highs); sim_log 6849 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6850 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 6854 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6855 src/simh/scp.c (void)Fprintf (sim_log, "%s[%d]: same as above\n", rptr->name, val_start+1); sim_log 6885 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6886 src/simh/scp.c ex_addr (sim_log, flag, i, dptr, uptr); sim_log 7013 src/simh/scp.c if (sim_log) sim_log 7014 src/simh/scp.c (void)fprintf (sim_log, "%s\n", cptr? cptr: ""); sim_log 7233 src/simh/scp.c if (sim_log) sim_log 7234 src/simh/scp.c (void)fprintf (sim_log, "%s\n", cptr? cptr: ""); sim_log 7313 src/simh/scp.c if (sim_log) { sim_log 7314 src/simh/scp.c if ((r = fprint_sym (sim_log, a, &sim_eval[i], dptr->units, sim_switches)) > 0) sim_log 7315 src/simh/scp.c r = fprint_val (sim_log, sim_eval[i], rdx, dptr->dwidth, PV_RZRO); sim_log 10352 src/simh/scp.c if (sim_log && (sim_log != stdout)) sim_log 10353 src/simh/scp.c (void)fprintf (sim_log, "%s", buf); sim_log 10354 src/simh/scp.c if (sim_deb && (sim_deb != stdout) && (sim_deb != sim_log)) sim_log 10416 src/simh/scp.c if (sim_log && (sim_log != stdout) && !inhibit_message) sim_log 10417 src/simh/scp.c (void)fprintf (sim_log, "%s", buf); sim_log 10418 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);