From: Alexandra Petlanova Hajkova <ahajkova@redhat.com>
To: Tom Tromey <tromey@adacore.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] Rename SEARCH_ALL
Date: Thu, 1 Feb 2024 13:44:13 +0100 [thread overview]
Message-ID: <CAJVr-EMcecm77L5=0h9Vz9kRqj0k8rOnXBbSeEmqZ+TKZ5BCVA@mail.gmail.com> (raw)
In-Reply-To: <20240129164622.628652-1-tromey@adacore.com>
[-- Attachment #1: Type: text/plain, Size: 1245 bytes --]
On Mon, Jan 29, 2024 at 5:47 PM Tom Tromey <tromey@adacore.com> wrote:
> 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
> ---
> gdb/ada-lang.c | 2 +-
> gdb/compile/compile-cplus-symbols.c | 2 +-
> gdb/python/py-symbol.c | 2 +-
> gdb/symfile-debug.c | 4 ++--
> gdb/symmisc.c | 2 +-
> gdb/symtab.c | 2 +-
> gdb/symtab.h | 4 ++--
> 7 files changed, 9 insertions(+), 9 deletions(-)
>
> diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
> index f1d01ec7aa3..52bae581af6 100644
> --- a/gdb/ada-lang.c
> +++ b/gdb/ada-lang.c
> @@ -13533,7 +13533,7 @@ class ada_language : public language_defn
> NULL,
> NULL,
> SEARCH_GLOBAL_BLOCK | SEARCH_STATIC_BLOCK,
> - SEARCH_ALL);
> + SEARCH_ALL_DOMAINS);
>
>
I can confirm this change does not introduce any regressions for aarch64
Fedora Rawhide.
next prev parent reply other threads:[~2024-02-01 12:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-29 16:46 Tom Tromey
2024-02-01 12:44 ` Alexandra Petlanova Hajkova [this message]
2024-02-01 14:10 ` Tom Tromey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJVr-EMcecm77L5=0h9Vz9kRqj0k8rOnXBbSeEmqZ+TKZ5BCVA@mail.gmail.com' \
--to=ahajkova@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=tromey@adacore.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).