This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2] sim: use socklen_t with accept()
>>>>> "Mike" == Mike Frysinger <vapier@gentoo.org> writes:
Mike> 2010-03-30 Mike Frysinger <vapier@gentoo.org>
Mike> * configure.ac: Check for socklen_t.
Mike> * configure, config.in: Regenerated.
Mike> * dv-sockser.c (connected_p): Change addrlen type to socklen_t.
Somewhere, probably dv-sockser.c, you also need this bit:
#ifndef HAVE_SOCKLEN_T
typedef int socklen_t;
#endif
Mike> Note: this config.in diffstat is larger because the regen tweaked the
Mike> comment style for a lot of defines ... not sure if this is correct
Make sure you use the exact same versions of the autotools as currently
used in the tree. I download the canonical versions from gnu.org and
install them all in a fresh $prefix for gdb hacking. You can't use
different versions (even minor versions) or distro variants, as they
cause churn in the repository.
Tom