diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/bfd/doc/bfdver.texi ./bfd/doc/bfdver.texi
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/bfd/doc/bfdver.texi	2017-05-31 02:08:17.000000000 +0000
+++ ./bfd/doc/bfdver.texi	2017-06-01 02:06:39.000000000 +0000
@@ -1,4 +1,4 @@
 @set VERSION 2.28.51
 @set VERSION_PACKAGE (GNU Binutils) 
-@set UPDATED May 2017
+@set UPDATED June 2017
 @set BUGURL @uref{http://www.sourceware.org/bugzilla/}
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/bfd/version.h ./bfd/version.h
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/bfd/version.h	2017-05-31 02:06:06.000000000 +0000
+++ ./bfd/version.h	2017-06-01 02:04:28.000000000 +0000
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20170531
+#define BFD_VERSION_DATE 20170601
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/djunpack.bat ./djunpack.bat
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/djunpack.bat	2017-05-31 02:10:52.000000000 +0000
+++ ./djunpack.bat	2017-06-01 02:09:04.000000000 +0000
@@ -17,8 +17,8 @@ Rem
 Rem The following 2 lines need to be changed with each new GDB release, to
 Rem be identical to the name of the top-level directory where the GDB
 Rem distribution unpacks itself.
-set GDBVER=$package-7.99.91.20170531
-if "%GDBVER%"=="$package-7.99.91.20170531" GoTo EnvOk
+set GDBVER=$package-7.99.91.20170601
+if "%GDBVER%"=="$package-7.99.91.20170601" GoTo EnvOk
 Rem If their environment space is too small, re-exec with a larger one
 command.com /e:4096 /c %0 %1
 GoTo End
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/gdb/doc/gcore.1 ./gdb/doc/gcore.1
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/gdb/doc/gcore.1	2017-05-31 02:10:46.000000000 +0000
+++ ./gdb/doc/gcore.1	2017-06-01 02:08:57.000000000 +0000
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "GCORE 1"
-.TH GCORE 1 "2017-05-31" "gdb-7.99.91.20170531-git" "GNU Development Tools"
+.TH GCORE 1 "2017-06-01" "gdb-7.99.91.20170601-git" "GNU Development Tools"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/gdb/doc/gdb.1 ./gdb/doc/gdb.1
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/gdb/doc/gdb.1	2017-05-31 02:10:45.000000000 +0000
+++ ./gdb/doc/gdb.1	2017-06-01 02:08:56.000000000 +0000
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "GDB 1"
-.TH GDB 1 "2017-05-31" "gdb-7.99.91.20170531-git" "GNU Development Tools"
+.TH GDB 1 "2017-06-01" "gdb-7.99.91.20170601-git" "GNU Development Tools"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/gdb/doc/gdb.info ./gdb/doc/gdb.info
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/gdb/doc/gdb.info	2017-05-31 02:10:42.000000000 +0000
+++ ./gdb/doc/gdb.info	2017-06-01 02:08:53.000000000 +0000
@@ -21,7 +21,7 @@ END-INFO-DIR-ENTRY
    This file documents the GNU debugger GDB.
 
    This is the Tenth Edition, of 'Debugging with GDB: the GNU
-Source-Level Debugger' for GDB (GDB) Version 7.99.91.20170531-git.
+Source-Level Debugger' for GDB (GDB) Version 7.99.91.20170601-git.
 
    Copyright (C) 1988-2017 Free Software Foundation, Inc.
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/gdb/doc/gdb.info-1 ./gdb/doc/gdb.info-1
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/gdb/doc/gdb.info-1	2017-05-31 02:10:30.000000000 +0000
+++ ./gdb/doc/gdb.info-1	2017-06-01 02:08:40.000000000 +0000
@@ -21,7 +21,7 @@ END-INFO-DIR-ENTRY
    This file documents the GNU debugger GDB.
 
    This is the Tenth Edition, of 'Debugging with GDB: the GNU
-Source-Level Debugger' for GDB (GDB) Version 7.99.91.20170531-git.
+Source-Level Debugger' for GDB (GDB) Version 7.99.91.20170601-git.
 
    Copyright (C) 1988-2017 Free Software Foundation, Inc.
 
@@ -45,7 +45,7 @@ Debugging with GDB
 This file describes GDB, the GNU symbolic debugger.
 
    This is the Tenth Edition, for GDB (GDB) Version
-7.99.91.20170531-git.
+7.99.91.20170601-git.
 
    Copyright (C) 1988-2017 Free Software Foundation, Inc.
 
@@ -497,7 +497,7 @@ Let us use GDB to try to see what is goi
      There is absolutely no warranty for GDB; type "show warranty"
       for details.
 
-     GDB 7.99.91.20170531-git, Copyright 1999 Free Software Foundation, Inc...
+     GDB 7.99.91.20170601-git, Copyright 1999 Free Software Foundation, Inc...
      (gdb)
 
 GDB reads only enough symbol data to know where to find the rest when
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/gdb/doc/gdb.info-2 ./gdb/doc/gdb.info-2
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/gdb/doc/gdb.info-2	2017-05-31 02:10:33.000000000 +0000
+++ ./gdb/doc/gdb.info-2	2017-06-01 02:08:42.000000000 +0000
@@ -21,7 +21,7 @@ END-INFO-DIR-ENTRY
    This file documents the GNU debugger GDB.
 
    This is the Tenth Edition, of 'Debugging with GDB: the GNU
-Source-Level Debugger' for GDB (GDB) Version 7.99.91.20170531-git.
+Source-Level Debugger' for GDB (GDB) Version 7.99.91.20170601-git.
 
    Copyright (C) 1988-2017 Free Software Foundation, Inc.
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/gdb/doc/gdb.info-3 ./gdb/doc/gdb.info-3
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/gdb/doc/gdb.info-3	2017-05-31 02:10:34.000000000 +0000
+++ ./gdb/doc/gdb.info-3	2017-06-01 02:08:44.000000000 +0000
@@ -21,7 +21,7 @@ END-INFO-DIR-ENTRY
    This file documents the GNU debugger GDB.
 
    This is the Tenth Edition, of 'Debugging with GDB: the GNU
-Source-Level Debugger' for GDB (GDB) Version 7.99.91.20170531-git.
+Source-Level Debugger' for GDB (GDB) Version 7.99.91.20170601-git.
 
    Copyright (C) 1988-2017 Free Software Foundation, Inc.
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/gdb/doc/gdb.info-4 ./gdb/doc/gdb.info-4
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/gdb/doc/gdb.info-4	2017-05-31 02:10:37.000000000 +0000
+++ ./gdb/doc/gdb.info-4	2017-06-01 02:08:47.000000000 +0000
@@ -21,7 +21,7 @@ END-INFO-DIR-ENTRY
    This file documents the GNU debugger GDB.
 
    This is the Tenth Edition, of 'Debugging with GDB: the GNU
-Source-Level Debugger' for GDB (GDB) Version 7.99.91.20170531-git.
+Source-Level Debugger' for GDB (GDB) Version 7.99.91.20170601-git.
 
    Copyright (C) 1988-2017 Free Software Foundation, Inc.
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/gdb/doc/gdb.info-5 ./gdb/doc/gdb.info-5
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/gdb/doc/gdb.info-5	2017-05-31 02:10:39.000000000 +0000
+++ ./gdb/doc/gdb.info-5	2017-06-01 02:08:49.000000000 +0000
@@ -21,7 +21,7 @@ END-INFO-DIR-ENTRY
    This file documents the GNU debugger GDB.
 
    This is the Tenth Edition, of 'Debugging with GDB: the GNU
-Source-Level Debugger' for GDB (GDB) Version 7.99.91.20170531-git.
+Source-Level Debugger' for GDB (GDB) Version 7.99.91.20170601-git.
 
    Copyright (C) 1988-2017 Free Software Foundation, Inc.
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/gdb/doc/gdb.info-6 ./gdb/doc/gdb.info-6
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/gdb/doc/gdb.info-6	2017-05-31 02:10:41.000000000 +0000
+++ ./gdb/doc/gdb.info-6	2017-06-01 02:08:51.000000000 +0000
@@ -21,7 +21,7 @@ END-INFO-DIR-ENTRY
    This file documents the GNU debugger GDB.
 
    This is the Tenth Edition, of 'Debugging with GDB: the GNU
-Source-Level Debugger' for GDB (GDB) Version 7.99.91.20170531-git.
+Source-Level Debugger' for GDB (GDB) Version 7.99.91.20170601-git.
 
    Copyright (C) 1988-2017 Free Software Foundation, Inc.
 
@@ -918,7 +918,7 @@ and TeX (or 'texi2roff') to typeset the 
 
    GDB includes an already formatted copy of the on-line Info version of
 this manual in the 'gdb' subdirectory.  The main Info file is
-'gdb-7.99.91.20170531-git/gdb/gdb.info', and it refers to subordinate
+'gdb-7.99.91.20170601-git/gdb/gdb.info', and it refers to subordinate
 files matching 'gdb.info*' in the same directory.  If necessary, you can
 print out these files, or read them with any editor; but they are easier
 to read using the 'info' subsystem in GNU Emacs or the standalone 'info'
@@ -928,8 +928,8 @@ program, available as part of the GNU Te
 Info formatting programs, such as 'texinfo-format-buffer' or 'makeinfo'.
 
    If you have 'makeinfo' installed, and are in the top level GDB source
-directory ('gdb-7.99.91.20170531-git', in the case of version
-7.99.91.20170531-git), you can make the Info file by typing:
+directory ('gdb-7.99.91.20170601-git', in the case of version
+7.99.91.20170601-git), you can make the Info file by typing:
 
      cd gdb
      make gdb.info
@@ -954,7 +954,7 @@ On its own, TeX cannot either read or ty
 
    If you have TeX and a DVI printer program installed, you can typeset
 and print this manual.  First switch to the 'gdb' subdirectory of the
-main source directory (for example, to 'gdb-7.99.91.20170531-git/gdb')
+main source directory (for example, to 'gdb-7.99.91.20170601-git/gdb')
 and type:
 
      make gdb.dvi
@@ -963,8 +963,8 @@ and type:
 
    ---------- Footnotes ----------
 
-   (1) In 'gdb-7.99.91.20170531-git/gdb/refcard.ps' of the version
-7.99.91.20170531-git release.
+   (1) In 'gdb-7.99.91.20170601-git/gdb/refcard.ps' of the version
+7.99.91.20170601-git release.
 
 
 File: gdb.info,  Node: Installing GDB,  Next: Maintenance Commands,  Prev: Formatting Documentation,  Up: Top
@@ -1068,39 +1068,39 @@ preparing GDB for installation; you can 
 a single directory, whose name is usually composed by appending the
 version number to 'gdb'.
 
-   For example, the GDB version 7.99.91.20170531-git distribution is in
-the 'gdb-7.99.91.20170531-git' directory.  That directory contains:
+   For example, the GDB version 7.99.91.20170601-git distribution is in
+the 'gdb-7.99.91.20170601-git' directory.  That directory contains:
 
-'gdb-7.99.91.20170531-git/configure (and supporting files)'
+'gdb-7.99.91.20170601-git/configure (and supporting files)'
      script for configuring GDB and all its supporting libraries
 
-'gdb-7.99.91.20170531-git/gdb'
+'gdb-7.99.91.20170601-git/gdb'
      the source specific to GDB itself
 
-'gdb-7.99.91.20170531-git/bfd'
+'gdb-7.99.91.20170601-git/bfd'
      source for the Binary File Descriptor library
 
-'gdb-7.99.91.20170531-git/include'
+'gdb-7.99.91.20170601-git/include'
      GNU include files
 
-'gdb-7.99.91.20170531-git/libiberty'
+'gdb-7.99.91.20170601-git/libiberty'
      source for the '-liberty' free software library
 
-'gdb-7.99.91.20170531-git/opcodes'
+'gdb-7.99.91.20170601-git/opcodes'
      source for the library of opcode tables and disassemblers
 
-'gdb-7.99.91.20170531-git/readline'
+'gdb-7.99.91.20170601-git/readline'
      source for the GNU command-line interface
 
-'gdb-7.99.91.20170531-git/glob'
+'gdb-7.99.91.20170601-git/glob'
      source for the GNU filename pattern-matching subroutine
 
-'gdb-7.99.91.20170531-git/mmalloc'
+'gdb-7.99.91.20170601-git/mmalloc'
      source for the GNU memory-mapped malloc package
 
    The simplest way to configure and build GDB is to run 'configure'
 from the 'gdb-VERSION-NUMBER' source directory, which in this example is
-the 'gdb-7.99.91.20170531-git' directory.
+the 'gdb-7.99.91.20170601-git' directory.
 
    First switch to the 'gdb-VERSION-NUMBER' source directory if you are
 not already in it; then run 'configure'.  Pass the identifier for the
@@ -1108,7 +1108,7 @@ platform on which GDB will run as an arg
 
    For example:
 
-     cd gdb-7.99.91.20170531-git
+     cd gdb-7.99.91.20170601-git
      ./configure HOST
      make
 
@@ -1130,8 +1130,8 @@ need to run 'sh' on it explicitly:
 
    If you run 'configure' from a directory that contains source
 directories for multiple libraries or programs, such as the
-'gdb-7.99.91.20170531-git' source directory for version
-7.99.91.20170531-git, 'configure' creates configuration files for every
+'gdb-7.99.91.20170601-git' source directory for version
+7.99.91.20170601-git, 'configure' creates configuration files for every
 directory level underneath (unless you tell it not to, with the
 '--norecursion' option).
 
@@ -1171,13 +1171,13 @@ to specify a path to find 'configure' it
 directory.  If the path to 'configure' would be the same as the argument
 to '--srcdir', you can leave out the '--srcdir' option; it is assumed.)
 
