aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-11-06 22:56:46 -0800
committerDoug Evans <xdje42@gmail.com>2014-11-06 22:56:46 -0800
commit24d864bb955adc2ecd2103dd7a0dbf9cdfd37010 (patch)
tree162f3f2b969f5021f49be0c90452fbd5a38c8d83 /gdb/symtab.c
parent358d6ab39c95691e721820fd54e9780208faf252 (diff)
downloadgdb-24d864bb955adc2ecd2103dd7a0dbf9cdfd37010.zip
gdb-24d864bb955adc2ecd2103dd7a0dbf9cdfd37010.tar.gz
gdb-24d864bb955adc2ecd2103dd7a0dbf9cdfd37010.tar.bz2
Rename lookup_symbol_static to lookup_symbol_in_static_block,
and lookup_static_symbol_aux to lookup_static_symbol. gdb/ChangeLog: * symtab.c (lookup_static_symbol): Renamed from lookup_static_symbol_aux. All callers updated. (lookup_symbol_in_static_block): Renamed from lookup_symbol_static. All callers updated.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r--gdb/symtab.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 9add71f..f6c3079 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -1471,13 +1471,13 @@ lookup_symbol_aux (const char *name, const struct block *block,
/* Now search all static file-level symbols. Not strictly correct,
but more useful than an error. */
- return lookup_static_symbol_aux (name, domain);
+ return lookup_static_symbol (name, domain);
}
/* See symtab.h. */
struct symbol *
-lookup_static_symbol_aux (const char *name, const domain_enum domain)
+lookup_static_symbol (const char *name, const domain_enum domain)
{
struct objfile *objfile;
struct symbol *sym;
@@ -1791,7 +1791,7 @@ basic_lookup_symbol_nonlocal (const char *name,
than that one, so I don't think we should worry about that for
now. */
- sym = lookup_symbol_static (name, block, domain);
+ sym = lookup_symbol_in_static_block (name, block, domain);
if (sym != NULL)
return sym;
@@ -1801,9 +1801,9 @@ basic_lookup_symbol_nonlocal (const char *name,
/* See symtab.h. */
struct symbol *
-lookup_symbol_static (const char *name,
- const struct block *block,
- const domain_enum domain)
+lookup_symbol_in_static_block (const char *name,
+ const struct block *block,
+ const domain_enum domain)
{
const struct block *static_block = block_static_block (block);