mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-18 12:10:12 -08:00
correctly roll-back late-hits for int3s
This commit is contained in:
1 parent
f65cf5436e
commit
2512d07c72
1 file changed
+1
-1
@@ -1981,7 +1981,7 @@ dmn_ctrl_run(Arena *arena, DMN_CtrlCtx *ctx, DMN_RunCtrls *ctrls)
|
||||
}
|
||||
|
||||
//- rjf: determine whether to roll back instruction pointer
|
||||
B32 should_do_rollback = (hit_user_trap);
|
||||
B32 should_do_rollback = (hit_user_trap || (is_trap && !hit_explicit_trap));
|
||||
|
||||
//- rjf: roll back thread's instruction pointer
|
||||
U64 post_trap_rip = 0;
|
||||
|
||||
Reference in new issue
Block a user