-   For example, with version 7.99.91.20170531-git, you can build GDB in
+   For example, with version 7.99.91.20170601-git, you can build GDB in
 a separate directory for a Sun 4 like this:
 
-     cd gdb-7.99.91.20170531-git
+     cd gdb-7.99.91.20170601-git
      mkdir ../gdb-sun4
      cd ../gdb-sun4
-     ../gdb-7.99.91.20170531-git/configure sun4
+     ../gdb-7.99.91.20170601-git/configure sun4
      make
 
    When 'configure' builds a configuration using a remote source
@@ -1188,7 +1188,7 @@ the example, you'd find the Sun 4 librar
 
    Make sure that your path to the 'configure' script has just one
 instance of 'gdb' in it.  If your path to 'configure' looks like
-'../gdb-7.99.91.20170531-git/gdb/configure', you are configuring only
+'../gdb-7.99.91.20170601-git/gdb/configure', you are configuring only
 one subdirectory of GDB, not the whole package.  This leads to build
 errors about missing include files such as 'bfd/bfd.h'.
 
@@ -1204,8 +1204,8 @@ a configured directory--whatever directo
 
    The 'Makefile' that 'configure' generates in each source directory
 also runs recursively.  If you type 'make' in a source directory such as
-'gdb-7.99.91.20170531-git' (or in a separate configured directory
-configured with '--srcdir=DIRNAME/gdb-7.99.91.20170531-git'), you will
+'gdb-7.99.91.20170601-git' (or in a separate configured directory
+configured with '--srcdir=DIRNAME/gdb-7.99.91.20170601-git'), you will
 build all the required libraries, and then build GDB.
 
    When you have multiple hosts or targets configured in separate
