1
0
mirror of https://github.com/rkujawa/rk65c02.git synced 2024-06-01 05:41:27 +00:00
rk65c02/src/debug.h

20 lines
480 B
C
Raw Permalink Normal View History

2017-02-14 10:17:40 +00:00
#ifndef _DEBUG_H_
#define _DEBUG_H_
#include <stdint.h>
#include <stdbool.h>
#include "rk65c02.h"
2017-02-15 20:32:12 +00:00
#include "instruction.h"
2017-02-14 10:17:40 +00:00
bool debug_PC_is_breakpoint(rk65c02emu_t *);
bool debug_breakpoint_add(rk65c02emu_t *, uint16_t);
bool debug_breakpoint_remove(rk65c02emu_t *, uint16_t);
2017-02-15 20:32:12 +00:00
void debug_trace_set(rk65c02emu_t *, bool);
void debug_trace_savestate(rk65c02emu_t *, uint16_t, instrdef_t *, instruction_t *);
void debug_trace_print_all(rk65c02emu_t *);
2017-02-14 10:17:40 +00:00
#endif /* _DEBUG_H_ */