Mercurial > repos > blastem
view debug.h @ 558:dc9f178085a0
Use a typedef code_ptr in place of uint8_t * in 68K core to better support host instruction sets with different instruction word sizes. Make x86_68k_options contain a cpu_options so that gen_mem_fun can eventually be shared with the Z80 core.
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 24 Feb 2014 01:30:16 -0800 |
parents | fb39534b6604 |
children | 9b7fcf748be0 |
line wrap: on
line source
#ifndef DEBUG_H_ #define DEBUG_H_ #include <stdint.h> #include "m68k_to_x86.h" typedef struct disp_def { struct disp_def * next; char * param; uint32_t index; char format_char; } disp_def; typedef struct bp_def { struct bp_def * next; uint32_t address; uint32_t index; } bp_def; bp_def ** find_breakpoint(bp_def ** cur, uint32_t address); bp_def ** find_breakpoint_idx(bp_def ** cur, uint32_t index); void add_display(disp_def ** head, uint32_t *index, char format_char, char * param); void remove_display(disp_def ** head, uint32_t index); m68k_context * debugger(m68k_context * context, uint32_t address); #endif //DEBUG_H_