aboutsummaryrefslogtreecommitdiff
path: root/gdb/compile
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2024-01-29 09:45:35 -0700
committerTom Tromey <tromey@adacore.com>2024-02-01 07:10:57 -0700
commitf214edceb8cd97058c2682efb7b321d923e4ff02 (patch)
tree82153bda9ff220aca93ee11b623fa6868c7326ab /gdb/compile
parent05d1b4b4ad7d74a64cc71c53d621241fc393fcb6 (diff)
downloadgdb-f214edceb8cd97058c2682efb7b321d923e4ff02.zip
gdb-f214edceb8cd97058c2682efb7b321d923e4ff02.tar.gz
gdb-f214edceb8cd97058c2682efb7b321d923e4ff02.tar.bz2
Rename SEARCH_ALL
The constant SEARCH_ALL conflicts with a define in a Windows header. This patch renames the constant to SEARCH_ALL_DOMAINS to avoid the conflict. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31307
Diffstat (limited to 'gdb/compile')
-rw-r--r--gdb/compile/compile-cplus-symbols.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/compile/compile-cplus-symbols.c b/gdb/compile/compile-cplus-symbols.c
index 9d8e801..c4355b8 100644
--- a/gdb/compile/compile-cplus-symbols.c
+++ b/gdb/compile/compile-cplus-symbols.c
@@ -368,7 +368,7 @@ gcc_cplus_convert_symbol (void *datum,
symbol_searcher searcher;
searcher.find_all_symbols (identifier, current_language,
- SEARCH_ALL, nullptr, nullptr);
+ SEARCH_ALL_DOMAINS, nullptr, nullptr);
/* Convert any found symbols. */
for (const auto &it : searcher.matching_symbols ())