This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] supports IPv6 only remote target


> Date: Wed, 10 Feb 2016 20:43:40 +0900
> From: Tsutomu Seki <sekiriki@gmail.com>
> Cc: gdb-patches@sourceware.org
> 
> Changed address to be "@code{fe80::1%eth1}", to include scope id
> as written later.
> 
> > This example seems to imply that more than just taking brackets
> > is required.
> 
> Your are right. This implies address/port separation rule and
> address/scope separation rule. The former should be documented,
> because address/port separation is done by the application before
> passing them to getaddrinfo.
> 
> > Should we tell more about that?
> 
> On the other hand, the latter is difficult to document (for me) in
> generic manner, because %-style scope-id notation depends on
> implementation of getaddrinfo.

I think what you did is good enough, thanks.

> > I think this will break the build with mingw.org's MinGW.  It doesn't
> > have wspiapi.h, AFAIK.  What exactly is needed from that header?
> 
> It is needed to support getaddrinfo() on Windows 2000 and older versions.
> 
> What can I do for it?  The easiest solution is to replace with <ws2tcpip.h>,
> but Windows 2000 support (as a host) would be dropped.

Is it feasible to copy the necessary bits from that header, i.e. have
the prototype in ser-tcp.c (or in some suitable GDB header file)?

Thanks.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]