This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
getaddrinfo available on all GDB hosts? [Re: [PATCH v2] Add IPv6 support for remote TCP connections]
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: Paul Fertser <fercerpav at gmail dot com>, gdb-patches at sourceware dot org, ktietz at redhat dot com
- Date: Mon, 10 Feb 2014 20:57:58 +0100
- Subject: getaddrinfo available on all GDB hosts? [Re: [PATCH v2] Add IPv6 support for remote TCP connections]
- Authentication-results: sourceware.org; auth=none
- References: <20140209172855 dot GA27131 at host2 dot jankratochvil dot net> <1392033768-16793-1-git-send-email-fercerpav at gmail dot com> <831tzavrhw dot fsf at gnu dot org> <20140210170244 dot GO2320 at home dot lan> <83vbwmuaj8 dot fsf at gnu dot org>
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