X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fld65%2Fdbgsyms.h;h=6a3e5cfa65cb0165b3650c15eef443de1e1226c9;hb=2fa9b6e5acbfea981887dd2824bc2e96e9ef6cfd;hp=3b2518a439ef30f36480235cb30bd6489dc72d53;hpb=76e67e2f971944cbca0f06642684ad1c45587e28;p=cc65 diff --git a/src/ld65/dbgsyms.h b/src/ld65/dbgsyms.h index 3b2518a43..6a3e5cfa6 100644 --- a/src/ld65/dbgsyms.h +++ b/src/ld65/dbgsyms.h @@ -63,8 +63,9 @@ struct DbgSym { ObjData* Obj; /* Object file that exports the name */ FilePos Pos; /* File position of definition */ ExprNode* Expr; /* Expression (0 if not def'd) */ - const char* Name; /* Name */ + 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 */ @@ -92,5 +101,3 @@ void PrintDbgSymLabels (ObjData* O, FILE* F); - -