mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-06 06:53:39 +00:00
Show pc on error
This commit is contained in:
parent
1fa58ed800
commit
59e6ebfedf
1 changed files with 1 additions and 0 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue