Skip to content

Commit

Permalink
SCP: Add HELP info about debugging DO processing and expression evalu…
Browse files Browse the repository at this point in the history
…ation

- Removed incorrect addition of SCP related DEBUG flags to the CPU
  DEVICE debug options.
  • Loading branch information
markpizz committed May 15, 2020
1 parent 02fc4b0 commit 275cc41
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions scp.c
Original file line number Diff line number Diff line change
Expand Up @@ -2281,7 +2281,6 @@ static const char simh_help2[] =
" The IF and ASSERT commands evaluate five different forms of conditional\n"
" expressions.:\n\n"
"5C Style Simulator State Expressions\n"

" Comparisons can optionally be done with complete C style computational\n"
" expressions which leverage the C operations in the below table and can\n"
" optionally reference any combination of values that are constants or\n"
Expand Down Expand Up @@ -2364,6 +2363,19 @@ static const char simh_help2[] =
"++-F {NOT} \"<filespec1>\" == \"<filespec2>\" \n\n"
" Specifies a true (false {NOT}) condition if the indicated files\n"
" have the same contents.\n\n"
"5Debugging Expression Evaluation\n"
" Debug output can be produced which will walk through the details\n"
" involved during expression evaluation. This output can, for example,\n"
" be enabled as follows:\n\n"
"++sim> SET DEBUG STDOUT\n"
"++sim> SET SCP-PROCESS DEBUG=EXPSTACK - Expression Stack Activities\n"
"++sim> SET SCP-PROCESS DEBUG=EXPEVAL - Expression Evaluation Activities\n"
"3Debugging Do File Processing\n"
" Debug output can be produced which will walk through the details\n"
" involved during DO file proccessing. This output can, for example,\n"
" be enabled as follows:\n\n"
"++sim> SET DEBUG STDOUT\n"
"++sim> SET SCP-PROCESS DEBUG=DO - Debug Output DO processing\n"
/***************** 80 character line width template *************************/
#define HLP_EXIT "*Commands Exiting_The_Simulator"
"2Exiting The Simulator\n"
Expand Down Expand Up @@ -7303,8 +7315,6 @@ int32 old_sw = sim_switches;
sim_switches = SWMASK ('P');
r = reset_all (start);
sim_switches = old_sw;
if (sim_dflt_dev) /* Make sure that SCP debug options are available */
sim_add_debug_flags (sim_dflt_dev, scp_debug);
return r;
}

Expand Down

0 comments on commit 275cc41

Please sign in to comment.