SCP: Make repeated debug message summarization the default

The -F debug switch can now be used to avoid the repetitive message
summarization.  This will trade off debug log file size vs CPU cost to
summarize the output.
This commit is contained in:
Mark Pizzolato 2018-08-06 07:37:04 -07:00
parent a36c298f2b
commit a62789a505
2 changed files with 4 additions and 4 deletions

4
scp.c
View file

@ -1214,8 +1214,8 @@ static const char simh_help[] =
" The -D switch causes data blob output to also display the data as\n"
" RADIX-50 characters.\n"
"5-F\n"
" The -F switch causes duplicate successive lines of debug to be\n"
" summarized to reduce noise from the debug data stream.\n"
" The -F switch causes duplicate successive lines of debug NOT to be\n"
" summarized to reduce repetative noise from the debug data stream.\n"
"5-E\n"
" The -E switch causes data blob output to also display the data as\n"
" EBCDIC characters.\n"

View file

@ -2260,7 +2260,7 @@ if (!sim_quiet) {
if (sim_deb_switches & SWMASK ('A'))
sim_printf (" Debug messages display time of day as seconds.msec%s\n", sim_deb_switches & SWMASK ('R') ? " relative to the start of debugging" : "");
if (sim_deb_switches & SWMASK ('F'))
sim_printf (" Debug messages will be filtered to summarize duplicate lines\n");
sim_printf (" Debug messages will not be filtered to summarize duplicate lines\n");
if (sim_deb_switches & SWMASK ('E'))
sim_printf (" Debug messages containing blob data in EBCDIC will display in readable form\n");
time(&now);
@ -2307,7 +2307,7 @@ if (sim_deb) {
if (sim_deb_switches & SWMASK ('A'))
fprintf (st, " Debug messages display time of day as seconds.msec%s\n", sim_deb_switches & SWMASK ('R') ? " relative to the start of debugging" : "");
if (sim_deb_switches & SWMASK ('F'))
fprintf (st, " Debug messages will be filtered to summarize duplicate lines\n");
fprintf (st, " Debug messages are not being filtered to summarize duplicate lines\n");
if (sim_deb_switches & SWMASK ('E'))
fprintf (st, " Debug messages containing blob data in EBCDIC will display in readable form\n");
for (i = 0; (dptr = sim_devices[i]) != NULL; i++) {