From: uz Date: Mon, 29 Aug 2011 18:55:29 +0000 (+0000) Subject: Added an offset field to the high level language symbol definition. X-Git-Tag: V2.13.3~182 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=314476de27b1e21cd830d9e28c2e96d191f40bb5;p=cc65 Added an offset field to the high level language symbol definition. git-svn-id: svn://svn.cc65.org/cc65/trunk@5280 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/common/hldbgsym.h b/src/common/hldbgsym.h index 425b35a99..68f328f4f 100644 --- a/src/common/hldbgsym.h +++ b/src/common/hldbgsym.h @@ -51,7 +51,7 @@ /*****************************************************************************/ - + /* Flag bits that tell something about the symbol */ #define HL_TYPE_FUNC 0x0000U /* Function */ #define HL_TYPE_SYM 0x0001U /* Symbol */ @@ -74,6 +74,7 @@ struct HLDbgSym { unsigned Flags; /* See above */ unsigned Name; /* String id of name */ unsigned AsmName; /* String id of assembler name */ + int Offs; /* Offset if any */ unsigned Type; /* String id of type */ unsigned ScopeId; /* Id of parent scope */ };