]> git.sur5r.net Git - cc65/blobdiff - src/ld65/dbgsyms.h
Improved code generation
[cc65] / src / ld65 / dbgsyms.h
index 5483116feaafc959253a2cc78b2cbd9a54ebcf34..6a3e5cfa65cb0165b3650c15eef443de1e1226c9 100644 (file)
@@ -65,6 +65,7 @@ struct DbgSym {
     ExprNode*                  Expr;           /* Expression (0 if not def'd) */
     unsigned            Name;                  /* Name */
     unsigned char      Type;           /* Type of symbol */
+    unsigned char       AddrSize;       /* Address size of symbol */
 };
 
 
@@ -81,6 +82,14 @@ DbgSym* ReadDbgSym (FILE* F, ObjData* Obj);
 long GetDbgSymVal (DbgSym* D);
 /* Get the value of this symbol */
 
+void ClearDbgSymTable (void);
+/* Clear the debug symbol table. Must be called before outputting debug syms
+ * or debug labels the first time.
+ */
+
+void PrintDbgSyms (ObjData* O, FILE* F);
+/* Print the debug symbols in a debug file */
+
 void PrintDbgSymLabels (ObjData* O, FILE* F);
 /* Print the debug symbols in a VICE label file */