X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fsymtab.h;h=41abf1f38ff0af71412e4b82a13e84cac31410cc;hb=f97a63c5aa5203994447b3cf8e48f184078f379b;hp=4cfdf06b4a80a35faa5c2c64e7bc2bbfee9c12c9;hpb=293b38d60f15422cf7e3d3ba06fdbc5cc90aee67;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/symtab.h b/gdb/symtab.h index 4cfdf06b4a..41abf1f38f 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -2124,6 +2124,29 @@ private: /* When this flag is false then minsyms that match M_SYMBOL_REGEXP will be included in the results, otherwise they are excluded. */ bool m_exclude_minsyms = false; + + /* Expand symtabs in OBJFILE that match PREG, are of type M_KIND. Return + true if any msymbols were seen that we should later consider adding to + the results list. */ + bool expand_symtabs (objfile *objfile, + const gdb::optional &preg) const; + + /* Add symbols from symtabs in OBJFILE that match PREG, and TREG, and are + of type M_KIND, to the results vector RESULTS. */ + void add_matching_symbols (objfile *objfile, + const gdb::optional &preg, + const gdb::optional &treg, + std::vector *results) const; + + /* Add msymbols from OBJFILE that match PREG and M_KIND, to the + results vector RESULTS. */ + void add_matching_msymbols (objfile *objfile, + const gdb::optional &preg, + std::vector *results) const; + + /* Return true if MSYMBOL is of type KIND. */ + static bool is_suitable_msymbol (const enum search_domain kind, + const minimal_symbol *msymbol); }; /* When searching for Fortran symbols within modules (functions/variables)