diff options
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 *); |