|
|
1.1 root 1: /*
2: Hatari - debugui.h
3:
1.1.1.4 root 4: This file is distributed under the GNU General Public License, version 2
5: or at your option any later version. Read the file gpl.txt for details.
1.1 root 6:
7: Public debugger UI header file.
8: */
9:
10: #ifndef HATARI_DEBUGUI_H
11: #define HATARI_DEBUGUI_H
12:
13: /* DebugUI_ParseCommand() return values */
14: enum {
15: DEBUGGER_END, // Leave debugger
16: DEBUGGER_CMDCONT, // Command can continue
17: DEBUGGER_CMDDONE // Command done
18: };
19:
1.1.1.3 root 20: typedef enum {
21: REASON_NONE, // uninitialized
22: REASON_CPU_EXCEPTION,
1.1.1.4 root 23: REASON_DSP_EXCEPTION,
1.1.1.3 root 24: REASON_CPU_BREAKPOINT,
25: REASON_DSP_BREAKPOINT,
26: REASON_CPU_STEPS,
27: REASON_DSP_STEPS,
1.1.1.6 ! root 28: REASON_PROGRAM,
1.1.1.3 root 29: REASON_USER // e.g. keyboard shortcut
30: } debug_reason_t;
31:
1.1 root 32: extern void DebugUI_Init(void);
1.1.1.3 root 33: extern void DebugUI(debug_reason_t reason);
1.1.1.5 root 34: extern void DebugUI_Exceptions(int nr, long pc);
1.1.1.4 root 35: extern bool DebugUI_ParseLine(const char *input);
1.1 root 36: extern bool DebugUI_SetParseFile(const char *input);
37: extern void DebugUI_MemorySnapShot_Capture(const char *path, bool bSave);
38:
39: #endif /* HATARI_DEBUGUI_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.