* symtab.h (struct symtab) <includes, user>: New fields.
[deliverable/binutils-gdb.git] / gdb / symtab.h
index 61e7c0fdb92f53dbd90f684f6e8c521b3fe0f2d0..526fe5a91bdf15d7b0e11ec9f4fb0003208304a4 100644 (file)
@@ -833,6 +833,23 @@ struct symtab
   /* struct call_site entries for this compilation unit or NULL.  */
 
   htab_t call_site_htab;
+
+  /* If non-NULL, then this points to a NULL-terminated vector of
+     included symbol tables.  When searching the static or global
+     block of this symbol table, the corresponding block of all
+     included symbol tables will also be searched.  Note that this
+     list must be flattened -- the symbol reader is responsible for
+     ensuring that this vector contains the transitive closure of all
+     included symbol tables.  */
+
+  struct symtab **includes;
+
+  /* If this is an included symbol table, this points to one includer
+     of the table.  This user is considered the canonical symbol table
+     containing this one.  An included symbol table may itself be
+     included by another.  */
+
+  struct symtab *user;
 };
 
 #define BLOCKVECTOR(symtab)    (symtab)->blockvector
This page took 0.025433 seconds and 4 git commands to generate.