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.h | |
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.h')
-rw-r--r-- | gdb/symtab.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h index 5564dbe..c967c62 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -1096,11 +1096,18 @@ extern struct symbol *lookup_symbol_in_static_block (const char *name, const struct block *block, const domain_enum domain); +/* Search all static file-level symbols for NAME from DOMAIN. + Upon success sets BLOCK_FOUND and fixes up the symbol's section + if necessary. */ + +extern struct symbol *lookup_static_symbol (const char *name, + const domain_enum domain); + /* Lookup a symbol in all files' global blocks. Upon success sets BLOCK_FOUND and fixes up the symbol's section if necessary. */ -extern struct symbol *lookup_symbol_global (const char *name, +extern struct symbol *lookup_global_symbol (const char *name, const struct block *block, const domain_enum domain); @@ -1118,13 +1125,6 @@ extern struct symbol *lookup_symbol_in_block (const char *name, extern struct symbol *lookup_language_this (const struct language_defn *lang, const struct block *block); -/* Search all static file-level symbols for NAME from DOMAIN. - Upon success sets BLOCK_FOUND and fixes up the symbol's section - if necessary. */ - -extern struct symbol *lookup_static_symbol (const char *name, - const domain_enum domain); - /* Lookup a [struct, union, enum] by name, within a specified block. */ extern struct type *lookup_struct (const char *, const struct block *); |