--- hatari/src/includes/debugui.h 2019/04/01 07:09:28 1.1.1.1 +++ hatari/src/includes/debugui.h 2019/04/09 08:47:20 1.1.1.4 @@ -1,6 +1,28 @@ /* - Hatari + Hatari - debugui.h + + This file is distributed under the GNU Public License, version 2 or at + your option any later version. Read the file gpl.txt for details. */ +#ifndef HATARI_DEBUGUI_H +#define HATARI_DEBUGUI_H + +/* DebugUI_ParseCommand() return values */ +enum { + DEBUGGER_END, // Leave debugger + DEBUGGER_CMDCONT, // Command can continue + DEBUGGER_CMDDONE // Command done +}; + +/* Whether CPU exceptions invoke DebugUI */ +extern int bExceptionDebugging; + +extern void DebugUI(void); +extern int DebugUI_ParseCommand(char *input); +extern int DebugUI_GetCpuRegisterAddress(const char *reg, Uint32 **addr); +extern void DebugUI_CpuCheck(void); +extern void DebugUI_DspCheck(void); +extern void DebugUI_MemorySnapShot_Capture(bool bSave); -extern void DebugUI(); +#endif /* HATARI_DEBUGUI_H */