diff options
author | Michael Pavone <pavone@retrodev.com> | 2017-04-24 20:49:31 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2017-04-24 20:49:31 -0700 |
commit | 3f8fd3720d38bded32fdf88ed3824f9c8745a4a7 (patch) | |
tree | a89fd02a712b39a83eee336471a3752f5bb5797f /gdb_remote.c | |
parent | 8d362430c6785dcc4b9ed3a7a97acba8ebb15950 (diff) |
Fix interaction between 68K debugger and instruction retranslation due to self modifying code or bank switching
Diffstat (limited to 'gdb_remote.c')
-rw-r--r-- | gdb_remote.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb_remote.c b/gdb_remote.c index d862124..17929f8 100644 --- a/gdb_remote.c +++ b/gdb_remote.c @@ -474,7 +474,7 @@ not_impl: 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 @@ m68k_context * gdb_debug_enter(m68k_context * context, uint32_t pc) curbuf = NULL; } } - return context; } #ifdef _WIN32 |