aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-namespace.c
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-11-06 23:48:18 -0800
committerDoug Evans <xdje42@gmail.com>2014-11-06 23:48:18 -0800
commit08724ab7cab54446283db200db58a3313463a1a2 (patch)
tree2bce5ee3e45e7e6532192b135a58ac10b6f42238 /gdb/cp-namespace.c
parentd9060ba60d1523c87e44eaeb7706d168089936a3 (diff)
downloadgdb-08724ab7cab54446283db200db58a3313463a1a2.zip
gdb-08724ab7cab54446283db200db58a3313463a1a2.tar.gz
gdb-08724ab7cab54446283db200db58a3313463a1a2.tar.bz2
Rename lookup_symbol_global to lookup_global_symbol.
gdb/ChangeLog: * symtab.c (lookup_global_symbol): Renamed from lookup_symbol_global. All callers updated. * symtab.h (lookup_global_symbol): Update decl. (lookup_static_symbol): Move decl to better location.
Diffstat (limited to 'gdb/cp-namespace.c')
-rw-r--r--gdb/cp-namespace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/cp-namespace.c b/gdb/cp-namespace.c
index 898fb5a..4366666 100644
--- a/gdb/cp-namespace.c
+++ b/gdb/cp-namespace.c
@@ -632,7 +632,7 @@ lookup_symbol_file (const char *name,
}
else
{
- sym = lookup_symbol_global (name, block, domain);
+ sym = lookup_global_symbol (name, block, domain);
}
if (sym != NULL)
@@ -692,7 +692,7 @@ lookup_symbol_file (const char *name,
/* Lookup a class named KLASS. If none is found, there is nothing
more that can be done. */
- klass_sym = lookup_symbol_global (klass, block, domain);
+ klass_sym = lookup_global_symbol (klass, block, domain);
if (klass_sym == NULL)
{
do_cleanups (cleanup);