From 6501c55e306f178587a2147f2165ef75270a70b0 Mon Sep 17 00:00:00 2001 From: xinyangli Date: Tue, 16 Jul 2024 10:06:08 +0800 Subject: [PATCH] fix: forget to setup difftest before gdbstub loop. --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 4fbb945..ec546ed 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -20,6 +20,8 @@ int main(int argc, char **argv) { Difftest difftest{std::move(dut), std::move(refs)}; + difftest.setup(config.memory_file); + gdbstub_loop(&difftest); return 0;