1
0
mirror of https://github.com/simh/simh.git synced 2026-01-14 23:55:06 +00:00

SCP: Avoid excessive command context in debug output

This commit is contained in:
Mark Pizzolato 2022-05-12 13:13:34 -07:00
parent ad9249d4c1
commit 9da8f3ca52

4
scp.c
View File

@ -14005,7 +14005,7 @@ if (sim_do_ocptr[sim_do_depth]) {
sim_cmd_echoed = TRUE;
}
else {
if (sim_deb) { /* Always put context in debug output */
if (sim_deb && !sim_cmd_echoed) { /* Always put context in debug output */
TMLN *saved_oline = sim_oline;
sim_oline = NULL; /* avoid potential debug to active socket */
@ -16557,7 +16557,7 @@ if ((strcmp (gbuf, "ALL") == 0) || (strcmp (gbuf, "SCP") == 0)) {
return sim_messagef (SCPE_IERR, "SCP argument parsing test failed\n");
if (test_scp_event_sequencing () != SCPE_OK)
return sim_messagef (SCPE_IERR, "SCP event sequencing test failed\n");
}
}
for (i = 0; (dptr = sim_devices[i]) != NULL; i++) {
t_stat tstat = SCPE_OK;
t_bool was_disabled = ((dptr->flags & DEV_DIS) != 0);