From: Toni Wilen Date: Sun, 16 Nov 2025 11:43:15 +0000 (+0200) Subject: Include memory map dump in log if JIT causes unexpected exception X-Git-Tag: 6020~61 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=63e00a91fd4f94f4959c2bab331a1a5bff6334b3;p=francis%2Fwinuae.git Include memory map dump in log if JIT causes unexpected exception --- diff --git a/newcpu.cpp b/newcpu.cpp index 4e7030cf..d1b7eed5 100644 --- a/newcpu.cpp +++ b/newcpu.cpp @@ -5633,6 +5633,9 @@ static void m68k_run_jit(void) // Without this it would have crashed in any case.. uaecptr pc = M68K_GETPC; write_log(_T("Unhandled JIT exception! PC=%08x\n"), pc); +#ifdef DEBUGGER + memory_map_dump(); +#endif if (pc & 1) Exception(3); else