From c2366d61ff6e228cb3242993d457ff115cd98c91 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Tue, 18 Feb 2014 21:37:31 -0800 Subject: Initial work on the x86-32 target --- debug.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'debug.c') diff --git a/debug.c b/debug.c index aa0cb7f..b3d1aca 100644 --- a/debug.c +++ b/debug.c @@ -82,6 +82,8 @@ void strip_nl(char * buf) } } +#ifdef X86_64 + void zdebugger_print(z80_context * context, char format_char, char * param) { uint32_t value; @@ -460,6 +462,8 @@ z80_context * zdebugger(z80_context * context, uint16_t address) return context; } +#endif + m68k_context * debugger(m68k_context * context, uint32_t address) { static char last_cmd[1024]; @@ -701,6 +705,7 @@ m68k_context * debugger(m68k_context * context, uint32_t address) } break; } +#ifdef X86_64 case 'z': { genesis_context * gen = context->system; //Z80 debug commands @@ -731,6 +736,7 @@ m68k_context * debugger(m68k_context * context, uint32_t address) } break; } +#endif case 'q': puts("Quitting"); exit(0); -- cgit v1.2.3