Annotation of hatari/src/debug/symbols.h, revision 1.1.1.2

1.1       root        1: /*
                      2:  * Hatari - symbols.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: 
                      8: #ifndef HATARI_SYMBOLS_H
                      9: #define HATARI_SYMBOLS_H
                     10: 
                     11: typedef enum {
                     12:        SYMTYPE_TEXT = 1,
                     13:        SYMTYPE_DATA = 2,
                     14:        SYMTYPE_BSS  = 4,
                     15:        SYMTYPE_ALL  = SYMTYPE_TEXT|SYMTYPE_DATA|SYMTYPE_BSS
                     16: } symtype_t;
                     17: 
                     18: extern const char Symbols_Description[];
                     19: 
                     20: /* readline completion support functions for CPU */
                     21: extern char* Symbols_MatchCpuAddress(const char *text, int state);
                     22: extern char* Symbols_MatchCpuCodeAddress(const char *text, int state);
                     23: extern char* Symbols_MatchCpuDataAddress(const char *text, int state);
                     24: /* readline completion support functions for DSP */
                     25: extern char* Symbols_MatchDspAddress(const char *text, int state);
                     26: extern char* Symbols_MatchDspCodeAddress(const char *text, int state);
                     27: extern char* Symbols_MatchDspDataAddress(const char *text, int state);
                     28: /* symbol name -> address search */
                     29: extern bool Symbols_GetCpuAddress(symtype_t symtype, const char *name, Uint32 *addr);
                     30: extern bool Symbols_GetDspAddress(symtype_t symtype, const char *name, Uint32 *addr);
                     31: /* symbol address -> name search */
                     32: extern const char* Symbols_GetByCpuAddress(Uint32 addr);
                     33: extern const char* Symbols_GetByDspAddress(Uint32 addr);
                     34: /* symbols/dspsymbols command parsing */
                     35: extern int Symbols_Command(int nArgc, char *psArgs[]);
1.1.1.2 ! root       36: /* how many symbols are loaded */
        !            37: extern unsigned int Symbols_CpuCount(void);
        !            38: extern unsigned int Symbols_DspCount(void);
1.1       root       39: 
                     40: #endif

unix.superglobalmegacorp.com

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