This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] supports IPv6 only remote target
- From: Pedro Alves <palves at redhat dot com>
- To: Eli Zaretskii <eliz at gnu dot org>, Tsutomu Seki <sekiriki at gmail dot com>
- Cc: gdb-patches at sourceware dot org, Paul Fertser <fercerpav at gmail dot com>, Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Date: Thu, 10 Mar 2016 16:44:23 +0000
- Subject: Re: [PATCH] supports IPv6 only remote target
- Authentication-results: sourceware.org; auth=none
- References: <CALZjo7uhLO0V9HPhW7wn-N5fs2dgwc4n7Gm2e20dezQL29_kgA at mail dot gmail dot com> <831t8ldc80 dot fsf at gnu dot org> <CALZjo7tGT3QRGVhnO9H8PZmxoew-_k64fc_spiDsdV5orxqEkQ at mail dot gmail dot com> <83oaboa0x5 dot fsf at gnu dot org> <CALZjo7vo2Mxd_pP4u192RgU989jEwn+D5sJVCTFiFRZsxpMp0Q at mail dot gmail dot com> <83h9hg9xrj dot fsf at gnu dot org>
On 02/10/2016 07:21 PM, Eli Zaretskii wrote:
> Do we care about W2K support at this point? AFAIK, quite a few
> MinGW64 headers require and set _WIN32_WINNT to a value that will
> exclude W2K anyway.
>
> I suggest to wait for Pedro or Joel to chime in on this issue.
I wouldn't care about W2K at this point.
gnulib has a getaddrinfo module, but I think that pulls in gnulib's
select replacement, which is a big problem for gdb. So if we cared
about old hosts that don't support getaddrinfo, it'd have to be based
on #ifdef. But, I believe that the only remaining such systems
would be old Windows hosts, since we dropped support for several old
Unix hosts in 7.10/7.11. As such, I think we can just use getaddrinfo
unconditionally.
I think this is at least the 3rd IPv6 patch posted over the years.
It's about time we merge some in. I've added a couple folks to
CC who proposed this before.
It'd be useful to review past discussions, and see if
there's something there we should consider. See e.g.:
https://sourceware.org/ml/gdb-patches/2014-02/msg00254.html
AFAICS, Tsutomu's patch doesn't cycle through available
addresses. Should it?
Tsutomu, do you have an FSF copyright assignment?
Paul, do you have an FSF copyright assignment?
Thanks,
Pedro Alves