public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
From: jkratoch@sourceware.org
To: archer-commits@sourceware.org
Subject: [SCM]  jankratochvil/ipv6: .
Date: Fri, 19 Apr 2013 18:43:00 -0000	[thread overview]
Message-ID: <20130419184340.14659.qmail@sourceware.org> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 27502 bytes --]

The branch, jankratochvil/ipv6 has been updated
       via  f4ed32f7fd2b27bddf234e6d3aaf3ea750ff83e9 (commit)
       via  7e497cf332ab0441cc5e125f6486ac3b0b316e0c (commit)
       via  92f48e3bed5e514b521220c617e39dc60f39d9bd (commit)
       via  11b8741a63aabf4084886bc1fe3cd84bddb69178 (commit)
       via  06ca7cbd307a24826d15fff62976f8bdb8042a3d (commit)
       via  40c0a732cad62e610fba683ddaed5336e791071b (commit)
       via  3ae95b7562c6284affc4be6db4f35e43ef4f5a61 (commit)
       via  36f5c10b9306d35ad1c930929d39173571fe6694 (commit)
       via  23eb3c9e3e8e6cbe022256ea9191bc8a41a68f00 (commit)
       via  ee53c7e070d50b8336c887caccf4b40a46d3f2a8 (commit)
       via  bd146418ef532becb8eccdc569ac0d97551a3c7d (commit)
       via  7e03aaaae0f02f7f30df84e8c4ab6337d16d6da0 (commit)
       via  407e00fbe7220947ac5adce32571b42bf0c8a771 (commit)
       via  4c08504c445d01a32ffcaddc77caedf1bdfe24af (commit)
       via  5c18d6292bce5dfe11dfff38779213e66ede5735 (commit)
       via  165c7559e9a42194dd2527d8e9e5733e31d5c57c (commit)
       via  e8e5c1d74d0ba4fb17ff9bd580d4714f3a0edeb2 (commit)
       via  74d7e164d1e9d6ff1fd7c1acf675e3589098fa81 (commit)
       via  7a9088e93d91fb5f872465cb6238fe346f68911a (commit)
       via  8971f489b0f0e28e401c18844d6c679ffb9b6f6e (commit)
       via  daebb5ec91791a8a577a02c5f5857d5810de684d (commit)
      from  7acca69ed542d68fbb22875da31678441894c6c9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit f4ed32f7fd2b27bddf234e6d3aaf3ea750ff83e9
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Apr 19 20:27:03 2013 +0200

    .

commit 7e497cf332ab0441cc5e125f6486ac3b0b316e0c
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Apr 19 20:26:23 2013 +0200

    .

commit 92f48e3bed5e514b521220c617e39dc60f39d9bd
Merge: 06ca7cb 11b8741
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Apr 19 20:19:35 2013 +0200

    Merge branch 'gnulibupdate-gnulibplus' into gnulibupdate-gnulibplus-ipv6

commit 11b8741a63aabf4084886bc1fe3cd84bddb69178
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Apr 19 20:19:30 2013 +0200

    .

commit 06ca7cbd307a24826d15fff62976f8bdb8042a3d
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Apr 19 20:14:36 2013 +0200

    .

commit 40c0a732cad62e610fba683ddaed5336e791071b
Merge: 36f5c10 3ae95b7
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Apr 19 20:14:30 2013 +0200

    Merge branch 'gnulibupdate-gnulibplus' into gnulibupdate-gnulibplus-ipv6

commit 3ae95b7562c6284affc4be6db4f35e43ef4f5a61
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Apr 19 20:14:23 2013 +0200

    .

commit 36f5c10b9306d35ad1c930929d39173571fe6694
Merge: ee53c7e 23eb3c9
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Apr 19 18:03:14 2013 +0200

    Merge branch 'gnulibupdate-gnulibplus' into gnulibupdate-gnulibplus-ipv6

commit 23eb3c9e3e8e6cbe022256ea9191bc8a41a68f00
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Apr 19 18:03:04 2013 +0200

    .

commit ee53c7e070d50b8336c887caccf4b40a46d3f2a8
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Apr 19 18:00:33 2013 +0200

    Revert "."
    
    This reverts commit bd146418ef532becb8eccdc569ac0d97551a3c7d.

commit bd146418ef532becb8eccdc569ac0d97551a3c7d
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Apr 19 17:57:56 2013 +0200

    .

