Annotation of hatari/src/debug/debugui.h, revision 1.1.1.4

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,
                     28:        REASON_USER        // e.g. keyboard shortcut
                     29: } debug_reason_t;
                     30: 
1.1       root       31: /* Whether CPU exceptions invoke DebugUI */
                     32: extern int bExceptionDebugging;
                     33: 
                     34: extern void DebugUI_Init(void);
1.1.1.3   root       35: extern void DebugUI(debug_reason_t reason);
1.1.1.4 ! root       36: extern bool DebugUI_ParseLine(const char *input);
1.1       root       37: extern bool DebugUI_SetParseFile(const char *input);
                     38: extern void DebugUI_MemorySnapShot_Capture(const char *path, bool bSave);
                     39: 
                     40: #endif /* HATARI_DEBUGUI_H */

unix.superglobalmegacorp.com

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