]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/symtab.h
Use domain_search_flags in lookup_global_symbol_language
authorTom Tromey <tom@tromey.com>
Sat, 11 Mar 2023 14:55:42 +0000 (07:55 -0700)
committerTom Tromey <tom@tromey.com>
Sun, 28 Jan 2024 17:58:16 +0000 (10:58 -0700)
commit6c0152149476085e6c4c5c812bfc3a06fff7c938
tree176aaa96a5ecfadea04a57996c530bb8ebbc9e95
parent88ff5355adfee1c015ce98f0d79475f53678a7bb
Use domain_search_flags in lookup_global_symbol_language

This changes quick_symbol_functions::lookup_global_symbol_language to
accept domain_search_flags rather than just a domain_enum, and fixes
up the fallout.

To avoid introducing any regressions, any code passing VAR_DOMAIN now
uses SEARCH_VFT.

That is, no visible changes should result from this patch.  However,
it sets the stage to refine some searches later on.
18 files changed:
gdb/ada-exp.y
gdb/ada-lang.c
gdb/ada-lang.h
gdb/dwarf2/cooked-index.h
gdb/dwarf2/read-gdb-index.c
gdb/dwarf2/read.c
gdb/dwarf2/read.h
gdb/language.h
gdb/linespec.c
gdb/objfiles.h
gdb/psymtab.c
gdb/psymtab.h
gdb/quick-symbol.h
gdb/symfile-debug.c
gdb/symfile.c
gdb/symmisc.c
gdb/symtab.c
gdb/symtab.h