initialize_objfile_symbol: Renamed from initialize_symbol.
gdb/ChangeLog: * symtab.c (initialize_objfile_symbol): Renamed from initialize_symbol. All callers updated.
This commit is contained in:
parent
f606139ae8
commit
38bf1463f4
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2014-12-23 Doug Evans <xdje42@gmail.com>
|
||||||
|
|
||||||
* language.h (struct language_defn) <la_lookup_symbol_nonlocal>:
|
* language.h (struct language_defn) <la_lookup_symbol_nonlocal>:
|
||||||
|
|
|
@ -5316,7 +5316,7 @@ initialize_ordinary_address_classes (void)
|
||||||
/* Initialize the symbol SYM. */
|
/* Initialize the symbol SYM. */
|
||||||
|
|
||||||
void
|
void
|
||||||
initialize_symbol (struct symbol *sym)
|
initialize_objfile_symbol (struct symbol *sym)
|
||||||
{
|
{
|
||||||
memset (sym, 0, sizeof (*sym));
|
memset (sym, 0, sizeof (*sym));
|
||||||
SYMBOL_SECTION (sym) = -1;
|
SYMBOL_SECTION (sym) = -1;
|
||||||
|
|
|
@ -1571,7 +1571,7 @@ struct cleanup *demangle_for_lookup (const char *name, enum language lang,
|
||||||
|
|
||||||
struct symbol *allocate_symbol (struct objfile *);
|
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 *);
|
struct template_symbol *allocate_template_symbol (struct objfile *);
|
||||||
|
|
||||||
|
|
|
@ -1559,7 +1559,7 @@ process_xcoff_symbol (struct coff_symbol *cs, struct objfile *objfile)
|
||||||
if (name[0] == '.')
|
if (name[0] == '.')
|
||||||
++name;
|
++name;
|
||||||
|
|
||||||
initialize_symbol (sym);
|
initialize_objfile_symbol (sym);
|
||||||
|
|
||||||
/* default assumptions */
|
/* default assumptions */
|
||||||
SYMBOL_VALUE_ADDRESS (sym) = cs->c_value + off;
|
SYMBOL_VALUE_ADDRESS (sym) = cs->c_value + off;
|
||||||
|
|
Loading…
Reference in New Issue