fix htif interaction with interactive mode
[riscv-isa-sim.git] / riscv / interactive.cc
index a81e2f2e73fcb6bbbe0f73adb1ba04f252afd2b9..5ba6d234b03711b95c2a095427d8c20405df85ee 100644 (file)
@@ -242,8 +242,6 @@ void sim_t::interactive_until(const std::string& cmd, const std::vector<std::str
       current = get_pc(args2);
     else if(scmd == "mem")
       current = get_mem(args2);
-    else if(scmd == "tohost")
-      current = tohost;
     else
       return;