Annotation of hatari/src/debug/debug_priv.h, revision 1.1.1.6

1.1       root        1: /*
                      2:   Hatari - debug.h
                      3: 
1.1.1.3   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:   Internal header used by debugger files.
                      8: */
                      9: #ifndef HATARI_DEBUG_PRIV_H
                     10: #define HATARI_DEBUG_PRIV_H
                     11: 
                     12: /* DebugUI command structure */
                     13: typedef struct
                     14: {
                     15:        int (*pFunction)(int argc, char *argv[]);
                     16:        char* (*pMatch)(const char *, int);
                     17:        const char *sLongName;
                     18:        const char *sShortName;
                     19:        const char *sShortDesc;
                     20:        const char *sUsage;
                     21:        bool bNoParsing;
                     22: } dbgcommand_t;
                     23: 
                     24: /* Output file debugger output */
                     25: extern FILE *debugOutput;
                     26: 
1.1.1.4   root       27: extern int DebugUI_PrintCmdHelp(const char *psCmd);
1.1.1.6 ! root       28: extern int DebugUI_GetPageLines(int config, int defvalue);
1.1.1.4   root       29: 
                     30: extern char *DebugUI_MatchHelper(const char **strings, int items, const char *text, int state);
1.1       root       31: 
                     32: extern int DebugCpu_Init(const dbgcommand_t **table);
                     33: extern void DebugCpu_InitSession(void);
                     34: 
1.1.1.3   root       35: extern bool DebugUI_ParseFile(const char *path, bool reinit);
                     36: 
1.1       root       37: #ifdef ENABLE_DSP_EMU
                     38: extern int DebugDsp_Init(const dbgcommand_t **table);
                     39: extern void DebugDsp_InitSession(void);
                     40: #else /* !ENABLE_DSP_EMU */
1.1.1.5   root       41: static inline int DebugDsp_Init(const dbgcommand_t **t) { *t = NULL; return 0; }
1.1       root       42: #define DebugDsp_InitSession()
                     43: #endif /* !ENABLE_DSP_EMU */
                     44: 
                     45: #endif /* HATARI_DEBUG_PRIV_H */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.