@@ -1250,7 +1250,7 @@ you can use it to test your guesses on a
      Invalid configuration `i986v': machine `i986v' not recognized
 
 'config.sub' is also distributed in the GDB source directory
-('gdb-7.99.91.20170531-git', for version 7.99.91.20170531-git).
+('gdb-7.99.91.20170601-git', for version 7.99.91.20170601-git).
 
 
 File: gdb.info,  Node: Configure Options,  Next: System-wide configuration,  Prev: Config Names,  Up: Installing GDB
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/gdb/doc/gdb.info-7 ./gdb/doc/gdb.info-7
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/gdb/doc/gdb.info-7	2017-05-31 02:10:42.000000000 +0000
+++ ./gdb/doc/gdb.info-7	2017-06-01 02:08:53.000000000 +0000
@@ -21,7 +21,7 @@ END-INFO-DIR-ENTRY
    This file documents the GNU debugger GDB.
 
    This is the Tenth Edition, of 'Debugging with GDB: the GNU
-Source-Level Debugger' for GDB (GDB) Version 7.99.91.20170531-git.
+Source-Level Debugger' for GDB (GDB) Version 7.99.91.20170601-git.
 
    Copyright (C) 1988-2017 Free Software Foundation, Inc.
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/gdb/doc/gdbinit.5 ./gdb/doc/gdbinit.5
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/gdb/doc/gdbinit.5	2017-05-31 02:10:46.000000000 +0000
+++ ./gdb/doc/gdbinit.5	2017-06-01 02:08:57.000000000 +0000
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "GDBINIT 5"
-.TH GDBINIT 5 "2017-05-31" "gdb-7.99.91.20170531-git" "GNU Development Tools"
+.TH GDBINIT 5 "2017-06-01" "gdb-7.99.91.20170601-git" "GNU Development Tools"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/gdb/doc/gdbserver.1 ./gdb/doc/gdbserver.1
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/gdb/doc/gdbserver.1	2017-05-31 02:10:45.000000000 +0000
+++ ./gdb/doc/gdbserver.1	2017-06-01 02:08:57.000000000 +0000
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "GDBSERVER 1"
-.TH GDBSERVER 1 "2017-05-31" "gdb-7.99.91.20170531-git" "GNU Development Tools"
+.TH GDBSERVER 1 "2017-06-01" "gdb-7.99.91.20170601-git" "GNU Development Tools"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/gdb/po/gdb.pot ./gdb/po/gdb.pot
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/gdb/po/gdb.pot	2017-05-31 02:10:20.000000000 +0000
+++ ./gdb/po/gdb.pot	2017-06-01 02:08:30.000000000 +0000
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-05-31 02:10+0000\n"
+"POT-Creation-Date: 2017-06-01 02:08+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/include/ChangeLog ./include/ChangeLog
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/include/ChangeLog	2017-05-31 02:06:09.000000000 +0000
+++ ./include/ChangeLog	2017-06-01 02:04:30.000000000 +0000
@@ -1,3 +1,7 @@
+2017-05-31  Eli Zaretskii <eliz@gnu.org>
+
+	* environ.h: Add #ifndef guard.
+
 2017-04-11  Alan Modra  <amodra@gmail.com>
 
 	* opcode/ppc.h (PPC_OPCODE_ALTIVEC2): Delete.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/include/environ.h ./include/environ.h
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/include/environ.h	2017-05-31 02:06:09.000000000 +0000
+++ ./include/environ.h	2017-06-01 02:04:30.000000000 +0000
@@ -27,7 +27,9 @@ Boston, MA 02110-1301, USA.  */
 #     include <crt_externs.h>
 #     define environ (*_NSGetEnviron ())
 #  else
