* gdb.texinfo (Command Files): Mention -x, use @enumerate for
[deliverable/binutils-gdb.git] / gdb / symtab.h
index 86a119a115e32c5edc418a502fcf66511f7dcff5..dffb26ae068b0344ed3f54d94f705033ae66d972 100644 (file)
@@ -357,10 +357,21 @@ struct minimal_symbol
        mst_file_bss            /* Static version of mst_bss */
       }
     type BYTE_BITFIELD;
+
+    /* Minimal symbols with the same hash key are kept on a linked
+       list.  This is the link.  */
+
+    struct minimal_symbol *hash_next;
+
+    /* Minimal symbols are stored in two different hash tables.  This is
+       the `next' pointer for the demangled hash table.  */
+
+    struct minimal_symbol *demangled_hash_next;
   };
 
 #define MSYMBOL_INFO(msymbol)          (msymbol)->info
 #define MSYMBOL_TYPE(msymbol)          (msymbol)->type
+
 \f
 
 /* All of the name-scope contours of the program
@@ -826,7 +837,6 @@ struct section_offsets
   (sizeof (struct section_offsets) \
    + sizeof (((struct section_offsets *) 0)->offsets) * (SECT_OFF_MAX-1))
 
-
 /* Each source file or header is represented by a struct symtab. 
    These objects are chained through the `next' field.  */
 
@@ -854,7 +864,7 @@ struct symtab
     int block_line_section;
 
     /* If several symtabs share a blockvector, exactly one of them
-       should be designed the primary, so that the blockvector
+       should be designated the primary, so that the blockvector
        is relocated exactly once by objfile_relocate.  */
 
     int primary;
@@ -1219,10 +1229,18 @@ extern struct minimal_symbol *prim_record_minimal_symbol_and_info
 
 #ifdef SOFUN_ADDRESS_MAYBE_MISSING
 extern CORE_ADDR find_stab_function_addr PARAMS ((char *,
-                                                 struct partial_symtab *,
+                                                 char *,
                                                  struct objfile *));
 #endif
 
+extern unsigned int msymbol_hash_iw PARAMS ((const char *));
+
+extern unsigned int msymbol_hash PARAMS ((const char *));
+
+extern void
+add_minsym_to_hash_table (struct minimal_symbol *sym,
+                         struct minimal_symbol **table);
+
 extern struct minimal_symbol *
   lookup_minimal_symbol PARAMS ((const char *, const char *, struct objfile *));
 
@@ -1398,9 +1416,6 @@ extern struct symtab *
 extern void
 clear_solib PARAMS ((void));
 
-extern struct objfile *
-  symbol_file_add PARAMS ((char *, int, CORE_ADDR, int, int, int, int, int));
-
 /* source.c */
 
 extern int
This page took 0.023958 seconds and 4 git commands to generate.