From 3f8fd3720d38bded32fdf88ed3824f9c8745a4a7 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Mon, 24 Apr 2017 20:49:31 -0700 Subject: Fix interaction between 68K debugger and instruction retranslation due to self modifying code or bank switching --- gdb_remote.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gdb_remote.c') 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 -- cgit v1.2.3