riscvarchive / riscv-qemu

QEMU with RISC-V (RV64G, RV32G) Emulation Support
384 stars 154 forks source link

Add option to dump register state on simulation exit #161

Open michaeljclark opened 5 years ago

michaeljclark commented 5 years ago

Code already exists to dump register state. The SiFive Test Finisher MMIO device and HTIF exit would need to be modified to cause the machine state to be dumped depending on invocations options.