diff options
Diffstat (limited to 'riscv/insns/dret.h')
-rw-r--r-- | riscv/insns/dret.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/riscv/insns/dret.h b/riscv/insns/dret.h index 6cfd1e2..35c19cb 100644 --- a/riscv/insns/dret.h +++ b/riscv/insns/dret.h @@ -4,3 +4,6 @@ p->set_privilege(STATE.dcsr.prv); /* We're not in Debug Mode anymore. */ STATE.dcsr.cause = 0; + +if (STATE.dcsr.step) + STATE.single_step = STATE.STEP_STEPPING; |