commit 7e03aaaae0f02f7f30df84e8c4ab6337d16d6da0
Merge: 4c08504 407e00f
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Apr 19 17:54:28 2013 +0200

    Merge branch 'gnulibupdate-gnulibplus' into gnulibupdate-gnulibplus-ipv6

commit 407e00fbe7220947ac5adce32571b42bf0c8a771
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Apr 19 17:54:22 2013 +0200

    .

commit 4c08504c445d01a32ffcaddc77caedf1bdfe24af
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Apr 19 17:47:26 2013 +0200

    .

commit 5c18d6292bce5dfe11dfff38779213e66ede5735
Merge: 7acca69 165c755
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Apr 19 17:08:05 2013 +0200

    Merge branch 'gnulibupdate-gnulibplus' into gnulibupdate-gnulibplus-ipv6

commit 165c7559e9a42194dd2527d8e9e5733e31d5c57c
Merge: 48ad00a e8e5c1d
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Apr 19 17:08:01 2013 +0200

    Merge branch 'gnulibupdate' into gnulibupdate-gnulibplus

commit e8e5c1d74d0ba4fb17ff9bd580d4714f3a0edeb2
Merge: d353efe 74d7e16
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Apr 19 17:07:58 2013 +0200

    Merge remote-tracking branch 'gdb/master' into gnulibupdate

