diff --git a/fesvr/htif.cc b/fesvr/htif.cc index c64ce2ad..a2477c1e 100644 --- a/fesvr/htif.cc +++ b/fesvr/htif.cc @@ -92,13 +92,12 @@ void htif_t::start() fprintf(stderr, "Error: cannot execute %d-bit program on RV%d hart\n", err.actual_xlen, err.expected_xlen); exit(1); } + reset(); } else { auto empty_symbols = std::map(); load_symbols(empty_symbols); } } - - reset(); } static void bad_address(const std::string& situation, reg_t addr)