+#    ifndef environ
 extern char **environ;
+#    endif
 #  endif
 #  define HAVE_ENVIRON_DECL
 #endif
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/libiberty/ChangeLog ./libiberty/ChangeLog
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/libiberty/ChangeLog	2017-05-31 02:06:09.000000000 +0000
+++ ./libiberty/ChangeLog	2017-06-01 02:04:31.000000000 +0000
@@ -1,3 +1,14 @@
+2017-05-31  DJ Delorie  <dj@redhat.com>
+
+	* configure.ac (strnlen): Add to AC_CHECK_DECLS.
+	* configure: Likewise.
+	* config.in: Add HACE_DECL_STRNLEN.
+
+2017-05-31  Eli Zaretskii  <eliz@gnu.org>
+
+	* waitpid.c (wait) [__MINGW32__]: Define as a macro
+	that calls _cwait, so that this function works on MinGW.
+
 2017-03-27  Pedro Alves  <palves@redhat.com>
 
 	* cp-demint.c (cplus_demangle_fill_component): Handle
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/libiberty/config.in ./libiberty/config.in
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/libiberty/config.in	2017-05-31 02:06:09.000000000 +0000
+++ ./libiberty/config.in	2017-06-01 02:04:31.000000000 +0000
@@ -79,6 +79,10 @@
    don't. */
 #undef HAVE_DECL_SNPRINTF
 
