SDS, Sigma: Make sure breakpoint's don't advance sim_time
This commit is contained in:
parent
8eb36720bc
commit
c33abecf8b
2 changed files with 2 additions and 0 deletions
|
@ -452,6 +452,7 @@ while (reason == 0) { /* loop until halted */
|
||||||
reason = STOP_UBKPT; /* stop simulation */
|
reason = STOP_UBKPT; /* stop simulation */
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
sim_interval++; /* don't count non-executed instruction */
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -472,6 +472,7 @@ while (reason == 0) { /* loop until stop */
|
||||||
if (sim_brk_summ &&
|
if (sim_brk_summ &&
|
||||||
sim_brk_test (PC, SWMASK ('E'))) { /* breakpoint? */
|
sim_brk_test (PC, SWMASK ('E'))) { /* breakpoint? */
|
||||||
reason = STOP_IBKPT; /* stop simulation */
|
reason = STOP_IBKPT; /* stop simulation */
|
||||||
|
sim_interval++; /* don't count non-executed instruction */
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (PSW_QRX9 && (PC & PSW1_XA)) /* S9 real ext && ext? */
|
if (PSW_QRX9 && (PC & PSW1_XA)) /* S9 real ext && ext? */
|
||||||
|
|
Loading…
Add table
Reference in a new issue