summaryrefslogtreecommitdiffstats
path: root/arch/arm-singlestep.c
diff options
context:
space:
mode:
authorMatt Hunter <m@lfurio.us>2025-08-24 07:10:14 -0400
committerMatt Hunter <m@lfurio.us>2025-09-07 06:41:16 -0400
commit4c31b8af05f5f388c1eea328a0ec69a6acb3a7f8 (patch)
tree9732cce7d4e6fe415056f1899e120342ad1b3fef /arch/arm-singlestep.c
parent4ea8ea650a1d81cf6362e1485d2fdce2617d8d8e (diff)
downloadmisplays-4c31b8af05f5f388c1eea328a0ec69a6acb3a7f8.tar.gz
misplays-4c31b8af05f5f388c1eea328a0ec69a6acb3a7f8.zip
Update detect_breakpoint() to better handle single stepping
A stopped thread should sometimes restart, even if a breakpoint interrupted a single step. detect_breakpoint() and its interaction with wait_thread() is updated such that any restart during a single step scenario properly "requeues" the thread's run intent, by preserving the doing/donext flags. Furthermore, detect_breakpoint() ditches its call to get_breakpoint() and considers any and all breakpoints impacting the current thread PC, since they may each suggest different restarting requirements. In effect, the thread will only remain stopped if at least one relevant breakpoint allows it to do so. This reverts commit 5589a9e3afd5 ("Ignore breakpoints during singlestep"). Signed-off-by: Matt Hunter <m@lfurio.us>
Diffstat (limited to 'arch/arm-singlestep.c')
0 files changed, 0 insertions, 0 deletions