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

1.1     ! root        1: /*
        !             2:   Hatari - debug.h
        !             3: 
        !             4:   This file is distributed under the GNU Public License, version 2 or at
        !             5:   your option any later version. Read the file gpl.txt for details.
        !             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: 
        !            27: extern void DebugUI_PrintCmdHelp(const char *psCmd);
        !            28: 
        !            29: extern void DebugCpu_SetDebugging(void);
        !            30: extern int DebugCpu_Init(const dbgcommand_t **table);
        !            31: extern void DebugCpu_InitSession(void);
        !            32: 
        !            33: #ifdef ENABLE_DSP_EMU
        !            34: extern void DebugDsp_SetDebugging(void);
        !            35: extern int DebugDsp_Init(const dbgcommand_t **table);
        !            36: extern void DebugDsp_InitSession(void);
        !            37: #else /* !ENABLE_DSP_EMU */
        !            38: #define DebugDsp_SetDebugging()
        !            39: static inline int DebugDsp_Init(const dbgcommand_t **t) { t = NULL; return 0; }
        !            40: #define DebugDsp_InitSession()
        !            41: #endif /* !ENABLE_DSP_EMU */
        !            42: 
        !            43: #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.