lookup_symbol_in_block: Renamed from lookup_symbol_aux_block.
gdb/ChangeLog: * symtab.c (lookup_symbol_in_block): Renamed from lookup_symbol_aux_block. All callers updated.
This commit is contained in:
parent
24d864bb95
commit
d1a2d36d58
|
@ -1,3 +1,8 @@
|
||||||
|
2014-11-06 Doug Evans <xdje42@gmail.com>
|
||||||
|
|
||||||
|
* symtab.c (lookup_symbol_in_block): Renamed from
|
||||||
|
lookup_symbol_aux_block. All callers updated.
|
||||||
|
|
||||||
2014-11-06 Doug Evans <xdje42@gmail.com>
|
2014-11-06 Doug Evans <xdje42@gmail.com>
|
||||||
|
|
||||||
* symtab.c (lookup_static_symbol): Renamed from
|
* symtab.c (lookup_static_symbol): Renamed from
|
||||||
|
|
|
@ -628,7 +628,7 @@ lookup_symbol_file (const char *name,
|
||||||
const struct block *global_block = block_global_block (block);
|
const struct block *global_block = block_global_block (block);
|
||||||
|
|
||||||
if (global_block != NULL)
|
if (global_block != NULL)
|
||||||
sym = lookup_symbol_aux_block (name, global_block, domain);
|
sym = lookup_symbol_in_block (name, global_block, domain);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -1515,7 +1515,7 @@ lookup_symbol_aux_local (const char *name, const struct block *block,
|
||||||
|
|
||||||
while (block != static_block)
|
while (block != static_block)
|
||||||
{
|
{
|
||||||
sym = lookup_symbol_aux_block (name, block, domain);
|
sym = lookup_symbol_in_block (name, block, domain);
|
||||||
if (sym != NULL)
|
if (sym != NULL)
|
||||||
return sym;
|
return sym;
|
||||||
|
|
||||||
|
@ -1567,7 +1567,7 @@ lookup_objfile_from_block (const struct block *block)
|
||||||
/* See symtab.h. */
|
/* See symtab.h. */
|
||||||
|
|
||||||
struct symbol *
|
struct symbol *
|
||||||
lookup_symbol_aux_block (const char *name, const struct block *block,
|
lookup_symbol_in_block (const char *name, const struct block *block,
|
||||||
const domain_enum domain)
|
const domain_enum domain)
|
||||||
{
|
{
|
||||||
struct symbol *sym;
|
struct symbol *sym;
|
||||||
|
@ -1808,7 +1808,7 @@ lookup_symbol_in_static_block (const char *name,
|
||||||
const struct block *static_block = block_static_block (block);
|
const struct block *static_block = block_static_block (block);
|
||||||
|
|
||||||
if (static_block != NULL)
|
if (static_block != NULL)
|
||||||
return lookup_symbol_aux_block (name, static_block, domain);
|
return lookup_symbol_in_block (name, static_block, domain);
|
||||||
else
|
else
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1104,11 +1104,11 @@ extern struct symbol *lookup_symbol_global (const char *name,
|
||||||
const struct block *block,
|
const struct block *block,
|
||||||
const domain_enum domain);
|
const domain_enum domain);
|
||||||
|
|
||||||
/* Lookup a symbol within the block BLOCK.
|
/* Lookup a symbol in block BLOCK.
|
||||||
Upon success sets BLOCK_FOUND and fixes up the symbol's section
|
Upon success sets BLOCK_FOUND and fixes up the symbol's section
|
||||||
if necessary. */
|
if necessary. */
|
||||||
|
|
||||||
extern struct symbol *lookup_symbol_aux_block (const char *name,
|
extern struct symbol *lookup_symbol_in_block (const char *name,
|
||||||
const struct block *block,
|
const struct block *block,
|
||||||
const domain_enum domain);
|
const domain_enum domain);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue