From 314476de27b1e21cd830d9e28c2e96d191f40bb5 Mon Sep 17 00:00:00 2001 From: uz Date: Mon, 29 Aug 2011 18:55:29 +0000 Subject: [PATCH] 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 --- src/common/hldbgsym.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ }; -- 2.39.5