From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24147 invoked by alias); 22 Mar 2015 17:48:47 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 24138 invoked by uid 89); 22 Mar 2015 17:48:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout27.012.net.il Received: from mtaout27.012.net.il (HELO mtaout27.012.net.il) (80.179.55.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 22 Mar 2015 17:48:45 +0000 Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NLM00A00JMLU000@mtaout27.012.net.il> for gdb-patches@sourceware.org; Sun, 22 Mar 2015 19:41:51 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NLM0046HJTRA970@mtaout27.012.net.il>; Sun, 22 Mar 2015 19:41:51 +0200 (IST) Date: Sun, 22 Mar 2015 17:48:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH] Add IPv6 support for remote TCP connections In-reply-to: <20150322170932.GA32091@host1.jankratochvil.net> To: Jan Kratochvil Cc: gdb-patches@sourceware.org, ktietz@redhat.com, brobecker@adacore.com, fercerpav@gmail.com Reply-to: Eli Zaretskii Message-id: <83iodssz5g.fsf@gnu.org> References: <1391878435-19340-1-git-send-email-fercerpav@gmail.com> <20140209083056.GA32481@host2.jankratochvil.net> <20140209095308.GH2320@home.lan> <20140209130501.GA15183@host2.jankratochvil.net> <83k3d4utwr.fsf@gnu.org> <20140209164748.GA25629@host2.jankratochvil.net> <20140209170821.GI2320@home.lan> <20150322163922.GA31444@host1.jankratochvil.net> <83sicxrn1b.fsf@gnu.org> <20150322170932.GA32091@host1.jankratochvil.net> X-IsSubscribed: yes X-SW-Source: 2015-03/txt/msg00700.txt.bz2 > Date: Sun, 22 Mar 2015 18:09:32 +0100 > From: Jan Kratochvil > Cc: gdb-patches@sourceware.org, ktietz@redhat.com, brobecker@adacore.com, > fercerpav@gmail.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 come. > 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.