aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-12-23 07:28:28 -0800
committerDoug Evans <xdje42@gmail.com>2014-12-23 07:28:28 -0800
commit38bf1463f46546a9d839ce87146f71a7d2a62638 (patch)
tree33fdfc12e5609261c9cbebaff10e11336e894e1f /gdb
parentf606139ae8aa873f6294aaf3bf599d18c3025023 (diff)
downloadfsf-binutils-gdb-38bf1463f46546a9d839ce87146f71a7d2a62638.zip
fsf-binutils-gdb-38bf1463f46546a9d839ce87146f71a7d2a62638.tar.gz
fsf-binutils-gdb-38bf1463f46546a9d839ce87146f71a7d2a62638.tar.bz2
initialize_objfile_symbol: Renamed from initialize_symbol.
gdb/ChangeLog: * symtab.c (initialize_objfile_symbol): Renamed from initialize_symbol. All callers updated.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/symtab.c2
-rw-r--r--gdb/symtab.h2
-rw-r--r--gdb/xcoffread.c2
4 files changed, 8 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 28356b8..560ea90 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 7d2cde5..e7cd5af 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -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;
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 57ed9fc..3a3384d 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -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 *);
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index 49827b6..5a1d7a8f 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -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;