Skip to content

Commit

Permalink
Also account for data address breakpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
Cacodemon345 committed Jan 14, 2024
1 parent 128a2f2 commit c3fa0fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ io_debug_check_addr(uint16_t addr)
}
}
if (set_trap)
trap = 4;
trap |= 4;
}

uint8_t
Expand Down
2 changes: 1 addition & 1 deletion src/mem/mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ mem_debug_check_addr(uint32_t addr, int write)
}
}
if (set_trap)
trap = 4;
trap |= 4;
}

int
Expand Down

0 comments on commit c3fa0fc

Please sign in to comment.