src/debugger/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 struct DebugBreakpoint* breakpoints;
16};
17
18void ARMDebuggerInit(struct ARMDebugger*, struct ARMCore*);
19void ARMDebuggerRun(struct ARMDebugger*);
20void ARMDebuggerEnter(struct ARMDebugger*);
21
22#endif