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
This commit is contained in:
Tom Tromey
2024-01-29 09:45:35 -07:00
parent 05d1b4b4ad
commit f214edceb8
7 changed files with 9 additions and 9 deletions

View File

@@ -600,7 +600,7 @@ gdbpy_lookup_static_symbols (PyObject *self, PyObject *args, PyObject *kw)
lookup_name_info lookup_name (name, symbol_name_match_type::FULL);
expand_symtabs_matching (NULL, lookup_name, NULL, NULL,
SEARCH_GLOBAL_BLOCK | SEARCH_STATIC_BLOCK,
SEARCH_ALL);
SEARCH_ALL_DOMAINS);
for (objfile *objfile : current_program_space->objfiles ())
{