diff options
author | Doug Evans <xdje42@gmail.com> | 2014-11-06 23:48:18 -0800 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2014-11-06 23:48:18 -0800 |
commit | 08724ab7cab54446283db200db58a3313463a1a2 (patch) | |
tree | 2bce5ee3e45e7e6532192b135a58ac10b6f42238 /gdb/symtab.c | |
parent | d9060ba60d1523c87e44eaeb7706d168089936a3 (diff) | |
download | gdb-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/symtab.c')
-rw-r--r-- | gdb/symtab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index e2a1e56..2aae04c 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -1800,7 +1800,7 @@ basic_lookup_symbol_nonlocal (const char *name, if (sym != NULL) return sym; - return lookup_symbol_global (name, block, domain); + return lookup_global_symbol (name, block, domain); } /* See symtab.h. */ @@ -1861,7 +1861,7 @@ lookup_symbol_global_iterator_cb (struct objfile *objfile, /* See symtab.h. */ struct symbol * -lookup_symbol_global (const char *name, +lookup_global_symbol (const char *name, const struct block *block, const domain_enum domain) { |