Use 'ao-dbg' instead of 's51' to communicate with TeleMetrum
[fw/sdcc] / src / SDCCdebug.h
1
2 #ifndef _DEBUG_INCLUDE_
3 #define _DEBUG_INCLUDE_
4
5 typedef struct DebugFile
6 {
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);
19 }DEBUGFILE;
20
21 extern DEBUGFILE *debugFile;
22
23 void outputDebugStackSymbols(void);
24 void outputDebugSymbols(void);
25 void dumpSymInfo(char *pcName, memmap *memItem);
26 void emitDebuggerSymbol (char * debugSym);
27
28 #endif