diff options
Diffstat (limited to 'gdb/objfiles.h')
-rw-r--r-- | gdb/objfiles.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gdb/objfiles.h b/gdb/objfiles.h index ec64b1c..31914d5 100644 --- a/gdb/objfiles.h +++ b/gdb/objfiles.h @@ -576,7 +576,16 @@ public: (const char *name, const char *real_path, gdb::function_view<bool (symtab *)> callback); - /* See quick_symbol_functions. */ + /* Check to see if the symbol is defined in a "partial" symbol table + of this objfile. BLOCK_INDEX should be either GLOBAL_BLOCK or + STATIC_BLOCK, depending on whether we want to search global + symbols or static symbols. NAME is the name of the symbol to + look for. DOMAIN indicates what sort of symbol to search for. + + Returns the newly-expanded compunit in which the symbol is + defined, or NULL if no such symbol table exists. If OBJFILE + contains !TYPE_OPAQUE symbol prefer its compunit. If it contains + only TYPE_OPAQUE symbol(s), return at least that compunit. */ struct compunit_symtab *lookup_symbol (block_enum kind, const char *name, domain_enum domain); |