From: Andrew Waterman Date: Fri, 12 Feb 2016 18:59:46 +0000 (-0800) Subject: Return to interactive mode after a trap X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=82b22f61c7e52eff8285d123a8cf9fd59df31425;p=riscv-isa-sim.git Return to interactive mode after a trap --- diff --git a/riscv/execute.cc b/riscv/execute.cc index 014055b..5c3fdf7 100644 --- a/riscv/execute.cc +++ b/riscv/execute.cc @@ -120,6 +120,7 @@ miss: catch(trap_t& t) { take_trap(t, pc); + n = instret; } state.minstret += instret;