From 620e67ebf28ae81fad55e0381a7816d87bf69f99 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Mon, 27 Feb 2023 14:22:51 -0800 Subject: Return periodically from interactive_run and interactive_until This avoids stalling the HTIF. --- riscv/interactive.cc | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/riscv/interactive.cc b/riscv/interactive.cc index d7ef42a..e0db1c9 100644 --- a/riscv/interactive.cc +++ b/riscv/interactive.cc @@ -402,9 +402,16 @@ void sim_t::interactive_run(const std::string& cmd, const std::vector& args) -- cgit v1.1