diff options
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r-- | gdb/symtab.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index 907ebd0..a34207f 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -4547,6 +4547,7 @@ global_symbol_searcher::expand_symtabs || preg->exec (symname, 0, NULL, 0) == 0); }, NULL, + SEARCH_GLOBAL_BLOCK | SEARCH_STATIC_BLOCK, kind); /* Here, we search through the minimal symbol tables for functions and @@ -5732,6 +5733,7 @@ default_collect_symbol_completion_matches_break_on sym_text, word, code); return true; }, + SEARCH_GLOBAL_BLOCK | SEARCH_STATIC_BLOCK, ALL_DOMAIN); /* Search upwards from currently selected frame (so that we can |