commit 74d7e164d1e9d6ff1fd7c1acf675e3589098fa81
Author: Pedro Alves <palves@redhat.com>
Date:   Fri Apr 19 14:13:29 2013 +0000

    Fix the x87 FP register printout when issuing the “info float” command.
    
    Consider the following simple program:
    
    .globl  _start
    .text
    _start:
          fldt    val
    .data
          val: .byte 0x00,0x00,0x45,0x07,0x11,0x19,0x22,0xe9,0xfe,0xbf
    
    With current GDB on x86-64 GNU/Linux hosts, after the moment the fldt
    command has been executed the register st(0) looks like this,
    according to the “info regs” output (TOP=7):
    
      R7: Valid   0xffffffbffffffffeffffffe922191107450000 -0.910676542908976927
    
    which is clearly wrong (just count its length).  The problem is due to
    the printf statement (see patch) printing a promoted integer value of
    a char argument "raw[i]", and, since char is signed on x86-64
    GNU/Linux, the erroneous “ffffff” are printed for the first three
    bytes which turn out to be "negative".  The fix is to use gdb_byte
    instead which is unsigned (and is the type of value_contents(), the
    type to be used for raw target bytes anyway).  After the fix the value
    will be printed correctly:
    
      R7: Valid   0xbffee922191107450000 -0.910676542908976927
    
    gdb/
    2013-04-19  Vladimir Kargov <kargov@gmail.com>
    	    Pedro Alves  <palves@redhat.com>
    
    	* i387-tdep.c (i387_print_float_info): Use gdb_byte for pointer to
    	value contents.
    
    gdb/testsuite/
    2013-04-19  Vladimir Kargov  <kargov@gmail.com>
    	    Pedro Alves  <palves@redhat.com>
    
    	* gdb.arch/i386-float.S: New file.
    	* gdb.arch/i386-float.exp: New file.

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                         |    6 +
 bfd/version.h                         |    2 +-
 gdb/ChangeLog                         |    6 +
 gdb/config.in                         |    3 +
 gdb/configure                         |    2 +-
 gdb/configure.ac                      |    2 +-
 gdb/gdbserver/Makefile.in             |    2 +-
 gdb/gdbserver/config.in               |    3 +
 gdb/gdbserver/configure               |    2 +-
 gdb/gdbserver/configure.ac            |    4 +-
 gdb/gdbserver/gdbreplay.c             |   11 +-
 gdb/gdbserver/remote-utils.c          |   14 +-
 gdb/gnulib/Makefile.in                |    6 +
 gdb/gnulib/aclocal.m4                 |    6 +
 gdb/gnulib/config.in                  |   87 +
 gdb/gnulib/configure                  | 3585 +++++++++++++++++++++++++--------
 gdb/gnulib/import/Makefile.am         |  211 ++-
 gdb/gnulib/import/Makefile.in         |  190 ++-
 gdb/gnulib/import/accept.c            |   52 +
 gdb/gnulib/import/bind.c              |   49 +
 gdb/gnulib/import/close.c             |   69 +
 gdb/gnulib/import/dup2.c              |  160 ++
 gdb/gnulib/import/getsockname.c       |   49 +
 gdb/gnulib/import/listen.c            |   49 +
 gdb/gnulib/import/m4/close.m4         |   33 +
 gdb/gnulib/import/m4/dup2.m4          |   84 +
 gdb/gnulib/import/m4/gnulib-cache.m4  |   13 +-
 gdb/gnulib/import/m4/gnulib-comp.m4   |  104 +
 gdb/gnulib/import/m4/select.m4        |  113 ++
 gdb/gnulib/import/m4/signal_h.m4      |   83 +
 gdb/gnulib/import/m4/sys_select_h.m4  |   95 +
 gdb/gnulib/import/m4/sys_time_h.m4    |  110 +
 gdb/gnulib/import/recv.c              |   49 +
 gdb/gnulib/import/select.c            |  547 +++++
 gdb/gnulib/import/send.c              |   49 +
 gdb/gnulib/import/setsockopt.c        |   65 +
 gdb/gnulib/import/signal.in.h         |  447 ++++
 gdb/gnulib/import/socket.c            |   49 +
 gdb/gnulib/import/sys_select.in.h     |  313 +++
 gdb/gnulib/import/sys_time.in.h       |  212 ++
 gdb/gnulib/update-gnulib.sh           |    5 +-
 gdb/i387-tdep.c                       |    2 +-
 gdb/ser-tcp.c                         |    6 +-
 gdb/testsuite/ChangeLog               |    6 +
 gdb/testsuite/gdb.arch/i386-float.S   |   34 +
 gdb/testsuite/gdb.arch/i386-float.exp |   43 +
 gdb/utils.c                           |    3 +
 gdb/version.in                        |    2 +-
 48 files changed, 6135 insertions(+), 902 deletions(-)
 create mode 100644 gdb/gnulib/import/accept.c
 create mode 100644 gdb/gnulib/import/bind.c
 create mode 100644 gdb/gnulib/import/close.c
 create mode 100644 gdb/gnulib/import/dup2.c
 create mode 100644 gdb/gnulib/import/getsockname.c
 create mode 100644 gdb/gnulib/import/listen.c
 create mode 100644 gdb/gnulib/import/m4/close.m4
 create mode 100644 gdb/gnulib/import/m4/dup2.m4
 create mode 100644 gdb/gnulib/import/m4/select.m4
 create mode 100644 gdb/gnulib/import/m4/signal_h.m4
 create mode 100644 gdb/gnulib/import/m4/sys_select_h.m4
 create mode 100644 gdb/gnulib/import/m4/sys_time_h.m4
 create mode 100644 gdb/gnulib/import/recv.c
 create mode 100644 gdb/gnulib/import/select.c
 create mode 100644 gdb/gnulib/import/send.c
 create mode 100644 gdb/gnulib/import/setsockopt.c
 create mode 100644 gdb/gnulib/import/signal.in.h
 create mode 100644 gdb/gnulib/import/socket.c
 create mode 100644 gdb/gnulib/import/sys_select.in.h
 create mode 100644 gdb/gnulib/import/sys_time.in.h
 create mode 100644 gdb/testsuite/gdb.arch/i386-float.S
 create mode 100644 gdb/testsuite/gdb.arch/i386-float.exp

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index be6dd52..22cf440 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2013-04-19  Nick Clifton  <nickc@redhat.com>
+
+	PR binutils/15356
+	* compress.c (decompress_contents): Always call inflateEnd, even
+	when another inflation operation fails.
+
 2013-04-17  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* elf-ifunc.c: Update copyright year.
diff --git a/bfd/version.h b/bfd/version.h
index a1afd19..e5462d7 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20130418
+#define BFD_VERSION_DATE 20130419
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 85c3245..80fb6de 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2013-04-19  Vladimir Kargov <kargov@gmail.com>
+	    Pedro Alves  <palves@redhat.com>
+
+	* i387-tdep.c (i387_print_float_info): Use gdb_byte for pointer to
+	value contents.
+
 2013-04-17  Doug Evans  <dje@google.com>
 
 	* dwarf2read.c (struct signatured_type): New member type.
diff --git a/gdb/config.in b/gdb/config.in
index fa2220e..18c7b92 100644
--- a/gdb/config.in
+++ b/gdb/config.in
@@ -572,6 +572,9 @@
 /* Define to 1 if you have the `wresize' function. */
 #undef HAVE_WRESIZE
 
+/* Define to 1 if you have the <ws2tcpip.h> header file. */
+#undef HAVE_WS2TCPIP_H
+
 /* Define to 1 if you have the `XML_StopParser' function. */
 #undef HAVE_XML_STOPPARSER
 
