]> Shamusworld >> Repos - rmac/blobdiff - symbol.h
Add NewDebugSymbol(): stabs symbol factory
[rmac] / symbol.h
index 1a27a6b02736f42a52abe311461bcc1242a4d48a..c10d71b189f080c64c14541f66806959566510b7 100644 (file)
--- a/symbol.h
+++ b/symbol.h
@@ -37,6 +37,9 @@ SYM
        LLIST * last;                   // * -> end of macro linked list
        uint16_t cfileno;               // File the macro is defined in
        uint32_t uid;                   // Symbol's unique ID
+       uint8_t st_type;                // stabs debug symbol's "type" field
+       uint8_t st_other;               // stabs debug symbol's "other" field
+       uint16_t st_desc;               // stabs debug symbol's "description" field
 };
 
 // Exported variables
@@ -54,6 +57,7 @@ uint32_t AssignSymbolNos(uint8_t *, uint8_t *(*)());
 uint32_t AssignSymbolNosELF(uint8_t *, uint8_t *(*)());
 void DumpLODSymbols(void);
 uint8_t * GetSymbolNameByUID(uint32_t);
+SYM * NewDebugSymbol(uint8_t *, uint8_t, uint8_t, uint16_t);
 
 #endif // __SYMBOL_H__