From: Eli Zaretskii <eliz@gnu.org>
To: brobecker@adacore.com, Tom Tromey <tom@tromey.com>
Cc: ssbssa@yahoo.de, gdb-patches@sourceware.org
Subject: Re: GDB 16.0.90 available for testing
Date: Thu, 02 Jan 2025 19:38:16 +0200 [thread overview]
Message-ID: <865xmxjeuv.fsf@gnu.org> (raw)
In-Reply-To: <86zfkepkqh.fsf@gnu.org> (message from Eli Zaretskii on Sun, 29 Dec 2024 17:33:26 +0200)
> Date: Sun, 29 Dec 2024 17:33:26 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: brobecker@adacore.com, gdb-patches@sourceware.org
>
> > Date: Sun, 29 Dec 2024 15:11:40 +0000 (UTC)
> > From: Hannes Domani <ssbssa@yahoo.de>
> > Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
> >
> > Am Sonntag, 29. Dezember 2024 um 13:55:25 MEZ hat Eli Zaretskii <eliz@gnu.org> Folgendes geschrieben:
> >
> > > 1. A compilation error in readline/input.c, due to lack of 'alarm'
> > > function. I have reported that several months ago to the upstream
> > > Readline developers, but the solution they installed only works for
> > > MinGW64. For mingw.org we need the following patch:
> > >
> > > --- readline/readline/input.c~0 2024-12-29 04:50:07.000000000 +0200
> > > +++ readline/readline/input.c 2024-12-29 12:32:04.196630800 +0200
> > > @@ -151,6 +151,14 @@ win32_isatty (int fd)
> > > # define RL_TIMEOUT_USE_SELECT
> > > #else
> > > # define RL_TIMEOUT_USE_SIGALRM
> > > +# ifdef __MINGW32_MAJOR_VERSION
> > > +/* mingw.org's MinGW doesn't have 'alarm'. */
> > > +unsigned int
> > > +alarm (unsigned int seconds)
> > > +{
> > > + return 0;
> > > +}
> > > +# endif
> > > #endif
> > >
> > > int rl_set_timeout (unsigned int, unsigned int);
> >
> > I wonder why readline doesn't disable the whole stuff where alarm is used
> > on windows, since it doesn't work there anyways.
>
> Chet said that's what he did, but I saw no evidence of that in the
> current Readline (assuming I was looking at the correct branch in the
> Git repository). See
>
> https://lists.gnu.org/archive/html/bug-readline/2024-12/msg00003.html
Given what Chet says in
https://lists.gnu.org/archive/html/bug-readline/2024-12/msg00006.html
I now understand how this is fixed in upstream Readline. The fix
there is not right: it will fail the MinGW64 build. So I'd like to
fix this properly in our repository and tell Chet how I recommend to
fix it upstream.
Should I fix this in our repository right away, or would you prefer to
wait for Chet to agree with my proposal, so that we have the same code
as in upstream Readline?
next prev parent reply other threads:[~2025-01-02 17:39 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-29 3:31 Joel Brobecker
2024-12-29 12:54 ` Eli Zaretskii
2024-12-29 15:11 ` Hannes Domani
2024-12-29 15:33 ` Eli Zaretskii
2025-01-01 13:12 ` Eli Zaretskii
2025-01-02 1:59 ` Joel Brobecker
2025-01-02 6:12 ` Eli Zaretskii
2025-01-02 6:48 ` Joel Brobecker
2025-01-02 17:33 ` Eli Zaretskii
2025-01-02 17:38 ` Eli Zaretskii [this message]
2025-01-03 4:48 ` Joel Brobecker
2025-01-04 10:29 ` Eli Zaretskii
2025-01-02 17:40 ` Eli Zaretskii
2025-01-03 10:05 ` Luis Machado
2025-01-04 10:30 ` Eli Zaretskii
2025-01-04 11:00 ` Tom de Vries
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=865xmxjeuv.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=ssbssa@yahoo.de \
--cc=tom@tromey.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