mirror of
https://github.com/simh/simh.git
synced 2026-01-13 15:27:14 +00:00
SCP: Make output of SHOW commands also appear in debug output while debugging
This commit is contained in:
parent
9307fbdf54
commit
f602b132dd
4
scp.c
4
scp.c
@ -3985,8 +3985,10 @@ if (sim_ofile) { /* output file? */
|
||||
}
|
||||
else {
|
||||
r = show_cmd_fi (stdout, flag, cptr); /* no, stdout, log */
|
||||
if (sim_log)
|
||||
if (sim_log && (sim_log != stdout))
|
||||
show_cmd_fi (sim_log, flag, cptr);
|
||||
if (sim_deb && (sim_deb != stdout) && (sim_deb != sim_log))
|
||||
show_cmd_fi (sim_deb, flag, cptr);
|
||||
}
|
||||
return r;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user