This is the mail archive of the
mailing list for the GDB project.
Re: [PATCH] Add IPv6 support for remote TCP connections
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org, ktietz at redhat dot com, brobecker at adacore dot com, fercerpav at gmail dot com
- Date: Sun, 22 Mar 2015 19:46:51 +0200
- Subject: Re: [PATCH] Add IPv6 support for remote TCP connections
- Authentication-results: sourceware.org; auth=none
- References: <1391878435-19340-1-git-send-email-fercerpav at gmail dot com> <20140209083056 dot GA32481 at host2 dot jankratochvil dot net> <20140209095308 dot GH2320 at home dot lan> <20140209130501 dot GA15183 at host2 dot jankratochvil dot net> <83k3d4utwr dot fsf at gnu dot org> <20140209164748 dot GA25629 at host2 dot jankratochvil dot net> <20140209170821 dot GI2320 at home dot lan> <20150322163922 dot GA31444 at host1 dot jankratochvil dot net> <83sicxrn1b dot fsf at gnu dot org> <20150322170932 dot GA32091 at host1 dot jankratochvil dot net>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Sun, 22 Mar 2015 18:09:32 +0100
> From: Jan Kratochvil <firstname.lastname@example.org>
> Cc: email@example.com, firstname.lastname@example.org, email@example.com,
> On Sun, 22 Mar 2015 17:53:52 +0100, Eli Zaretskii wrote:
> > Not sure what this is about, but just FYI: getaddrinfo is available
> > only since Windows XP, so earlier versions will not have it. MinGW64
> > doesn't care about versions older than XP, so it's a small wonder it
> > compiles without a hitch.
> Even MS-Windows XP is EOLed already, isn't it?
Don't EOL me ;-) One of my machines (the one I'm typing this on,
actually) still happily runs XP, and probably will for some time to
> What older MS-Windows release
> should be supported? I guess MS-Windows 2000? Do you mean it seriously?
It's up to us to decide. Emacs, for example, still supports Windows
98, per an explicit request from RMS, based on the large number of
users of those systems in the 3rd World.
> The patch of my attempt for gnulib import of getaddrinfo had 1.5MB and it was
> not easy due to conflict with all the existing MS-Windows #ifs in GDB code, is
> it really worth those EOLed OSes?
> I am really asking, the gnulib import does not seem right to me. This is also
> why the IPv6 support has been waiting for removal of the old OSes (like HP-UX).
Why can't we test at run time if getaddrinfo is available, and use it
if it is, else use the old code? This will work on Windows, and is
much simpler than the gnulib rigmarole.