sim_log 365 src/simh/scp.c FILE *sim_log = NULL; /* log file */ sim_log 1824 src/simh/scp.c sim_log = NULL; sim_log 1930 src/simh/scp.c if (sim_log) /* log cmd */ sim_log 1931 src/simh/scp.c fprintf (sim_log, "%s%s\n", sim_prompt, cptr); sim_log 1932 src/simh/scp.c if (sim_deb && (sim_deb != sim_log) && (sim_deb != stdout)) sim_log 2446 src/simh/scp.c if (sim_log) sim_log 2447 src/simh/scp.c scp_help (sim_log, NULL, NULL, flag | SCP_HELP_FLAT, help_base ? help_base : simh_help, help+1); sim_log 2451 src/simh/scp.c if (sim_log) sim_log 2452 src/simh/scp.c fputs (help, sim_log); sim_log 2480 src/simh/scp.c if (sim_log) sim_log 2481 src/simh/scp.c help_dev_help (sim_log, dptr, uptr, flag | SCP_HELP_FLAT, (cmdp->action == &set_cmd) ? "SET" : "SHOW"); sim_log 2538 src/simh/scp.c if (sim_log) sim_log 2539 src/simh/scp.c sim_dflt_dev->help (sim_log, sim_dflt_dev, sim_dflt_dev->units, 0, cmdp->name); sim_log 2569 src/simh/scp.c if (sim_log) sim_log 2570 src/simh/scp.c help_dev_help (sim_log, dptr, uptr, flag | SCP_HELP_FLAT, cptr); sim_log 2576 src/simh/scp.c if (sim_log) sim_log 2577 src/simh/scp.c fprint_help (sim_log); sim_log 2592 src/simh/scp.c if (sim_log) /* flush log if enabled */ sim_log 2593 src/simh/scp.c fflush (sim_log); sim_log 4043 src/simh/scp.c if (sim_log && (sim_log != stdout)) sim_log 4044 src/simh/scp.c show_cmd_fi (sim_log, flag, cptr); sim_log 4045 src/simh/scp.c if (sim_deb && (sim_deb != stdout) && (sim_deb != sim_log)) sim_log 6065 src/simh/scp.c if (sim_log) /* flush log if enabled */ sim_log 6066 src/simh/scp.c fflush (sim_log); sim_log 6122 src/simh/scp.c if (sim_log) /* flush console log */ sim_log 6123 src/simh/scp.c fflush (sim_log); sim_log 6159 src/simh/scp.c if (sim_log && (sim_log != stdout)) /* log if enabled */ sim_log 6160 src/simh/scp.c fprint_stopped (sim_log, r); sim_log 6161 src/simh/scp.c if (sim_deb && (sim_deb != stdout) && (sim_deb != sim_log))/* debug if enabled */ sim_log 6405 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6406 src/simh/scp.c ex_reg (sim_log, val, flag, rptr, idx-1); sim_log 6411 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6412 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 6416 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6417 src/simh/scp.c Fprintf (sim_log, "%s[%d]: same as above\n", rptr->name, val_start+1); sim_log 6426 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6427 src/simh/scp.c ex_reg (sim_log, val, flag, rptr, idx); sim_log 6440 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6441 src/simh/scp.c ex_reg (sim_log, val, flag, rptr, highs); sim_log 6446 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6447 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 6451 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6452 src/simh/scp.c Fprintf (sim_log, "%s[%d]: same as above\n", rptr->name, val_start+1); sim_log 6482 src/simh/scp.c if (sim_log && (ofile == stdout)) sim_log 6483 src/simh/scp.c ex_addr (sim_log, flag, i, dptr, uptr); sim_log 6608 src/simh/scp.c if (sim_log) sim_log 6609 src/simh/scp.c fprintf (sim_log, "%s\n", cptr? cptr: ""); sim_log 6827 src/simh/scp.c if (sim_log) sim_log 6828 src/simh/scp.c fprintf (sim_log, "%s\n", cptr? cptr: ""); sim_log 6907 src/simh/scp.c if (sim_log) { sim_log 6908 src/simh/scp.c if ((r = fprint_sym (sim_log, a, &sim_eval[i], dptr->units, sim_switches)) > 0) sim_log 6909 src/simh/scp.c r = fprint_val (sim_log, sim_eval[i], rdx, dptr->dwidth, PV_RZRO); sim_log 9911 src/simh/scp.c if (sim_log && (sim_log != stdout)) sim_log 9912 src/simh/scp.c fprintf (sim_log, "%s", buf); sim_log 9913 src/simh/scp.c if (sim_deb && (sim_deb != stdout) && (sim_deb != sim_log)) sim_log 9975 src/simh/scp.c if (sim_log && (sim_log != stdout) && !inhibit_message) sim_log 9976 src/simh/scp.c fprintf (sim_log, "%s", buf); sim_log 9977 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 1421 src/simh/sim_console.c if (sim_deb == sim_log) { /* debug is log */ sim_log 1653 src/simh/sim_console.c if (sim_log == NULL) /* any log? */ sim_log 1655 src/simh/sim_console.c *pf = sim_log; sim_log 1744 src/simh/sim_console.c if (sim_log) /* log file? */ sim_log 1745 src/simh/sim_console.c fflush (sim_log); sim_log 1778 src/simh/sim_console.c if (sim_log) /* log file? */ sim_log 1779 src/simh/sim_console.c fflush (sim_log); sim_log 1790 src/simh/sim_console.c if (sim_log) /* log file? */ sim_log 1791 src/simh/sim_console.c fflush (sim_log); sim_log 1801 src/simh/sim_console.c if (sim_log) /* log file? */ sim_log 1802 src/simh/sim_console.c fflush (sim_log); sim_log 1879 src/simh/sim_console.c if (sim_log) /* log file? */ sim_log 1880 src/simh/sim_console.c fputc (c, sim_log); sim_log 2005 src/simh/sim_console.c if (sim_log) { sim_log 2006 src/simh/sim_console.c fflush (sim_log); sim_log 2007 src/simh/sim_console.c _setmode (_fileno (sim_log), _O_BINARY); sim_log 2015 src/simh/sim_console.c if (sim_log) { sim_log 2016 src/simh/sim_console.c fflush (sim_log); sim_log 2017 src/simh/sim_console.c _setmode (_fileno (sim_log), _O_TEXT);