aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-03-02 15:05:17 -0700
committerTom Tromey <tom@tromey.com>2024-01-28 10:58:16 -0700
commitc92d4de16a0650ae973cfecf9c563893757a01f1 (patch)
tree806dfef283b95bdfb261587255a6e8338d3dcfd6 /gdb/ada-lang.c
parent25f31e1820dcec2f0c073c28cbf88646c7c2af97 (diff)
downloadgdb-c92d4de16a0650ae973cfecf9c563893757a01f1.zip
gdb-c92d4de16a0650ae973cfecf9c563893757a01f1.tar.gz
gdb-c92d4de16a0650ae973cfecf9c563893757a01f1.tar.bz2
Replace search_domain with domain_search_flags
This patch changes gdb to replace search_domain with domain_search_flags everywhere. search_domain is removed.
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r--gdb/ada-lang.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index c04c48e..4eea4e6 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -5514,7 +5514,7 @@ map_matching_symbols (struct objfile *objfile,
global
? SEARCH_GLOBAL_BLOCK
: SEARCH_STATIC_BLOCK,
- domain, ALL_DOMAIN);
+ domain, SEARCH_ALL);
const int block_kind = global ? GLOBAL_BLOCK : STATIC_BLOCK;
for (compunit_symtab *symtab : objfile->compunits ())
@@ -12997,7 +12997,7 @@ ada_add_global_exceptions (compiled_regex *preg,
},
NULL,
SEARCH_GLOBAL_BLOCK | SEARCH_STATIC_BLOCK,
- VARIABLES_DOMAIN);
+ SEARCH_VAR_DOMAIN);
/* Iterate over all objfiles irrespective of scope or linker namespaces
so we get all exceptions anywhere in the progspace. */
@@ -13542,7 +13542,7 @@ public:
NULL,
NULL,
SEARCH_GLOBAL_BLOCK | SEARCH_STATIC_BLOCK,
- ALL_DOMAIN);
+ SEARCH_ALL);
/* At this point scan through the misc symbol vectors and add each
symbol you find to the list. Eventually we want to ignore