+/* Define to 1 if you have the declaration of `strnlen', and to 0 if you
+   don't. */
+#undef HAVE_DECL_STRNLEN
+
 /* Define to 1 if you have the declaration of `strtol', and to 0 if you don't.
    */
 #undef HAVE_DECL_STRTOL
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/libiberty/configure ./libiberty/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/libiberty/configure	2017-05-31 02:06:09.000000000 +0000
+++ ./libiberty/configure	2017-06-01 02:04:31.000000000 +0000
@@ -5864,6 +5864,16 @@ fi
 cat >>confdefs.h <<_ACEOF
 #define HAVE_DECL_STRTOULL $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
+if test "x$ac_cv_have_decl_strnlen" = x""yes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_STRNLEN $ac_have_decl
+_ACEOF
 
 
 $as_echo "#define HAVE_SYS_ERRLIST 1" >>confdefs.h
@@ -7005,6 +7015,17 @@ cat >>confdefs.h <<_ACEOF
 #define HAVE_DECL_STRVERSCMP $ac_have_decl
 _ACEOF
 
+  ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
+if test "x$ac_cv_have_decl_strnlen" = x""yes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_STRNLEN $ac_have_decl
+_ACEOF
+
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether canonicalize_file_name must be declared" >&5
 $as_echo_n "checking whether canonicalize_file_name must be declared... " >&6; }
 if test "${libiberty_cv_decl_needed_canonicalize_file_name+set}" = set; then :
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/libiberty/configure.ac ./libiberty/configure.ac
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/libiberty/configure.ac	2017-05-31 02:06:09.000000000 +0000
+++ ./libiberty/configure.ac	2017-06-01 02:04:31.000000000 +0000
@@ -416,7 +416,7 @@ if test "x" = "y"; then
     table times tmpnam \
     vasprintf vfprintf vprintf vsprintf \
     wait3 wait4 waitpid)
