mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-07-25 16:24:31 +00:00
Debugger: Fixed regression at prior commit dd274bc000
for bpm addr16 not triggering.
. Extended debugger regression tests to catch this (and test many other variants).
This commit is contained in:
@@ -1127,11 +1127,11 @@ int CheckBreakpointsIO ()
|
||||
int iTarget;
|
||||
int nAddress;
|
||||
|
||||
// bIgnoreNextOpcodeAddress = true:
|
||||
// bIncludeNextOpcodeAddress == false:
|
||||
// . JSR addr16: ignore addr16 as a target
|
||||
// . RTS/RTI : ignore return as a target
|
||||
_6502_GetTargets( regs.pc, &aTarget[0], &aTarget[1], &aTarget[2], &nBytes, true, true, true );
|
||||
|
||||
// . BRK/RTS/RTI: ignore return (or vector) addr16 as a target
|
||||
_6502_GetTargets( regs.pc, &aTarget[0], &aTarget[1], &aTarget[2], &nBytes, true, true, false );
|
||||
|
||||
if (nBytes)
|
||||
{
|
||||
for (iTarget = 0; iTarget < NUM_TARGETS; iTarget++ )
|
||||
|
Reference in New Issue
Block a user