1
0
mirror of https://github.com/simh/simh.git synced 2026-02-01 06:13:34 +00:00

SCP: Allow the presence of DEVICE DEBTAB array to imply the DEV_DEBUG flag

This commit is contained in:
Mark Pizzolato
2017-06-07 18:56:06 -07:00
parent 921c012784
commit c470d1e5e2
3 changed files with 6 additions and 6 deletions

View File

@@ -2206,7 +2206,7 @@ if (sim_deb) {
fprintf (st, " Debug messages display time of day as seconds.msec%s\n", sim_deb_switches & SWMASK ('R') ? " relative to the start of debugging" : "");
for (i = 0; (dptr = sim_devices[i]) != NULL; i++) {
if (!(dptr->flags & DEV_DIS) &&
(dptr->flags & DEV_DEBUG) &&
((dptr->flags & DEV_DEBUG) || (dptr->debflags)) &&
(dptr->dctrl)) {
fprintf (st, "Device: %-6s ", dptr->name);
show_dev_debug (st, dptr, NULL, 0, NULL);
@@ -2214,7 +2214,7 @@ if (sim_deb) {
}
for (i = 0; sim_internal_device_count && (dptr = sim_internal_devices[i]); ++i) {
if (!(dptr->flags & DEV_DIS) &&
(dptr->flags & DEV_DEBUG) &&
((dptr->flags & DEV_DEBUG) || (dptr->debflags)) &&
(dptr->dctrl)) {
fprintf (st, "Device: %-6s ", dptr->name);
show_dev_debug (st, dptr, NULL, 0, NULL);