-  AC_CHECK_DECLS([basename(char *), ffs, asprintf, vasprintf, snprintf, vsnprintf, strtol, strtoul, strtoll, strtoull])
+  AC_CHECK_DECLS([basename(char *), ffs, asprintf, vasprintf, snprintf, vsnprintf, strtol, strtoul, strtoll, strtoull, strnlen])
   AC_DEFINE(HAVE_SYS_ERRLIST, 1, [Define if you have the sys_errlist variable.])
   AC_DEFINE(HAVE_SYS_NERR,    1, [Define if you have the sys_nerr variable.])
   AC_DEFINE(HAVE_SYS_SIGLIST, 1, [Define if you have the sys_siglist variable.])
@@ -689,6 +689,7 @@ if test -z "${setobjs}"; then
   AC_CHECK_DECLS([calloc, getenv, getopt, malloc, realloc, sbrk])
   AC_CHECK_DECLS([strtol, strtoul, strtoll, strtoull])
   AC_CHECK_DECLS([strverscmp])
+  AC_CHECK_DECLS([strnlen])
   libiberty_NEED_DECLARATION(canonicalize_file_name)
 fi
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/libiberty/waitpid.c ./libiberty/waitpid.c
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/libiberty/waitpid.c	2017-05-31 02:06:09.000000000 +0000
+++ ./libiberty/waitpid.c	2017-06-01 02:04:31.000000000 +0000
@@ -23,6 +23,11 @@ does the return value.  The third argume
 #include <sys/wait.h>
 #endif
 
