initialize_objfile_symbol: Renamed from initialize_symbol.
authorDoug Evans <xdje42@gmail.com>
Tue, 23 Dec 2014 15:28:28 +0000 (07:28 -0800)
committerDoug Evans <xdje42@gmail.com>
Tue, 23 Dec 2014 15:28:28 +0000 (07:28 -0800)
gdb/ChangeLog:

* symtab.c (initialize_objfile_symbol): Renamed from initialize_symbol.
All callers updated.

gdb/ChangeLog
gdb/symtab.c
gdb/symtab.h
gdb/xcoffread.c

index 28356b8..560ea90 100644 (file)
@@ -1,5 +1,10 @@
 2014-12-23  Doug Evans  <xdje42@gmail.com>
 
+       * symtab.c (initialize_objfile_symbol): Renamed from initialize_symbol.
+       All callers updated.
+
+2014-12-23  Doug Evans  <xdje42@gmail.com>
+
        * language.h (struct language_defn) <la_lookup_symbol_nonlocal>:
        New arg language_defn.  All uses updated.
 
index 7d2cde5..e7cd5af 100644 (file)
@@ -5316,7 +5316,7 @@ initialize_ordinary_address_classes (void)
 /* Initialize the symbol SYM.  */
 
 void
-initialize_symbol (struct symbol *sym)
+initialize_objfile_symbol (struct symbol *sym)
 {
   memset (sym, 0, sizeof (*sym));
   SYMBOL_SECTION (sym) = -1;
index 57ed9fc..3a3384d 100644 (file)
@@ -1571,7 +1571,7 @@ struct cleanup *demangle_for_lookup (const char *name, enum language lang,
 
 struct symbol *allocate_symbol (struct objfile *);
 
-void initialize_symbol (struct symbol *);
+void initialize_objfile_symbol (struct symbol *);
 
 struct template_symbol *allocate_template_symbol (struct objfile *);
 
index 49827b6..5a1d7a8 100644 (file)
@@ -1559,7 +1559,7 @@ process_xcoff_symbol (struct coff_symbol *cs, struct objfile *objfile)
   if (name[0] == '.')
     ++name;
 
-  initialize_symbol (sym);
+  initialize_objfile_symbol (sym);
 
   /* default assumptions */
   SYMBOL_VALUE_ADDRESS (sym) = cs->c_value + off;