Show pc on error

This commit is contained in:
Toby Jaffey 2025-12-11 01:10:12 +00:00
parent 1fa58ed800
commit 59e6ebfedf

View file

@ -193,6 +193,7 @@ int main(int argc, char *argv[]) {
} else { } else {
isrunning = false; isrunning = false;
memdump("host-ram.dump", vmst.memory, UVM32_MEMORY_SIZE); memdump("host-ram.dump", vmst.memory, UVM32_MEMORY_SIZE);
printf("memory dumped to host-ram.dump, pc=0x%08x\n", vmst.core.pc);
} }
break; break;
case UVM32_EVT_SYSCALL: case UVM32_EVT_SYSCALL: