1
0
mirror of https://github.com/simh/simh.git synced 2026-01-26 04:01:38 +00:00

SCP: Add a "-N" (new file) option to the SET LOG and SET DEBUG commands. From Dave Bryan.

This commit is contained in:
Mark Pizzolato
2014-12-17 20:07:28 -08:00
parent 03800ae725
commit 95740f1f2d
2 changed files with 10 additions and 1 deletions

6
scp.c
View File

@@ -970,6 +970,9 @@ static const char simh_help[] =
"+set log log_file specify the log destination\n"
"++++++++ (STDOUT,DEBUG or filename)\n"
"+set nolog disables any currently active logging\n"
"4Switches\n"
" By default, log output is written at the end of the specified log file.\n"
" A new log file can created if the -N switch is used on the command line.\n"
#define HLP_SET_DEBUG "*Commands SET Debug"
/***************** 80 character line width template *************************/
"3Debug\n"
@@ -994,6 +997,9 @@ static const char simh_help[] =
"5-P\n"
" The -P switch adds the output of the PC (Program Counter) to each debug\n"
" message.\n"
"5-N\n"
" The -N switch causes a new/empty file to be written to. The default\n"
" is to append to an existing debug log file.\n"
#define HLP_SET_BREAK "*Commands SET Breakpoints"
"3Breakpoints\n"
"+set break <list> set breakpoints\n"