+#ifdef __MINGW32__
+#include <process.h>
+#define wait(s)  _cwait(s,pid,_WAIT_CHILD)
+#endif
+
 pid_t
 waitpid (pid_t pid, int *stat_loc, int options ATTRIBUTE_UNUSED)
 {
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/md5.sum ./md5.sum
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170531/md5.sum	2017-05-31 02:10:51.000000000 +0000
+++ ./md5.sum	2017-06-01 02:09:04.000000000 +0000
@@ -40,7 +40,7 @@ e7d4af415054fce55bfb5cf36fd85050  bfd/cp
 ce83e510c01d5a9c23bc4747b9e94224  bfd/wasm-module.c
 537786e589ab6658c4d472adf784cf35  bfd/elf64-mips.c
 f166d84c263d357d6eadb7a8d861e7a4  bfd/cpu-m9s12x.c
-28e80f8b38b5ed7a420c3b711fdf2e0f  bfd/version.h
+50f60b93b4a1f08eebb5ca7eb66666d0  bfd/version.h
 a11a835899b8428781e5df11be161cbf  bfd/cpu-tilegx.c
 62e6228170bb7fe9c2be3e62ef96f7e2  bfd/coff-mcore.c
 fc8ec08340f69ae3a4a2e93a0d5f2960  bfd/cpu-avr.c
@@ -226,7 +226,7 @@ afa6e087296ccd84e9a6ea65af9a12b6  bfd/do
 a11231531c5c3cd6e7babf06426a657e  bfd/doc/ChangeLog-9103
 d2b923f7732c26442570c16fd1dfac5a  bfd/doc/hash.texi
 a367ad28d5f897f76354b6d4a709e5e6  bfd/doc/syms.texi
-9af5894063485e39332e267239aa2bf1  bfd/doc/bfdver.texi
+6a2387233557ffa6888ffaccc1927aaf  bfd/doc/bfdver.texi
 6831883451fd9eb525653878bcf6580b  bfd/doc/coffcode.texi
 d3185b1aa26e13ef16c1c673b932111a  bfd/doc/makefile.vms
 41bed6e44d152976718c9d1641bc88ec  bfd/doc/bfd.info
@@ -4864,43 +4864,43 @@ b9f2cba57c8e0b6343e5f9103e2a6e55  gdb/sy
 11eb2baa9f2fbdccdd3266c37f8c4eea  gdb/f-valprint.c
 f5f85e8079fa86e772c5aa368bc2de8a  gdb/gdb_curses.h
 8108dd8f906f2654fecc74958cf383db  gdb/doc/psrc.sed
-9fb644c5de96bd3e98cc125cdcfb6fbb  gdb/doc/gdb.info-3
-1516d2b37d8c6304cd14979125c1bcd4  gdb/doc/gdb.info-4
+9d385141cf0c423d8a5d8589173b7dea  gdb/doc/gdb.info-3
+eca23f9b3a9516610afa371afcc9b1c4  gdb/doc/gdb.info-4
 ab0fe311032294b952da80585b8b90e7  gdb/doc/fdl.texi
 82ff73e69ce7f934c71ca667545d541c  gdb/doc/Makefile.in
-b851257d16271fe7f802a3919673e10d  gdb/doc/gdb.info-7
+3b81aa0053e30d8bb323d61941d53758  gdb/doc/gdb.info-7
 3e88538f371ece70b44cd38bf1a0d646  gdb/doc/observer.texi
-2b8b51177e53352ca37d1309186145c7  gdb/doc/gdbserver.1
+bbe2877a1ca4afdcf9e8619f6c77f039  gdb/doc/gdbserver.1
 25d98e4cfdcb50be474c39fe6ee5a92c  gdb/doc/guile.texi
 f81a0e00e0cb9e41b078069fb9bedb07  gdb/doc/stack_frame.txt
 259d4d661f188d2df9adb15f7893bc4c  gdb/doc/stabs.info
-3eedc707a2fb217e59a5e494e28cf6e4  gdb/doc/gdb.info-5
+3b6d5db8ca2587d7c255ec73f7d32a81  gdb/doc/gdb.info-5
 cfb748e4e7997eb77d81a2d04c17ec75  gdb/doc/agentexpr.texi
 66674dc351ba95941f422dc18cae24bb  gdb/doc/.gitignore
-89b0d2a903a82d816428f28dd646990b  gdb/doc/gdb.info-1
+a523dd445c90637252748142becc9201  gdb/doc/gdb.info-1
 d5d06eaf9b4d44aa442a4a281aa9aea4  gdb/doc/a4rc.sed
-522b3e1690992aa9305430056bcf09dd  gdb/doc/gdb.info-6
+6a62b7650e5db6781564f3714e60de77  gdb/doc/gdb.info-6
 fbd9b7de23befc3047963b8df050c811  gdb/doc/gdb.texinfo
 553b7fe1bf4b5d8b96fdb8cd83503de1  gdb/doc/stack_frame.svg
 04c82b1da7e894a6555868e4f86225af  gdb/doc/filter-for-doxygen
 4fc43d6768cf1e2e354f31afd3977e00  gdb/doc/Doxyfile-gdb-api.in
 f7b5e594a1123b60be255ad99e1fa958  gdb/doc/annotate.info
-1dc2687ebdec66bcbffa37065462f6bd  gdb/doc/gdb.info-2
+f341d6950c83f8b3b0b7f6dc52694977  gdb/doc/gdb.info-2
 f4de6bc91bf36f24e3511b52c0cd8257  gdb/doc/refcard.tex
 6076d300a46651562d4ecd0604442414  gdb/doc/stack_frame.png
-baa463499a3e50acecfdcf813afd4191  gdb/doc/gdb.info
+fdbb87a26ad93413e0f62d0acb604bb4  gdb/doc/gdb.info
 80bb93d40fedd049e5cb1df5f1f38928  gdb/doc/python.texi
 8a4aee08d4127ecb844a633b1f871326  gdb/doc/stabs.texinfo
 2c0fb4cb1ff2e33e19e20230da3b97dd  gdb/doc/ChangeLog
-6d7e0930b8c2643b7764b4b3b32a1c2c  gdb/doc/gdb.1
-ea04256a14ffa1796755c7ad82238819  gdb/doc/gcore.1
+febfa7f63881fc637c0cef8a64cb0ec0  gdb/doc/gdb.1
+1560b76b3bd0b1ab3a6c53b1708dfcb7  gdb/doc/gcore.1
 d39233c86ed6a6dc9e853ae6a11fe03e  gdb/doc/stack_frame.pdf
 591694df493e64e682b16ffd8b2083d9  gdb/doc/Doxyfile-base.in
 66028f53511c3cc83819e12b44647ae8  gdb/doc/all-cfg.texi
 bf96494e6e4d346175babd5ef9781882  gdb/doc/gpl.texi
 cd5e3faa9bd1b684a73c7d527cdb4988  gdb/doc/filter-params.pl
 7bfdb0765c5d050d204fbb30aeeba0d8  gdb/doc/stack_frame.eps
-f5fe6cbd654b02b910767cf94548be36  gdb/doc/gdbinit.5
+ac075350b238bcc5f453778ad258289b  gdb/doc/gdbinit.5
 1192f4fe7137f234e4e775edad1f6b67  gdb/doc/Doxyfile-gdb-xref.in
 3dbfac6a018cf4a1cdba9576425d37ad  gdb/doc/annotate.texinfo
 ad3c3c9a187c8d44e9afe447d27b59fc  gdb/doc/doxy-index.in
@@ -5407,7 +5407,7 @@ b111794daa7eb645b4756e94632999a2  gdb/so
 eb070d698546d2249970d33257b7fb58  gdb/std-regs.c
 ebf0676f3a704787b0b07d24df62f2f4  gdb/go-lang.h
 00ea9011e2eb40f47643062e25f3257e  gdb/i386-windows-nat.c
-d86de2ca7c14aa1fcff88fc8ed5dcc88  gdb/po/gdb.pot
+f067867ece252429f5b0382b3258073b  gdb/po/gdb.pot
 1851bff0653201a488dcae18dde7efad  gdb/po/gdbtext
 21867eaf73d1ca153c5d6a17d735f7d3  gdb/break-catch-syscall.c
 707ca95997166afd8eae90a1ad5bb95a  gdb/ada-lang.c
@@ -6118,7 +6118,7 @@ e163d9748f6b14f1dd1f52df26eeedd1  includ
 30af01ce4e0195fdbacf983279e07b80  include/dwarf2.h
 1f461c2071158f2a2674cdb8a24430e7  include/oasys.h
 fcbe1219fcac3076ea27790fe20bff1a  include/libiberty.h
-785bd81e62b35fbe26e9de0b4229123a  include/environ.h
+91ee7c4733c9539fd964c2d6a38169eb  include/environ.h
 204b53a854eb7ec57b7e2f87873a1cd9  include/ansidecl.h
 587dd8b93099a84c97343a75fca32219  include/longlong.h
 323e072fba874802e42a3a1a6468b335  include/xtensa-config.h
@@ -6311,7 +6311,7 @@ df5f2b31cb16706ccacd16b398614faf  includ
 919885747a8a8ecc4759413d2fa07987  include/ieee.h
 b485b8eefdc60030d51b61cbbfa0ea89  include/hashtab.h
 4117a6e26a0627999094704b92c347f6  include/gcc-interface.h
-6247d8015df13832feab2af617b0ce4b  include/ChangeLog
+9e549c519a3750dfa4fab12c5d16a333  include/ChangeLog
 45b8d82b223bfbda107517c8601ccd64  include/dis-asm.h
 07ab991f776d5bb981e8cd92e9131670  include/splay-tree.h
 be2a8159cc57ae59dbd6b768803fe27f  include/filenames.h
@@ -6573,9 +6573,9 @@ d291f043255f14a6d1f4dd40eb78e17e  libibe
 68bfd44ce250b20fab1308eee3dc8f31  libiberty/lrealpath.c
 74850488731148a9c9f410042144f37d  libiberty/rindex.c
 e2f3721273c7ef1ab0194aad78ffa3aa  libiberty/strstr.c
-bf0f2dfc74a5f7f8e2e327a94fae4094  libiberty/config.in
-9c22926d0b260822786460b98e517ad8  libiberty/waitpid.c
-f91c2103a45bf1213aab8ac6a416175c  libiberty/configure.ac
+c7634c63a4c955b11e78d33b6d14879d  libiberty/config.in
+3b03f409fd38f9d543870f21e6d7f5c8  libiberty/waitpid.c
+24fd8f6498981c1eea47af2bcb1dfa3e  libiberty/configure.ac
 c68dbf7834af4281ebd84caa3fd54680  libiberty/README
 548a3abc3aada0669844c73c5dd81a43  libiberty/simple-object-common.h
 0c2635175b975823b40980974dfc2110  libiberty/ffs.c
@@ -6653,7 +6653,7 @@ e1b309fce46287631ac4b10f34be06e1  libibe
 c7c5581b0dd73f0bbb1bc3deccfa6fc4  libiberty/vprintf-support.c
 284bb7a096480b355b75c337086220a2  libiberty/sigsetmask.c
 890a57f9ba10f2e58693454abf98c0f6  libiberty/getopt.c
-150b601eae2edc2a9f445c461d72ae4e  libiberty/configure
+a90e022d51c269731d12f73dcb6a4a56  libiberty/configure
 55b9ba03f1ba7cadc8582556b8754eaf  libiberty/sort.c
 22b53dd8b990133515799dffbda44c8c  libiberty/aclocal.m4
 fc069384773ed08a22e4ce0482e44614  libiberty/xmalloc.c
@@ -6667,7 +6667,7 @@ a8e1b9017094e205d18cdc2d66b4a9d9  libibe
 9d0471286f21d9027bbf1b7c67b87856  libiberty/insque.c
 b2c289eb14e9197dcad172f3acba12b7  libiberty/xmemdup.c
 c9bd3841bbde6d8ae680f62523f00ab0  libiberty/strtol.c
-c8c635c04584e4fc63c0be2f983b0d65  libiberty/ChangeLog
+ec0c2a71d749f399430503a1f0caa895  libiberty/ChangeLog
 c34119797a13e71989722851c14b711b  libiberty/atexit.c
 82950002575ceab0b1de6d4504f891f4  libiberty/objalloc.c
 32a0a662a90a3a30b0859538920a77f9  libiberty/argv.c
