mirror of
https://github.com/simh/simh.git
synced 2026-01-25 19:56:25 +00:00
SCP: Fix remote console command table ordering to have STEP near the beginning
This allowed user entered S to match the SAMPLEOUT command instead of STEP. That then identified a bug in the intended socket output processing to attempt to be written to the undefined debug file. As discussed in #854
This commit is contained in:
@@ -772,11 +772,11 @@ static CTAB allowed_master_remote_cmds[] = {
|
||||
{ "ASSIGN", &assign_cmd, 0 },
|
||||
{ "DEASSIGN", &deassign_cmd, 0 },
|
||||
{ "CONTINUE", &x_continue_cmd, 0 },
|
||||
{ "STEP", &x_step_cmd, 0 },
|
||||
{ "REPEAT", &x_repeat_cmd, 0 },
|
||||
{ "COLLECT", &x_collect_cmd, 0 },
|
||||
{ "SAMPLEOUT",&x_sampleout_cmd, 0 },
|
||||
{ "EXECUTE", &x_execute_cmd, 0 },
|
||||
{ "STEP", &x_step_cmd, 0 },
|
||||
{ "PWD", &pwd_cmd, 0 },
|
||||
{ "SAVE", &save_cmd, 0 },
|
||||
{ "CD", &set_default_cmd, 0 },
|
||||
|
||||
Reference in New Issue
Block a user