fix: forget to setup difftest before gdbstub loop.

This commit is contained in:
xinyangli 2024-07-16 10:06:08 +08:00
parent 5de642f998
commit 6501c55e30
Signed by: xin
SSH key fingerprint: SHA256:qZ/tzd8lYRtUFSrfBDBMcUqV4GHKxqeqRA3huItgvbk

View file

@ -20,6 +20,8 @@ int main(int argc, char **argv) {
Difftest difftest{std::move(dut), std::move(refs)}; Difftest difftest{std::move(dut), std::move(refs)};
difftest.setup(config.memory_file);
gdbstub_loop(&difftest); gdbstub_loop(&difftest);
return 0; return 0;