1
0
mirror of https://github.com/simh/simh.git synced 2026-04-25 03:34:34 +00:00

SCP: Added a Remote Console Master Mode.

This capability will allow a GDB RSB stub to be created to support dynamic debugging of code running in a simulator.

This capability will also allow a complete front panel emulation system to operate a simulator.

This capability is engaged in a simulator by:
     sim> set remote telnet=remoteconsoleport#
     sim> set console telnet=consoleport#
     sim> set remote master

Master mode will provide a TCP session which accepts SCP commands that allow full control of the simulator.
This commit is contained in:
Mark Pizzolato
2014-10-26 15:15:31 -07:00
parent 4dbac410da
commit 611a7e94f0
3 changed files with 296 additions and 97 deletions

View File

@@ -716,6 +716,11 @@ pager_tc = FALSE; /* not in trap cycle */
pflgs = 0; /* not in PXCT */
xct_cnt = 0; /* count XCT's */
if (sim_interval <= 0) { /* check clock queue */
/* make sure all useful state is in simh registers while processing events */
saved_PC = pager_PC & AMASK; /* failing instr PC */
set_ac_display (ac_cur); /* set up AC display */
pcq_r->qptr = pcq_p; /* update pc q ptr */
if ((i = sim_process_event ())) /* error? stop sim */
ABORT (i);
if (fe_xct)