getaddrinfo available on all GDB hosts? [Re: [PATCH v2] Add IPv6 support for remote TCP connections]

Jan Kratochvil
2014-02-10T19:58:12Z

On Mon, 10 Feb 2014 18:45:15 +0100, Eli Zaretskii wrote:
> > To cite Gnulib docs:
> > ``This function is missing on some platforms: HP-UX 11.11, IRIX 6.5,
> > OSF/1 5.1, Solaris 7, Cygwin 1.5.x, mingw, MSVC 9, Interix 3.5, BeOS''
> >
> > TBH, I have no idea how to check that, I couldn't find any specific
> > versions of the systems Gdb is supposed to support.
>
> Cygwin 1.5, MSVC, and Interix aren't supported, AFAIK, and MinGW is
> not relevant. Not sure about the others; hopefully, someone else will
> chime in.

I have tested AIX on gcc111.fsffrance.org builds ser-tcp.c fine (the build
fails due to some other errors but that is off-topic here).

As discussed off-list with Tom recently changing subject and getaddrinfo
should be available even without gnulib. (The patch code itself still needs
a review.) If some host does not have getaddrinfo its maintainer should say
so.

Jan