SCP: Make output of SHOW commands also appear in debug output while debugging
This commit is contained in:
parent
9307fbdf54
commit
f602b132dd
1 changed files with 3 additions and 1 deletions
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…
Add table
Reference in a new issue