mirror of
https://github.com/open-simh/simh.git
synced 2026-01-14 07:40:35 +00:00
SDS: Add -f switch to Next command to force step-over mode
Add -f switch ("force") to the Next command to set the temporary breakpoints regardless of instruction type. This is useful at
the bottom of loops or to avoid going off into unrelated code should an interrupt or memory paging trap occur.
This commit is contained in:
parent
c4438e15f4
commit
2df2f33352
@ -1518,8 +1518,9 @@ uint32 inst;
|
||||
|
||||
reason = Read (P, &inst); /* get instr */
|
||||
if ((reason == SCPE_OK) &&
|
||||
((I_GETOP(inst) == BRM) || /* if BRM or */
|
||||
(I_POP & inst))) { /* POP or SYSPOP */
|
||||
((I_GETOP(inst) == BRM) || /* if BRM or */
|
||||
(I_POP & inst) || /* POP or SYSPOP or */
|
||||
(sim_switches & SWMASK('F')))) { /* Force switch */
|
||||
returns[0] = (P + 1) & VA_MASK;
|
||||
returns[1] = (P + 2) & VA_MASK;
|
||||
*ret_addrs = returns;
|
||||
|
||||
BIN
doc/sds_doc.doc
BIN
doc/sds_doc.doc
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user