[lldb-dev] [PATCH] no sin_len field in sockaddr_in on linux

Ed Maste emaste at freebsd.org
Mon Dec 9 08:15:59 PST 2013


On 8 December 2013 16:24, Xavier de Gaye <xdegaye at gmail.com> wrote:
>
> Build fails on linux after Revision 196547:
> Modified local spawning in debugserver processes
>
> This patch seems to fix it:
>
> diff --git a/tools/lldb/source/Core/ConnectionFileDescriptor.cpp
> b/tools/lldb/source/Core/ConnectionFileDescriptor.cpp
> --- a/tools/lldb/source/Core/ConnectionFileDescriptor.cpp
> +++ b/tools/lldb/source/Core/ConnectionFileDescriptor.cpp
> @@ -1380,8 +1380,7 @@
>          {
>              struct sockaddr_in accept_addr;
>              ::memset (&accept_addr, 0, sizeof accept_addr);
> -            accept_addr.sin_len = sizeof accept_addr;

We still need to set .sin_len on the platforms that have it though.



More information about the lldb-dev mailing list