Mercurial > repos > blastem
diff gdb_remote.c @ 1329:85a90964b557
Fix interaction between 68K debugger and instruction retranslation due to self modifying code or bank switching
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 24 Apr 2017 20:49:31 -0700 |
parents | 42fb3ee1e92c |
children | ded16f3d7eb4 d6d4c006a7b3 |
line wrap: on
line diff
--- a/gdb_remote.c Sun Apr 23 00:54:33 2017 -0700 +++ b/gdb_remote.c Mon Apr 24 20:49:31 2017 -0700 @@ -474,7 +474,7 @@ fatal_error("Command %s is not implemented, exiting...\n", command); } -m68k_context * gdb_debug_enter(m68k_context * context, uint32_t pc) +void gdb_debug_enter(m68k_context * context, uint32_t pc) { dfprintf(stderr, "Entered debugger at address %X\n", pc); if (expect_break_response) { @@ -556,7 +556,6 @@ curbuf = NULL; } } - return context; } #ifdef _WIN32