diff options
author | Tom Tromey <tromey@adacore.com> | 2024-01-29 09:45:35 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2024-02-01 07:10:57 -0700 |
commit | f214edceb8cd97058c2682efb7b321d923e4ff02 (patch) | |
tree | 82153bda9ff220aca93ee11b623fa6868c7326ab /gdb/symtab.c | |
parent | 05d1b4b4ad7d74a64cc71c53d621241fc393fcb6 (diff) | |
download | binutils-f214edceb8cd97058c2682efb7b321d923e4ff02.zip binutils-f214edceb8cd97058c2682efb7b321d923e4ff02.tar.gz binutils-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/symtab.c')
-rw-r--r-- | gdb/symtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index 5221989..32b19e6 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -5993,7 +5993,7 @@ default_collect_symbol_completion_matches_break_on return true; }, SEARCH_GLOBAL_BLOCK | SEARCH_STATIC_BLOCK, - SEARCH_ALL); + SEARCH_ALL_DOMAINS); /* Search upwards from currently selected frame (so that we can complete on local vars). Also catch fields of types defined in |