diff --git a/gdb/configure b/gdb/configure
index f9d9a17..c0a1812 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -8912,7 +8912,7 @@ for ac_header in nlist.h machine/reg.h poll.h sys/poll.h proc_service.h \
 		  sys/reg.h sys/debugreg.h sys/select.h sys/syscall.h \
 		  sys/types.h sys/wait.h wait.h termios.h termio.h \
 		  sgtty.h unistd.h elf_hp.h locale.h \
-		  dlfcn.h sys/socket.h sys/un.h linux/perf_event.h
+		  dlfcn.h sys/socket.h ws2tcpip.h sys/un.h linux/perf_event.h
 do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
diff --git a/gdb/configure.ac b/gdb/configure.ac
index ce6fa7a..97f1420 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -1090,7 +1090,7 @@ AC_CHECK_HEADERS([nlist.h machine/reg.h poll.h sys/poll.h proc_service.h \
 		  sys/reg.h sys/debugreg.h sys/select.h sys/syscall.h \
 		  sys/types.h sys/wait.h wait.h termios.h termio.h \
 		  sgtty.h unistd.h elf_hp.h locale.h \
-		  dlfcn.h sys/socket.h sys/un.h linux/perf_event.h])
+		  dlfcn.h sys/socket.h ws2tcpip.h sys/un.h linux/perf_event.h])
 AC_CHECK_HEADERS(link.h, [], [],
 [#if HAVE_SYS_TYPES_H
 # include <sys/types.h>
diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in
index faa0098..b10397e 100644
--- a/gdb/gdbserver/Makefile.in
+++ b/gdb/gdbserver/Makefile.in
@@ -283,7 +283,7 @@ all-lib: $(GNULIB_BUILDDIR)/Makefile
 gdbreplay$(EXEEXT): $(GDBREPLAY_OBS)
 	rm -f gdbreplay$(EXEEXT)
 	${CC-LD} $(INTERNAL_CFLAGS) $(INTERNAL_LDFLAGS) -o gdbreplay$(EXEEXT) $(GDBREPLAY_OBS) \
-	  $(XM_CLIBS)
+	  $(LIBGNU) $(XM_CLIBS)
 
 IPA_OBJS=ax-ipa.o tracepoint-ipa.o format-ipa.o utils-ipa.o regcache-ipa.o remote-utils-ipa.o common-utils-ipa.o ${IPA_DEPFILES}
 
diff --git a/gdb/gdbserver/config.in b/gdb/gdbserver/config.in
index 35a836d..77e75e2 100644
--- a/gdb/gdbserver/config.in
+++ b/gdb/gdbserver/config.in
@@ -226,6 +226,9 @@
 /* Define to 1 if you have the <wait.h> header file. */
 #undef HAVE_WAIT_H
 
+/* Define to 1 if you have the <ws2tcpip.h> header file. */
+#undef HAVE_WS2TCPIP_H
+
 /* Checking if errno must be defined */
 #undef MUST_DEFINE_ERRNO
 
diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure
index 5a56183..6fea6ae 100755
--- a/gdb/gdbserver/configure
+++ b/gdb/gdbserver/configure
@@ -4781,7 +4781,7 @@ $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cach
   cd "$ac_popdir"
 
 
-for ac_header in sgtty.h termio.h termios.h sys/reg.h string.h 		 proc_service.h sys/procfs.h thread_db.h linux/elf.h 		 stdlib.h unistd.h 		 errno.h fcntl.h signal.h sys/file.h malloc.h 		 sys/ioctl.h netinet/in.h sys/socket.h netdb.h 		 netinet/tcp.h arpa/inet.h sys/wait.h wait.h sys/un.h 		 linux/perf_event.h
+for ac_header in sgtty.h termio.h termios.h sys/reg.h string.h 		 proc_service.h sys/procfs.h thread_db.h linux/elf.h 		 stdlib.h unistd.h 		 errno.h fcntl.h signal.h sys/file.h malloc.h 		 sys/ioctl.h netinet/in.h sys/socket.h ws2tcpip.h netdb.h 		 netinet/tcp.h arpa/inet.h sys/wait.h wait.h sys/un.h 		 linux/perf_event.h
 do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
diff --git a/gdb/gdbserver/configure.ac b/gdb/gdbserver/configure.ac
index fdd8918..0a5fccd 100644
--- a/gdb/gdbserver/configure.ac
+++ b/gdb/gdbserver/configure.ac
@@ -67,8 +67,8 @@ AC_CHECK_HEADERS(sgtty.h termio.h termios.h sys/reg.h string.h dnl
 		 proc_service.h sys/procfs.h thread_db.h linux/elf.h dnl
 		 stdlib.h unistd.h dnl
 		 errno.h fcntl.h signal.h sys/file.h malloc.h dnl
-		 sys/ioctl.h netinet/in.h sys/socket.h netdb.h dnl
-		 netinet/tcp.h arpa/inet.h sys/wait.h wait.h sys/un.h dnl
+		 sys/ioctl.h netinet/in.h sys/socket.h ws2tcpip.h netdb.h dnl
+		 netinet/tcp.h sys/wait.h wait.h sys/un.h dnl
 		 linux/perf_event.h)
 AC_CHECK_FUNCS(pread pwrite pread64 readlink)
 AC_REPLACE_FUNCS(vasprintf vsnprintf)
diff --git a/gdb/gdbserver/gdbreplay.c b/gdb/gdbserver/gdbreplay.c
index 1cd0ebe..18dd360 100644
--- a/gdb/gdbserver/gdbreplay.c
+++ b/gdb/gdbserver/gdbreplay.c
@@ -64,6 +64,9 @@
 #if USE_WIN32API
 #include <winsock2.h>
 #endif
+#ifdef HAVE_WS2TCPIP_H
+#include <ws2tcpip.h>
+#endif
 
 #ifndef HAVE_SOCKLEN_T
 typedef int socklen_t;
@@ -205,7 +208,7 @@ bind_socket (struct addrinfo *addrinfo_base, int family)
 
       /* Allow rapid reuse of this port. */
       i = 1;
-      setsockopt (fd, SOL_SOCKET, SO_REUSEADDR, &i, sizeof (i));
+      setsockopt (fd, SOL_SOCKET, SO_REUSEADDR, (const void *) &i, sizeof (i));
 
       if (bind (fd, addrinfo->ai_addr, addrinfo->ai_addrlen) == 0
 	  && listen (fd, 1) == 0)
@@ -290,12 +293,14 @@ remote_open (char *name)
 
   /* Enable TCP keep alive process. */
   i = 1;
-  setsockopt (tmp_desc, SOL_SOCKET, SO_KEEPALIVE, &i, sizeof (i));
+  setsockopt (tmp_desc, SOL_SOCKET, SO_KEEPALIVE, (const void *) &i,
+	      sizeof (i));
 
   /* Tell TCP not to delay small packets.  This greatly speeds up
      interactive response. */
   i = 1;
-  setsockopt (remote_desc, IPPROTO_TCP, TCP_NODELAY, &i, sizeof (i));
+  setsockopt (remote_desc, IPPROTO_TCP, TCP_NODELAY, (const void *) &i,
+              sizeof (i));
 
 #ifndef USE_WIN32API
   close (tmp_desc);		/* No longer need this */
diff --git a/gdb/gdbserver/remote-utils.c b/gdb/gdbserver/remote-utils.c
index e018f91..7ff5725 100644
--- a/gdb/gdbserver/remote-utils.c
+++ b/gdb/gdbserver/remote-utils.c
@@ -53,9 +53,8 @@
 #if HAVE_UNISTD_H
 #include <unistd.h>
 #endif
-#if HAVE_ARPA_INET_H
 #include <arpa/inet.h>
-#endif
+#include <sys/select.h>
 #include "gdb_stat.h"
 #if HAVE_ERRNO_H
 #include <errno.h>
@@ -64,6 +63,9 @@
 #if USE_WIN32API
 #include <winsock2.h>
 #endif
+#ifdef HAVE_WS2TCPIP_H
+#include <ws2tcpip.h>
+#endif
 
 #if __QNX__
 #include <sys/iomgr.h>
@@ -172,12 +174,14 @@ handle_accept_event (int err, gdb_client_data client_data)
 
   /* Enable TCP keep alive process. */
   i = 1;
-  setsockopt (remote_desc, SOL_SOCKET, SO_KEEPALIVE, &i, sizeof (i));
+  setsockopt (remote_desc, SOL_SOCKET, SO_KEEPALIVE, (const void *) &i,
+	      sizeof (i));
 
   /* Tell TCP not to delay small packets.  This greatly speeds up
      interactive response. */
   i = 1;
-  setsockopt (remote_desc, IPPROTO_TCP, TCP_NODELAY, &i, sizeof (i));
+  setsockopt (remote_desc, IPPROTO_TCP, TCP_NODELAY, (const void *) &i,
+	      sizeof (i));
 
 #ifndef USE_WIN32API
   signal (SIGPIPE, SIG_IGN);	/* If we don't do this, then gdbserver simply
@@ -257,7 +261,7 @@ bind_socket (struct addrinfo *addrinfo_base, int family)
 
       /* Allow rapid reuse of this port. */
       i = 1;
-      setsockopt (fd, SOL_SOCKET, SO_REUSEADDR, &i, sizeof (i));
+      setsockopt (fd, SOL_SOCKET, SO_REUSEADDR, (const void *) &i, sizeof (i));
 
       if (bind (fd, addrinfo->ai_addr, addrinfo->ai_addrlen) == 0
 	  && listen (fd, 1) == 0)
diff --git a/gdb/gnulib/Makefile.in b/gdb/gnulib/Makefile.in
index 804727b..97004c1 100644
--- a/gdb/gnulib/Makefile.in
+++ b/gdb/gnulib/Makefile.in
@@ -210,8 +210,10 @@ aclocal_m4_deps = \
 	import/m4/00gnulib.m4 \
 	import/m4/alloca.m4 \
 	import/m4/arpa_inet_h.m4 \
+	import/m4/close.m4 \
 	import/m4/codeset.m4 \
 	import/m4/configmake.m4 \
+	import/m4/dup2.m4 \
 	import/m4/errno_h.m4 \
 	import/m4/exponentd.m4 \
 	import/m4/extensions.m4 \
@@ -254,7 +256,9 @@ aclocal_m4_deps = \
 	import/m4/off_t.m4 \
 	import/m4/onceonly.m4 \
 	import/m4/printf.m4 \
+	import/m4/select.m4 \
 	import/m4/servent.m4 \
+	import/m4/signal_h.m4 \
 	import/m4/size_max.m4 \
 	import/m4/snprintf.m4 \
 	import/m4/socketlib.m4 \
@@ -269,7 +273,9 @@ aclocal_m4_deps = \
 	import/m4/stdint_h.m4 \
 	import/m4/stdio_h.m4 \
 	import/m4/string_h.m4 \
+	import/m4/sys_select_h.m4 \
 	import/m4/sys_socket_h.m4 \
+	import/m4/sys_time_h.m4 \
 	import/m4/sys_types_h.m4 \
 	import/m4/sys_uio_h.m4 \
 	import/m4/unistd_h.m4 \
diff --git a/gdb/gnulib/aclocal.m4 b/gdb/gnulib/aclocal.m4
index 5a2fdf1..dc183e7 100644
--- a/gdb/gnulib/aclocal.m4
+++ b/gdb/gnulib/aclocal.m4
@@ -1015,8 +1015,10 @@ AC_SUBST([am__untar])
 m4_include([import/m4/00gnulib.m4])
 m4_include([import/m4/alloca.m4])
 m4_include([import/m4/arpa_inet_h.m4])
+m4_include([import/m4/close.m4])
 m4_include([import/m4/codeset.m4])
 m4_include([import/m4/configmake.m4])
+m4_include([import/m4/dup2.m4])
 m4_include([import/m4/errno_h.m4])
 m4_include([import/m4/exponentd.m4])
 m4_include([import/m4/extensions.m4])
@@ -1056,7 +1058,9 @@ m4_include([import/m4/netinet_in_h.m4])
 m4_include([import/m4/off_t.m4])
 m4_include([import/m4/onceonly.m4])
 m4_include([import/m4/printf.m4])
+m4_include([import/m4/select.m4])
 m4_include([import/m4/servent.m4])
+m4_include([import/m4/signal_h.m4])
 m4_include([import/m4/size_max.m4])
 m4_include([import/m4/snprintf.m4])
 m4_include([import/m4/socketlib.m4])
@@ -1071,7 +1075,9 @@ m4_include([import/m4/stdint.m4])
 m4_include([import/m4/stdint_h.m4])
 m4_include([import/m4/stdio_h.m4])
 m4_include([import/m4/string_h.m4])
+m4_include([import/m4/sys_select_h.m4])
 m4_include([import/m4/sys_socket_h.m4])
+m4_include([import/m4/sys_time_h.m4])
 m4_include([import/m4/sys_types_h.m4])
 m4_include([import/m4/sys_uio_h.m4])
 m4_include([import/m4/unistd_h.m4])
diff --git a/gdb/gnulib/config.in b/gdb/gnulib/config.in
index 73d4fe7..6d61c3c 100644
--- a/gdb/gnulib/config.in
+++ b/gdb/gnulib/config.in
@@ -45,9 +45,27 @@
    whether the gnulib module snprintf shall be considered present. */
 #undef GNULIB_SNPRINTF
 
+/* Define to 1 when the gnulib module accept should be tested. */
+#undef GNULIB_TEST_ACCEPT
+
+/* Define to 1 when the gnulib module bind should be tested. */
+#undef GNULIB_TEST_BIND
+
+/* Define to 1 when the gnulib module close should be tested. */
+#undef GNULIB_TEST_CLOSE
+
+/* Define to 1 when the gnulib module dup2 should be tested. */
+#undef GNULIB_TEST_DUP2
+
 /* Define to 1 when the gnulib module getaddrinfo should be tested. */
 #undef GNULIB_TEST_GETADDRINFO
 
+/* Define to 1 when the gnulib module getsockname should be tested. */
+#undef GNULIB_TEST_GETSOCKNAME
+
+/* Define to 1 when the gnulib module listen should be tested. */
+#undef GNULIB_TEST_LISTEN
+
 /* Define to 1 when the gnulib module mbrtowc should be tested. */
 #undef GNULIB_TEST_MBRTOWC
 
@@ -63,9 +81,24 @@
 /* Define to 1 when the gnulib module memmem should be tested. */
 #undef GNULIB_TEST_MEMMEM
 
+/* Define to 1 when the gnulib module recv should be tested. */
+#undef GNULIB_TEST_RECV
+
+/* Define to 1 when the gnulib module select should be tested. */
+#undef GNULIB_TEST_SELECT
+
+/* Define to 1 when the gnulib module send should be tested. */
+#undef GNULIB_TEST_SEND
+
+/* Define to 1 when the gnulib module setsockopt should be tested. */
+#undef GNULIB_TEST_SETSOCKOPT
+
 /* Define to 1 when the gnulib module snprintf should be tested. */
 #undef GNULIB_TEST_SNPRINTF
 
+/* Define to 1 when the gnulib module socket should be tested. */
+#undef GNULIB_TEST_SOCKET
+
 /* Define to 1 if you have 'alloca' after including <alloca.h>, a header that
    may be supplied by this distribution. */
 #undef HAVE_ALLOCA
@@ -147,6 +180,9 @@
    don't. */
 #undef HAVE_DECL__SNPRINTF
 
+/* Define to 1 if you have the 'dup2' function. */
+#undef HAVE_DUP2
+
 /* Define to 1 if you have the <features.h> header file. */
 #undef HAVE_FEATURES_H
 
@@ -360,6 +396,9 @@
 /* Define to 1 if getsockopt is declared even after undefining macros. */
 #undef HAVE_RAW_DECL_GETSOCKOPT
 
+/* Define to 1 if gettimeofday is declared even after undefining macros. */
+#undef HAVE_RAW_DECL_GETTIMEOFDAY
+
 /* Define to 1 if getusershell is declared even after undefining macros. */
 #undef HAVE_RAW_DECL_GETUSERSHELL
 
@@ -438,6 +477,12 @@
 /* Define to 1 if pread is declared even after undefining macros. */
 #undef HAVE_RAW_DECL_PREAD
 
+/* Define to 1 if pselect is declared even after undefining macros. */
+#undef HAVE_RAW_DECL_PSELECT
+
+/* Define to 1 if pthread_sigmask is declared even after undefining macros. */
+#undef HAVE_RAW_DECL_PTHREAD_SIGMASK
+
 /* Define to 1 if pwrite is declared even after undefining macros. */
 #undef HAVE_RAW_DECL_PWRITE
 
@@ -462,6 +507,9 @@
 /* Define to 1 if rmdir is declared even after undefining macros. */
 #undef HAVE_RAW_DECL_RMDIR
 
+/* Define to 1 if select is declared even after undefining macros. */
+#undef HAVE_RAW_DECL_SELECT
+
 /* Define to 1 if send is declared even after undefining macros. */
 #undef HAVE_RAW_DECL_SEND
 
@@ -480,6 +528,30 @@
 /* Define to 1 if shutdown is declared even after undefining macros. */
 #undef HAVE_RAW_DECL_SHUTDOWN
 
+/* Define to 1 if sigaction is declared even after undefining macros. */
+#undef HAVE_RAW_DECL_SIGACTION
+
+/* Define to 1 if sigaddset is declared even after undefining macros. */
+#undef HAVE_RAW_DECL_SIGADDSET
+
+/* Define to 1 if sigdelset is declared even after undefining macros. */
+#undef HAVE_RAW_DECL_SIGDELSET
+
+/* Define to 1 if sigemptyset is declared even after undefining macros. */
+#undef HAVE_RAW_DECL_SIGEMPTYSET
+
+/* Define to 1 if sigfillset is declared even after undefining macros. */
+#undef HAVE_RAW_DECL_SIGFILLSET
+
+/* Define to 1 if sigismember is declared even after undefining macros. */
+#undef HAVE_RAW_DECL_SIGISMEMBER
+
+/* Define to 1 if sigpending is declared even after undefining macros. */
+#undef HAVE_RAW_DECL_SIGPENDING
+
+/* Define to 1 if sigprocmask is declared even after undefining macros. */
+#undef HAVE_RAW_DECL_SIGPROCMASK
+
 /* Define to 1 if sleep is declared even after undefining macros. */
 #undef HAVE_RAW_DECL_SLEEP
 
@@ -687,6 +759,9 @@
 /* Define to 1 if 'wint_t' is a signed integer type. */
 #undef HAVE_SIGNED_WINT_T
 
+/* Define to 1 if the system has the type `sigset_t'. */
+#undef HAVE_SIGSET_T
+
 /* Define to 1 if you have the `snprintf' function. */
 #undef HAVE_SNPRINTF
 
@@ -738,12 +813,18 @@
 /* Define to 1 if you have the <sys/mman.h> header file. */
 #undef HAVE_SYS_MMAN_H
 
+/* Define to 1 if you have the <sys/select.h> header file. */
+#undef HAVE_SYS_SELECT_H
+
 /* Define to 1 if you have the <sys/socket.h> header file. */
 #undef HAVE_SYS_SOCKET_H
 
 /* Define to 1 if you have the <sys/stat.h> header file. */
 #undef HAVE_SYS_STAT_H
 
+/* Define to 1 if you have the <sys/time.h> header file. */
+#undef HAVE_SYS_TIME_H
+
 /* Define to 1 if you have the <sys/types.h> header file. */
 #undef HAVE_SYS_TYPES_H
 
@@ -1022,6 +1103,9 @@
 /* Define to a replacement function name for fnmatch(). */
 #undef fnmatch
 
+/* Define to `int' if <sys/types.h> doesn't define. */
+#undef gid_t
+
 /* Define to `__inline__' or `__inline' if that's what the C compiler
    calls it, or to nothing if 'inline' is not supported under any name.  */
 #ifndef __cplusplus
@@ -1077,6 +1161,9 @@
 /* Define as a signed type of the same size as size_t. */
 #undef ssize_t
 
+/* Define to `int' if <sys/types.h> doesn't define. */
+#undef uid_t
+
 /* Define as a marker that can be attached to declarations that might not
     be used.  This helps to reduce warnings, such as from
     GCC -Wunused-parameter.  */
diff --git a/gdb/gnulib/configure b/gdb/gnulib/configure
index 95e09c7..795f462 100644
--- a/gdb/gnulib/configure
+++ b/gdb/gnulib/configure
@@ -589,8 +589,8 @@ ac_includes_default="\
 #endif"
 
 gl_header_list=
-gl_fnmatch_required=POSIX
 gl_func_list=
+gl_fnmatch_required=POSIX
 ac_subst_vars='am__EXEEXT_FALSE
 am__EXEEXT_TRUE
 gltests_LTLIBOBJS
@@ -661,6 +661,14 @@ NEXT_SYS_UIO_H
 WINDOWS_64_BIT_OFF_T
 NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H
 NEXT_SYS_TYPES_H
+NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H
+NEXT_SYS_TIME_H
+REPLACE_STRUCT_TIMEVAL
+REPLACE_GETTIMEOFDAY
+HAVE_SYS_TIME_H
+HAVE_STRUCT_TIMEVAL
+HAVE_GETTIMEOFDAY
+GNULIB_GETTIMEOFDAY


hooks/post-receive
--
Repository for Project Archer.


             reply	other threads:[~2013-04-19 18:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-19 18:43 jkratoch [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-04-22 19:36 jkratoch
2013-04-18 20:00 jkratoch
2013-04-15 20:10 jkratoch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130419184340.14659.qmail@sourceware.org \
    --to=jkratoch@sourceware.org \
    --cc=archer-commits@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).