--- hatari/src/debug/debug_priv.h 2019/04/09 08:53:04 1.1.1.3 +++ hatari/src/debug/debug_priv.h 2019/04/09 08:58:02 1.1.1.6 @@ -24,7 +24,10 @@ typedef struct /* Output file debugger output */ extern FILE *debugOutput; -extern void DebugUI_PrintCmdHelp(const char *psCmd); +extern int DebugUI_PrintCmdHelp(const char *psCmd); +extern int DebugUI_GetPageLines(int config, int defvalue); + +extern char *DebugUI_MatchHelper(const char **strings, int items, const char *text, int state); extern int DebugCpu_Init(const dbgcommand_t **table); extern void DebugCpu_InitSession(void); @@ -35,7 +38,7 @@ extern bool DebugUI_ParseFile(const char extern int DebugDsp_Init(const dbgcommand_t **table); extern void DebugDsp_InitSession(void); #else /* !ENABLE_DSP_EMU */ -static inline int DebugDsp_Init(const dbgcommand_t **t) { t = NULL; return 0; } +static inline int DebugDsp_Init(const dbgcommand_t **t) { *t = NULL; return 0; } #define DebugDsp_InitSession() #endif /* !ENABLE_DSP_EMU */