From 82b22f61c7e52eff8285d123a8cf9fd59df31425 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Fri, 12 Feb 2016 10:59:46 -0800 Subject: [PATCH] Return to interactive mode after a trap --- riscv/execute.cc | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2