2 #ifndef _DEBUG_INCLUDE_
3 #define _DEBUG_INCLUDE_
5 typedef struct DebugFile
7 int (*openFile)(char *file);
8 int (*closeFile)(void);
9 int (*writeModule)(char *name);
10 int (*writeFunction)(symbol *pSym, iCode *ic);
11 int (*writeEndFunction)(symbol *pSym, iCode *ic, int offset);
12 int (*writeLabel)(symbol *pSym, iCode *ic);
13 int (*writeScope)(iCode *ic);
14 int (*writeSymbol)(symbol *pSym);
15 int (*writeType)(structdef *sdef, int block, int inStruct, char *tag);
16 int (*writeCLine)(iCode *ic);
17 int (*writeALine)(char *module, int Line);
18 int (*writeFrameAddress)(char *variable, struct regs *reg, int offset);
21 extern DEBUGFILE *debugFile;
23 void outputDebugStackSymbols(void);
24 void outputDebugSymbols(void);
25 void dumpSymInfo(char *pcName, memmap *memItem);
26 void emitDebuggerSymbol (char * debugSym);