aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
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/ada-lang.c
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/ada-lang.c')
-rw-r--r--gdb/ada-lang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index f1d01ec..52bae58 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -13533,7 +13533,7 @@ public:
NULL,
NULL,
SEARCH_GLOBAL_BLOCK | SEARCH_STATIC_BLOCK,
- SEARCH_ALL);
+ SEARCH_ALL_DOMAINS);
/* At this point scan through the misc symbol vectors and add each
symbol you find to the list. Eventually we want to ignore