aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-11-06 23:04:15 -0800
committerDoug Evans <xdje42@gmail.com>2014-11-06 23:04:15 -0800
commitd1a2d36d58bf73daab55f95597218bab5dda471c (patch)
treeb88ef072bb0288e1653f0d9932118842101675f3 /gdb/symtab.c
parent24d864bb955adc2ecd2103dd7a0dbf9cdfd37010 (diff)
downloadgdb-d1a2d36d58bf73daab55f95597218bab5dda471c.zip
gdb-d1a2d36d58bf73daab55f95597218bab5dda471c.tar.gz
gdb-d1a2d36d58bf73daab55f95597218bab5dda471c.tar.bz2
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.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r--gdb/symtab.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index f6c3079..3c2e277 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -1515,7 +1515,7 @@ lookup_symbol_aux_local (const char *name, const struct block *block,
while (block != static_block)
{
- sym = lookup_symbol_aux_block (name, block, domain);
+ sym = lookup_symbol_in_block (name, block, domain);
if (sym != NULL)
return sym;
@@ -1567,8 +1567,8 @@ lookup_objfile_from_block (const struct block *block)
/* See symtab.h. */
struct symbol *
-lookup_symbol_aux_block (const char *name, const struct block *block,
- const domain_enum domain)
+lookup_symbol_in_block (const char *name, const struct block *block,
+ const domain_enum domain)
{
struct symbol *sym;
@@ -1808,7 +1808,7 @@ lookup_symbol_in_static_block (const char *name,
const struct block *static_block = block_static_block (block);
if (static_block != NULL)
- return lookup_symbol_aux_block (name, static_block, domain);
+ return lookup_symbol_in_block (name, static_block, domain);
else
return NULL;
}