all repos — mgba @ baad7b50bd035aaa6217a804572b0c1b581a458f

mGBA Game Boy Advance Emulator

src/debugger.h (view raw)

 1#ifndef DEBUGGER_H
 2#define DEBUGGER_H
 3
 4enum DebuggerState {
 5	DEBUGGER_PAUSED,
 6	DEBUGGER_RUNNING,
 7	DEBUGGER_EXITING
 8};
 9
10struct ARMDebugger {
11	enum DebuggerState state;
12	struct ARMCore* cpu;
13
14	char* lastCommand;
15};
16
17void ARMDebuggerInit(struct ARMDebugger*, struct ARMCore*);
18void ARMDebuggerRun(struct ARMDebugger*);
19void ARMDebuggerEnter(struct ARMDebugger*);
20
21#endif