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.20170516/bfd/version.h ./bfd/version.h
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/bfd/version.h	2017-05-16 02:06:09.000000000 +0000
+++ ./bfd/version.h	2017-05-23 02:05:52.000000000 +0000
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20170516
+#define BFD_VERSION_DATE 20170523
 #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.20170516/djunpack.bat ./djunpack.bat
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/djunpack.bat	2017-05-16 02:11:31.000000000 +0000
+++ ./djunpack.bat	2017-05-23 02:10:30.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.20170516
-if "%GDBVER%"=="$package-7.99.91.20170516" GoTo EnvOk
+set GDBVER=$package-7.99.91.20170523
+if "%GDBVER%"=="$package-7.99.91.20170523" 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.20170516/gdb/ChangeLog ./gdb/ChangeLog
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/gdb/ChangeLog	2017-05-16 02:06:11.000000000 +0000
+++ ./gdb/ChangeLog	2017-05-23 02:05:53.000000000 +0000
@@ -1,3 +1,46 @@
+2017-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+	PR tui/21482
+	* gdb_curses.h (NOMACROS): Define.
+	(NCURSES_NOMACROS): Define.
+
+2017-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+	PR tui/21482
+	* tui/tui-windata.c (tui_erase_data_content): Cast last mvwaddstr
+	arg to char *.
+	* tui/tui-wingeneral.c (box_win): Likewise.
+	* tui/tui-winsource.c (tui_erase_source_content): Likewise.
+	(tui_show_source_line): Likewise.
+	(tui_show_exec_info_content): Likewise.
+
+2017-05-13  Eli Zaretskii  <eliz@gnu.org>
+
+	* tui/tui.c (tui_enable): Cast "unknown" to 'char *' to avoid a
+	C++ compiler warning.
+
+2017-05-17  Yao Qi  <yao.qi@linaro.org>
+
+	* cli/cli-decode.c (add_alias_cmd): New function.
+	* command.h (add_alias_cmd): Declare.
+	* infcmd.c (_initialize_infcmd): Don't call add_com_alias,
+	instead call add_alias_cmd.
+
+2017-05-12  Tom Tromey  <tom@tromey.com>
+
+	PR rust/21483:
+	* rust-lang.c (rust_evaluate_subexp) <STRUCTOP_STRUCT>: Don't
+	recurse, just call value_struct_elt directly.
+
+2017-05-12  Tom Tromey  <tom@tromey.com>
+
+	* rust-lang.c (rust_dump_subexp_body) <STRUCTOP_ANONYMOUS,
+	OP_RUST_ARRAY>: Fix.
+
+2017-05-12  Tom Tromey  <tom@tromey.com>
+
+	* rust-lang.c (rust_print_subexp): Replace "return" with "break".
+
 2017-05-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
 	* procfs.c (procfs_create_inferior): Change prototype to match
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.20170516/gdb/cli/cli-decode.c ./gdb/cli/cli-decode.c
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/gdb/cli/cli-decode.c	2017-05-16 02:06:11.000000000 +0000
+++ ./gdb/cli/cli-decode.c	2017-05-23 02:05:53.000000000 +0000
@@ -284,16 +284,10 @@ deprecate_cmd (struct cmd_list_element *
 }
 
 struct cmd_list_element *
-add_alias_cmd (const char *name, const char *oldname, enum command_class theclass,
-	       int abbrev_flag, struct cmd_list_element **list)
+add_alias_cmd (const char *name, cmd_list_element *old,
+	       enum command_class theclass, int abbrev_flag,
+	       struct cmd_list_element **list)
 {
-  const char *tmp;
-  struct cmd_list_element *old;
-  struct cmd_list_element *c;
-
-  tmp = oldname;
-  old = lookup_cmd (&tmp, *list, "", 1, 1);
-
   if (old == 0)
     {
       struct cmd_list_element *prehook, *prehookee, *posthook, *posthookee;
@@ -307,7 +301,7 @@ add_alias_cmd (const char *name, const c
       return 0;
     }
 
-  c = add_cmd (name, theclass, NULL, old->doc, list);
+  struct cmd_list_element *c = add_cmd (name, theclass, NULL, old->doc, list);
 
   /* If OLD->DOC can be freed, we should make another copy.  */
   if (old->doc_allocated)
@@ -330,6 +324,21 @@ add_alias_cmd (const char *name, const c
   return c;
 }
 
+struct cmd_list_element *
+add_alias_cmd (const char *name, const char *oldname,
+	       enum command_class theclass, int abbrev_flag,
+	       struct cmd_list_element **list)
+{
+  const char *tmp;
+  struct cmd_list_element *old;
+
+  tmp = oldname;
+  old = lookup_cmd (&tmp, *list, "", 1, 1);
+
+  return add_alias_cmd (name, old, theclass, abbrev_flag, list);
+}
+
+
 /* Like add_cmd but adds an element for a command prefix: a name that
    should be followed by a subcommand to be looked up in another
    command list.  PREFIXLIST should be the address of the variable
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.20170516/gdb/command.h ./gdb/command.h
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/gdb/command.h	2017-05-16 02:06:11.000000000 +0000
+++ ./gdb/command.h	2017-05-23 02:05:53.000000000 +0000
@@ -141,6 +141,12 @@ extern struct cmd_list_element *add_alia
 					       enum command_class, int,
 					       struct cmd_list_element **);
 
+extern struct cmd_list_element *add_alias_cmd (const char *,
+					       cmd_list_element *,
+					       enum command_class, int,
+					       struct cmd_list_element **);
+
+
 extern struct cmd_list_element *add_prefix_cmd (const char *, enum command_class,
 						cmd_cfunc_ftype *fun,
 						const char *,
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.20170516/gdb/doc/gcore.1 ./gdb/doc/gcore.1
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/gdb/doc/gcore.1	2017-05-16 02:11:25.000000000 +0000
+++ ./gdb/doc/gcore.1	2017-05-23 02:10:24.000000000 +0000
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "GCORE 1"
-.TH GCORE 1 "2017-05-16" "gdb-7.99.91.20170516-git" "GNU Development Tools"
+.TH GCORE 1 "2017-05-23" "gdb-7.99.91.20170523-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.20170516/gdb/doc/gdb.1 ./gdb/doc/gdb.1
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/gdb/doc/gdb.1	2017-05-16 02:11:24.000000000 +0000
+++ ./gdb/doc/gdb.1	2017-05-23 02:10:23.000000000 +0000
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "GDB 1"
-.TH GDB 1 "2017-05-16" "gdb-7.99.91.20170516-git" "GNU Development Tools"
+.TH GDB 1 "2017-05-23" "gdb-7.99.91.20170523-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.20170516/gdb/doc/gdb.info ./gdb/doc/gdb.info
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/gdb/doc/gdb.info	2017-05-16 02:11:21.000000000 +0000
+++ ./gdb/doc/gdb.info	2017-05-23 02:10:20.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.20170516-git.
+Source-Level Debugger' for GDB (GDB) Version 7.99.91.20170523-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.20170516/gdb/doc/gdb.info-1 ./gdb/doc/gdb.info-1
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/gdb/doc/gdb.info-1	2017-05-16 02:11:06.000000000 +0000
+++ ./gdb/doc/gdb.info-1	2017-05-23 02:10:08.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.20170516-git.
+Source-Level Debugger' for GDB (GDB) Version 7.99.91.20170523-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.20170516-git.
+7.99.91.20170523-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.20170516-git, Copyright 1999 Free Software Foundation, Inc...
+     GDB 7.99.91.20170523-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.20170516/gdb/doc/gdb.info-2 ./gdb/doc/gdb.info-2
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/gdb/doc/gdb.info-2	2017-05-16 02:11:08.000000000 +0000
+++ ./gdb/doc/gdb.info-2	2017-05-23 02:10:10.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.20170516-git.
+Source-Level Debugger' for GDB (GDB) Version 7.99.91.20170523-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.20170516/gdb/doc/gdb.info-3 ./gdb/doc/gdb.info-3
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/gdb/doc/gdb.info-3	2017-05-16 02:11:11.000000000 +0000
+++ ./gdb/doc/gdb.info-3	2017-05-23 02:10:12.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.20170516-git.
+Source-Level Debugger' for GDB (GDB) Version 7.99.91.20170523-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.20170516/gdb/doc/gdb.info-4 ./gdb/doc/gdb.info-4
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/gdb/doc/gdb.info-4	2017-05-16 02:11:14.000000000 +0000
+++ ./gdb/doc/gdb.info-4	2017-05-23 02:10:15.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.20170516-git.
+Source-Level Debugger' for GDB (GDB) Version 7.99.91.20170523-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.20170516/gdb/doc/gdb.info-5 ./gdb/doc/gdb.info-5
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/gdb/doc/gdb.info-5	2017-05-16 02:11:17.000000000 +0000
+++ ./gdb/doc/gdb.info-5	2017-05-23 02:10:17.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.20170516-git.
+Source-Level Debugger' for GDB (GDB) Version 7.99.91.20170523-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.20170516/gdb/doc/gdb.info-6 ./gdb/doc/gdb.info-6
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/gdb/doc/gdb.info-6	2017-05-16 02:11:19.000000000 +0000
+++ ./gdb/doc/gdb.info-6	2017-05-23 02:10:19.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.20170516-git.
+Source-Level Debugger' for GDB (GDB) Version 7.99.91.20170523-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.20170516-git/gdb/gdb.info', and it refers to subordinate
+'gdb-7.99.91.20170523-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.20170516-git', in the case of version
-7.99.91.20170516-git), you can make the Info file by typing:
+directory ('gdb-7.99.91.20170523-git', in the case of version
+7.99.91.20170523-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.20170516-git/gdb')
+main source directory (for example, to 'gdb-7.99.91.20170523-git/gdb')
 and type:
 
      make gdb.dvi
@@ -963,8 +963,8 @@ and type:
 
    ---------- Footnotes ----------
 
-   (1) In 'gdb-7.99.91.20170516-git/gdb/refcard.ps' of the version
-7.99.91.20170516-git release.
+   (1) In 'gdb-7.99.91.20170523-git/gdb/refcard.ps' of the version
+7.99.91.20170523-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.20170516-git distribution is in
-the 'gdb-7.99.91.20170516-git' directory.  That directory contains:
+   For example, the GDB version 7.99.91.20170523-git distribution is in
+the 'gdb-7.99.91.20170523-git' directory.  That directory contains:
 
-'gdb-7.99.91.20170516-git/configure (and supporting files)'
+'gdb-7.99.91.20170523-git/configure (and supporting files)'
      script for configuring GDB and all its supporting libraries
 
-'gdb-7.99.91.20170516-git/gdb'
+'gdb-7.99.91.20170523-git/gdb'
      the source specific to GDB itself
 
-'gdb-7.99.91.20170516-git/bfd'
+'gdb-7.99.91.20170523-git/bfd'
      source for the Binary File Descriptor library
 
-'gdb-7.99.91.20170516-git/include'
+'gdb-7.99.91.20170523-git/include'
      GNU include files
 
-'gdb-7.99.91.20170516-git/libiberty'
+'gdb-7.99.91.20170523-git/libiberty'
      source for the '-liberty' free software library
 
-'gdb-7.99.91.20170516-git/opcodes'
+'gdb-7.99.91.20170523-git/opcodes'
      source for the library of opcode tables and disassemblers
 
-'gdb-7.99.91.20170516-git/readline'
+'gdb-7.99.91.20170523-git/readline'
      source for the GNU command-line interface
 
-'gdb-7.99.91.20170516-git/glob'
+'gdb-7.99.91.20170523-git/glob'
      source for the GNU filename pattern-matching subroutine
 
-'gdb-7.99.91.20170516-git/mmalloc'
+'gdb-7.99.91.20170523-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.20170516-git' directory.
+the 'gdb-7.99.91.20170523-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.20170516-git
+     cd gdb-7.99.91.20170523-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.20170516-git' source directory for version
-7.99.91.20170516-git, 'configure' creates configuration files for every
+'gdb-7.99.91.20170523-git' source directory for version
+7.99.91.20170523-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.20170516-git, you can build GDB in
+   For example, with version 7.99.91.20170523-git, you can build GDB in
 a separate directory for a Sun 4 like this:
 
-     cd gdb-7.99.91.20170516-git
+     cd gdb-7.99.91.20170523-git
      mkdir ../gdb-sun4
      cd ../gdb-sun4
-     ../gdb-7.99.91.20170516-git/configure sun4
+     ../gdb-7.99.91.20170523-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.20170516-git/gdb/configure', you are configuring only
+'../gdb-7.99.91.20170523-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.20170516-git' (or in a separate configured directory
-configured with '--srcdir=DIRNAME/gdb-7.99.91.20170516-git'), you will
+'gdb-7.99.91.20170523-git' (or in a separate configured directory
+configured with '--srcdir=DIRNAME/gdb-7.99.91.20170523-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.20170516-git', for version 7.99.91.20170516-git).
+('gdb-7.99.91.20170523-git', for version 7.99.91.20170523-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.20170516/gdb/doc/gdb.info-7 ./gdb/doc/gdb.info-7
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/gdb/doc/gdb.info-7	2017-05-16 02:11:21.000000000 +0000
+++ ./gdb/doc/gdb.info-7	2017-05-23 02:10:20.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.20170516-git.
+Source-Level Debugger' for GDB (GDB) Version 7.99.91.20170523-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.20170516/gdb/doc/gdbinit.5 ./gdb/doc/gdbinit.5
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/gdb/doc/gdbinit.5	2017-05-16 02:11:25.000000000 +0000
+++ ./gdb/doc/gdbinit.5	2017-05-23 02:10:24.000000000 +0000
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "GDBINIT 5"
-.TH GDBINIT 5 "2017-05-16" "gdb-7.99.91.20170516-git" "GNU Development Tools"
+.TH GDBINIT 5 "2017-05-23" "gdb-7.99.91.20170523-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.20170516/gdb/doc/gdbserver.1 ./gdb/doc/gdbserver.1
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/gdb/doc/gdbserver.1	2017-05-16 02:11:24.000000000 +0000
+++ ./gdb/doc/gdbserver.1	2017-05-23 02:10:24.000000000 +0000
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "GDBSERVER 1"
-.TH GDBSERVER 1 "2017-05-16" "gdb-7.99.91.20170516-git" "GNU Development Tools"
+.TH GDBSERVER 1 "2017-05-23" "gdb-7.99.91.20170523-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.20170516/gdb/gdb_curses.h ./gdb/gdb_curses.h
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/gdb/gdb_curses.h	2017-05-16 02:06:11.000000000 +0000
+++ ./gdb/gdb_curses.h	2017-05-23 02:05:53.000000000 +0000
@@ -32,6 +32,13 @@
 #undef KEY_EVENT
 #endif
 
+/* On Solaris and probably other SysVr4 derived systems, we need to define
+   NOMACROS so the native <curses.h> doesn't define clear which interferes
+   with the clear member of class string_file.  ncurses potentially has a
+   similar problem and fix.  */
+#define NOMACROS
+#define NCURSES_NOMACROS
+
 #if defined (HAVE_NCURSES_NCURSES_H)
 #include <ncurses/ncurses.h>
 #elif defined (HAVE_NCURSES_H)
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.20170516/gdb/infcmd.c ./gdb/infcmd.c
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/gdb/infcmd.c	2017-05-16 02:06:11.000000000 +0000
+++ ./gdb/infcmd.c	2017-05-23 02:05:54.000000000 +0000
@@ -3229,7 +3229,10 @@ is restored."),
 				     set_inferior_tty_command,
 				     show_inferior_tty_command,
 				     &setlist, &showlist);
-  add_com_alias ("tty", "set inferior-tty", class_alias, 0);
+  cmd_name = "inferior-tty";
+  c = lookup_cmd (&cmd_name, setlist, "", -1, 1);
+  gdb_assert (c != NULL);
+  add_alias_cmd ("tty", c, class_alias, 0, &cmdlist);
 
   cmd_name = "args";
   add_setshow_string_noescape_cmd (cmd_name, class_run,
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.20170516/gdb/po/gdb.pot ./gdb/po/gdb.pot
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/gdb/po/gdb.pot	2017-05-16 02:10:53.000000000 +0000
+++ ./gdb/po/gdb.pot	2017-05-23 02:09:58.000000000 +0000
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-05-16 02:10+0000\n"
+"POT-Creation-Date: 2017-05-23 02:09+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"
@@ -5513,26 +5513,26 @@ msgstr ""
 msgid "gdb internal error: bad var_type in do_show_command"
 msgstr ""
 
-#: cli/cli-decode.c:1460
+#: cli/cli-decode.c:1469
 #, possible-c-format
 msgid "Undefined %scommand: \"%s\".  Try \"help%s%.*s\"."
 msgstr ""
 
-#: cli/cli-decode.c:1494
+#: cli/cli-decode.c:1503
 #, possible-c-format
 msgid "Lack of needed %scommand"
 msgstr ""
 
-#: cli/cli-decode.c:1559
+#: cli/cli-decode.c:1568
 #, possible-c-format
 msgid "Ambiguous %scommand \"%s\": %s."
 msgstr ""
 
-#: cli/cli-decode.c:1567
+#: cli/cli-decode.c:1576
 msgid "Argument must be preceded by space."
 msgstr ""
 
-#: cli/cli-decode.c:1890
+#: cli/cli-decode.c:1899
 msgid "Invalid command"
 msgstr ""
 
@@ -14307,20 +14307,20 @@ msgid ""
 "is restored."
 msgstr ""
 
-#: infcmd.c:3236
+#: infcmd.c:3239
 msgid "Set argument list to give program being debugged when it is started."
 msgstr ""
 
-#: infcmd.c:3237
+#: infcmd.c:3240
 msgid "Show argument list to give program being debugged when it is started."
 msgstr ""
 
-#: infcmd.c:3238
+#: infcmd.c:3241
 msgid ""
 "Follow this command with any number of args, to be passed to the program."
 msgstr ""
 
-#: infcmd.c:3247
+#: infcmd.c:3250
 msgid ""
 "The environment to give the program, or one variable's value.\n"
 "With an argument VAR, prints the value of environment variable VAR to\n"
@@ -14328,17 +14328,17 @@ msgid ""
 "environment to be given to the program."
 msgstr ""
 
-#: infcmd.c:3255
+#: infcmd.c:3258
 msgid "Complement to certain \"set\" commands."
 msgstr ""
 
-#: infcmd.c:3258
+#: infcmd.c:3261
 msgid ""
 "Cancel environment variable VAR for the program.\n"
 "This does not affect the program until the next \"run\" command."
 msgstr ""
 
-#: infcmd.c:3264
+#: infcmd.c:3267
 msgid ""
 "Set environment variable value to give the program.\n"
 "Arguments are VAR VALUE where VAR is variable name and VALUE is value.\n"
@@ -14346,7 +14346,7 @@ msgid ""
 "This does not affect the program until the next \"run\" command."
 msgstr ""
 
-#: infcmd.c:3272
+#: infcmd.c:3275
 msgid ""
 "Add directory DIR(s) to beginning of search path for object files.\n"
 "$cwd in the path means the current working directory.\n"
@@ -14355,7 +14355,7 @@ msgid ""
 "fully linked executable files and separately compiled object files as needed."
 msgstr ""
 
-#: infcmd.c:3281
+#: infcmd.c:3284
 msgid ""
 "Current search path for finding object files.\n"
 "$cwd in the path means the current working directory.\n"
@@ -14364,11 +14364,11 @@ msgid ""
 "fully linked executable files and separately compiled object files as needed."
 msgstr ""
 
-#: infcmd.c:3292
+#: infcmd.c:3295
 msgid "Kill execution of program being debugged."
 msgstr ""
 
-#: infcmd.c:3295
+#: infcmd.c:3298
 msgid ""
 "Attach to a process or file outside of GDB.\n"
 "This command attaches to another target, of the same type as your last\n"
@@ -14383,21 +14383,21 @@ msgid ""
 "to specify the program, and to load its symbol table."
 msgstr ""
 
-#: infcmd.c:3308
+#: infcmd.c:3311
 msgid ""
 "Detach a process or file previously attached.\n"
 "If a process, it is no longer traced, and it continues its execution.  If\n"
 "you were debugging a file, the file is closed and gdb no longer accesses it."
 msgstr ""
 
-#: infcmd.c:3314
+#: infcmd.c:3317
 msgid ""
 "Disconnect from a target.\n"
 "The target will wait for another debugger to connect.  Not available for\n"
 "all targets."
 msgstr ""
 
-#: infcmd.c:3319
+#: infcmd.c:3322
 msgid ""
 "Continue program with the specified signal.\n"
 "Usage: signal SIGNAL\n"
@@ -14412,7 +14412,7 @@ msgid ""
 "the current thread only."
 msgstr ""
 
-#: infcmd.c:3332
+#: infcmd.c:3335
 msgid ""
 "Queue a signal to be delivered to the current thread when it is resumed.\n"
 "Usage: queue-signal SIGNAL\n"
@@ -14427,28 +14427,28 @@ msgid ""
 "the current thread only."
 msgstr ""
 
-#: infcmd.c:3346
+#: infcmd.c:3349
 msgid ""
 "Step one instruction exactly.\n"
 "Usage: stepi [N]\n"
 "Argument N means step N times (or till program stops for another reason)."
 msgstr ""
 
-#: infcmd.c:3353
+#: infcmd.c:3356
 msgid ""
 "Step one instruction, but proceed through subroutine calls.\n"
 "Usage: nexti [N]\n"
 "Argument N means step N times (or till program stops for another reason)."
 msgstr ""
 
-#: infcmd.c:3360
+#: infcmd.c:3363
 msgid ""
 "Execute until selected stack frame returns.\n"
 "Usage: finish\n"
 "Upon return, the value returned is printed and put in the value history."
 msgstr ""
 
-#: infcmd.c:3366
+#: infcmd.c:3369
 msgid ""
 "Step program, proceeding through subroutine calls.\n"
 "Usage: next [N]\n"
@@ -14457,28 +14457,28 @@ msgid ""
 "the call, in effect treating it as a single source line."
 msgstr ""
 
-#: infcmd.c:3374
+#: infcmd.c:3377
 msgid ""
 "Step program until it reaches a different source line.\n"
 "Usage: step [N]\n"
 "Argument N means step N times (or till program stops for another reason)."
 msgstr ""
 
-#: infcmd.c:3381
+#: infcmd.c:3384
 msgid ""
 "Execute until the program reaches a source line greater than the current\n"
 "or a specified location (same args as break command) within the current "
 "frame."
 msgstr ""
 
-#: infcmd.c:3388
+#: infcmd.c:3391
 msgid ""
 "Continue the program up to the given location (same form as args for break "
 "command).\n"
 "Execution will also stop upon exit from the current stack frame."
 msgstr ""
 
-#: infcmd.c:3394
+#: infcmd.c:3397
 msgid ""
 "Continue program being debugged at specified line or address.\n"
 "Usage: jump <location>\n"
@@ -14486,7 +14486,7 @@ msgid ""
 "for an address to start at."
 msgstr ""
 
-#: infcmd.c:3402
+#: infcmd.c:3405
 msgid ""
 "Continue program being debugged, after signal or breakpoint.\n"
 "Usage: continue [N]\n"
@@ -14500,7 +14500,7 @@ msgid ""
 "Specifying -a and an ignore count simultaneously is an error."
 msgstr ""
 
-#: infcmd.c:3416
+#: infcmd.c:3419
 msgid ""
 "Start debugged program.  You may specify arguments to give it.\n"
 "Args may include \"*\", or \"[...]\"; they are expanded using \"sh\".\n"
@@ -14512,14 +14512,14 @@ msgid ""
 "use \"set args\" without arguments."
 msgstr ""
 
-#: infcmd.c:3428
+#: infcmd.c:3431
 msgid ""
 "Run the debugged program until the beginning of the main procedure.\n"
 "You may specify arguments to give to your program, just as with the\n"
 "\"run\" command."
 msgstr ""
 
-#: infcmd.c:3435
+#: infcmd.c:3438
 msgid ""
 "Interrupt the execution of the debugged program.\n"
 "If non-stop mode is enabled, interrupt only the current thread,\n"
@@ -14527,62 +14527,62 @@ msgid ""
 "interrupt all running threads in non-stop mode, use the -a option."
 msgstr ""
 
-#: infcmd.c:3440
+#: infcmd.c:3443
 msgid ""
 "List of integer registers and their contents, for selected stack frame.\n"
 "Register name as argument means describe only that register."
 msgstr ""
 
-#: infcmd.c:3446
+#: infcmd.c:3449
 msgid ""
 "List of all registers and their contents, for selected stack frame.\n"
 "Register name as argument means describe only that register."
 msgstr ""
 
-#: infcmd.c:3452
+#: infcmd.c:3455
 msgid "Execution status of the program."
 msgstr ""
 
-#: infcmd.c:3455
+#: infcmd.c:3458
 msgid "Print the status of the floating point unit\n"
 msgstr ""
 
-#: infcmd.c:3458
+#: infcmd.c:3461
 msgid "Print the status of the vector unit\n"
 msgstr ""
 
-#: infcmd.c:3461
+#: infcmd.c:3464
 msgid ""
 "Show /proc process information about any running process.\n"
 "Specify any process id, or use the program being debugged by default."
 msgstr ""
 
 #. allow-unknown
-#: infcmd.c:3467
+#: infcmd.c:3470
 msgid "List of mapped memory regions."
 msgstr ""
 
-#: infcmd.c:3471
+#: infcmd.c:3474
 msgid "List process info from /proc/PID/stat."
 msgstr ""
 
-#: infcmd.c:3475
+#: infcmd.c:3478
 msgid "List process info from /proc/PID/status."
 msgstr ""
 
-#: infcmd.c:3479
+#: infcmd.c:3482
 msgid "List current working directory of the process."
 msgstr ""
 
-#: infcmd.c:3483
+#: infcmd.c:3486
 msgid "List command line arguments of the process."
 msgstr ""
 
-#: infcmd.c:3487
+#: infcmd.c:3490
 msgid "List absolute filename for executable of the process."
 msgstr ""
 
-#: infcmd.c:3491
+#: infcmd.c:3494
 msgid "List all available /proc info."
 msgstr ""
 
@@ -24003,12 +24003,12 @@ msgid ""
 msgstr ""
 
 #. We didn't find it.
-#: rust-lang.c:1790 rust-lang.c:1815
+#: rust-lang.c:1788 rust-lang.c:1813
 #, possible-c-format
 msgid "Could not find field %s of struct variant %s"
 msgstr ""
 
-#: rust-lang.c:1799
+#: rust-lang.c:1797
 #, possible-c-format
 msgid ""
 "Attempting to access named field %s of tuple variant %s, which has only "
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.20170516/gdb/rust-lang.c ./gdb/rust-lang.c
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/gdb/rust-lang.c	2017-05-16 02:06:11.000000000 +0000
+++ ./gdb/rust-lang.c	2017-05-23 02:05:54.000000000 +0000
@@ -1762,7 +1762,7 @@ tuple structs, and tuple-like enum varia
 
     case STRUCTOP_STRUCT:
       {
-        struct value* lhs;
+        struct value *lhs;
         struct type *type;
         int tem, pc;
 
@@ -1771,16 +1771,14 @@ tuple structs, and tuple-like enum varia
         (*pos) += 3 + BYTES_TO_EXP_ELEM (tem + 1);
         lhs = evaluate_subexp (NULL_TYPE, exp, pos, noside);
 
+	const char *field_name = &exp->elts[pc + 2].string;
         type = value_type (lhs);
         if (TYPE_CODE (type) == TYPE_CODE_UNION
             && !rust_union_is_untagged (type))
 	  {
 	    int i, start;
 	    struct disr_info disr;
-	    struct type* variant_type;
-	    char* field_name;
-
-	    field_name = &exp->elts[pc + 2].string;
+	    struct type *variant_type;
 
 	    disr = rust_get_disr_info (type, value_contents (lhs),
 				       value_embedded_offset (lhs),
@@ -1817,9 +1815,10 @@ which has only anonymous fields"),
 	  }
 	else
 	  {
-	    /* Field access in structs and untagged unions works like C.  */
-	    *pos = pc;
-	    result = evaluate_subexp_standard (expect_type, exp, pos, noside);
+	    result = value_struct_elt (&lhs, NULL, field_name, NULL,
+				       "structure");
+	    if (noside == EVAL_AVOID_SIDE_EFFECTS)
+	      result = value_zero (value_type (result), VALUE_LVAL (result));
 	  }
       }
       break;
@@ -1951,14 +1950,15 @@ rust_dump_subexp_body (struct expression
       {
 	int field_number;
 
-	field_number = longest_to_int (exp->elts[elt].longconst);
+	field_number = longest_to_int (exp->elts[elt + 1].longconst);
 
 	fprintf_filtered (stream, "Field number: %d", field_number);
-	elt = dump_subexp (exp, stream, elt + 2);
+	elt = dump_subexp (exp, stream, elt + 3);
       }
       break;
 
     case OP_RUST_ARRAY:
+      ++elt;
       break;
 
     default:
@@ -2021,7 +2021,7 @@ rust_print_subexp (struct expression *ex
 	print_subexp (exp, pos, stream, PREC_SUFFIX);
 	fprintf_filtered (stream, ".%d", tem);
       }
-      return;
+      break;
 
     case OP_RUST_ARRAY:
       ++*pos;
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.20170516/gdb/testsuite/ChangeLog ./gdb/testsuite/ChangeLog
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/gdb/testsuite/ChangeLog	2017-05-16 02:06:11.000000000 +0000
+++ ./gdb/testsuite/ChangeLog	2017-05-23 02:05:54.000000000 +0000
@@ -1,3 +1,13 @@
+2017-05-18  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+	* gdb.base/float.exp: Expect GDB prompt for targets without FPU.
+
+2017-05-17  Simon Marchi  <simon.marchi@ericsson.com>
+
+	* gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
+	argument command.
+	(top-level): Invoke test_set_inferior_tty.
+
 2017-05-04  Pedro Alves  <palves@redhat.com>
 
 	* gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
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.20170516/gdb/testsuite/gdb.base/float.exp ./gdb/testsuite/gdb.base/float.exp
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/gdb/testsuite/gdb.base/float.exp	2017-05-16 02:06:11.000000000 +0000
+++ ./gdb/testsuite/gdb.base/float.exp	2017-05-23 02:05:54.000000000 +0000
@@ -50,7 +50,7 @@ if { [is_aarch64_target] } then {
 	    # if we have NEON.
 	    pass "info float (VFP)"
 	}
-        -re "No floating.point info available for this processor.*" {
+        -re "No floating.point info available for this processor.*$gdb_prompt $" {
             pass "info float (without FPU)"
 	}
     }
@@ -63,7 +63,7 @@ if { [is_aarch64_target] } then {
         -re "fp0.*fp1.*fp7.*$gdb_prompt $" {
             pass "info float (with FPU)"
 	}
-        -re "No floating.point info available for this processor.*" {
+        -re "No floating.point info available for this processor.*$gdb_prompt $" {
             pass "info float (without FPU)"
 	}
     }
@@ -81,7 +81,7 @@ if { [is_aarch64_target] } then {
         -re "fd0.*fd3.*$gdb_prompt $" {
             pass "info float (with FPU)"
 	}
-        -re "No floating.point info available for this processor.*" {
+        -re "No floating.point info available for this processor.*$gdb_prompt $" {
             pass "info float (without FPU)"
 	}
     }
@@ -90,7 +90,7 @@ if { [is_aarch64_target] } then {
         -re "f0.*f1.*f31.*fpscr.*$gdb_prompt $" {
             pass "info float (with FPU)"
 	}
-        -re "No floating.point info available for this processor.*" {
+        -re "No floating.point info available for this processor.*$gdb_prompt $" {
             pass "info float (without FPU)"
 	}
     }
@@ -102,7 +102,7 @@ if { [is_aarch64_target] } then {
 	-re "fpul.*fr0.*fr1.*fr15.*$gdb_prompt $" {
 	      pass "info float (with FPU)"
 	  }
-	-re "No floating.point info available for this processor.*" {
+	-re "No floating.point info available for this processor.*$gdb_prompt $" {
 	      pass "info float (without FPU)"
 	}
     }
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.20170516/gdb/testsuite/gdb.base/set-inferior-tty.exp ./gdb/testsuite/gdb.base/set-inferior-tty.exp
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/gdb/testsuite/gdb.base/set-inferior-tty.exp	2017-05-16 02:06:11.000000000 +0000
+++ ./gdb/testsuite/gdb.base/set-inferior-tty.exp	2017-05-23 02:05:54.000000000 +0000
@@ -21,20 +21,22 @@ if {[build_executable $testfile.exp $tes
     return -1
 }
 
-proc test_set_inferior_tty { } {
+proc test_set_inferior_tty { command } {
     global binfile
 
     clean_restart ${binfile}
 
-    gdb_test_no_output "set inferior-tty hello" "set inferior-tty to hello"
+    gdb_test_no_output "$command hello" "set inferior-tty to hello"
     gdb_test "show inferior-tty" \
 	     "Terminal for future runs of program being debugged is \"hello\"." \
 	     "show inferior-tty shows hello"
 
-    gdb_test_no_output "set inferior-tty" "set inferior-tty to empty"
+    gdb_test_no_output "$command" "set inferior-tty to empty"
     gdb_test "show inferior-tty" \
 	     "Terminal for future runs of program being debugged is \"\"." \
 	     "show inferior-tty shows empty"
 }
 
-test_set_inferior_tty
+foreach_with_prefix command {"set inferior-tty" "tty"} {
+    test_set_inferior_tty $command
+}
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.20170516/gdb/tui/tui.c ./gdb/tui/tui.c
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/gdb/tui/tui.c	2017-05-16 02:06:12.000000000 +0000
+++ ./gdb/tui/tui.c	2017-05-23 02:05:54.000000000 +0000
@@ -427,7 +427,7 @@ tui_enable (void)
       /* The MinGW port of ncurses requires $TERM to be unset in order
 	 to activate the Windows console driver.  */
       if (s == NULL)
-	s = newterm ("unknown", stdout, stdin);
+	s = newterm ((char *) "unknown", stdout, stdin);
 #endif
       if (s == NULL)
 	{
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.20170516/gdb/tui/tui-windata.c ./gdb/tui/tui-windata.c
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/gdb/tui/tui-windata.c	2017-05-16 02:06:12.000000000 +0000
+++ ./gdb/tui/tui-windata.c	2017-05-23 02:05:54.000000000 +0000
@@ -117,7 +117,7 @@ tui_erase_data_content (const char *prom
       mvwaddstr (TUI_DATA_WIN->generic.handle,
 		 (TUI_DATA_WIN->generic.height / 2),
 		 x_pos,
-		 prompt);
+		 (char *) prompt);
     }
   wrefresh (TUI_DATA_WIN->generic.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.20170516/gdb/tui/tui-wingeneral.c ./gdb/tui/tui-wingeneral.c
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/gdb/tui/tui-wingeneral.c	2017-05-16 02:06:12.000000000 +0000
+++ ./gdb/tui/tui-wingeneral.c	2017-05-23 02:05:54.000000000 +0000
@@ -101,7 +101,7 @@ box_win (struct tui_gen_win_info *win_in
       box (win, tui_border_vline, tui_border_hline);
 #endif
       if (win_info->title)
-        mvwaddstr (win, 0, 3, win_info->title);
+        mvwaddstr (win, 0, 3, (char *) win_info->title);
       wattroff (win, attrs);
     }
 }
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.20170516/gdb/tui/tui-winsource.c ./gdb/tui/tui-winsource.c
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/gdb/tui/tui-winsource.c	2017-05-16 02:06:12.000000000 +0000
+++ ./gdb/tui/tui-winsource.c	2017-05-23 02:05:54.000000000 +0000
@@ -254,7 +254,7 @@ tui_erase_source_content (struct tui_win
 	  mvwaddstr (win_info->generic.handle,
 		     (win_info->generic.height / 2),
 		     x_pos,
-		     no_src_str);
+		     (char *) no_src_str);
 
 	  /* elz: Added this function call to set the real contents of
 	     the window to what is on the screen, so that later calls
@@ -280,7 +280,7 @@ tui_show_source_line (struct tui_win_inf
     wattron (win_info->generic.handle, A_STANDOUT);
 
   mvwaddstr (win_info->generic.handle, lineno, 1,
-             line->which_element.source.line);
+             (char *) line->which_element.source.line);
   if (line->which_element.source.is_exec_point)
     wattroff (win_info->generic.handle, A_STANDOUT);
 
@@ -565,7 +565,8 @@ tui_show_exec_info_content (struct tui_w
     mvwaddstr (exec_info->handle,
 	       cur_line,
 	       0,
-	       exec_info->content[cur_line - 1]->which_element.simple_string);
+	       (char *) exec_info->content[cur_line - 1]
+			  ->which_element.simple_string);
   tui_refresh_win (exec_info);
   exec_info->content_in_use = TRUE;
 }
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.20170516/md5.sum ./md5.sum
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/md5.sum	2017-05-16 02:11:31.000000000 +0000
+++ ./md5.sum	2017-05-23 02:10:30.000000000 +0000
@@ -40,7 +40,7 @@ e7d4af415054fce55bfb5cf36fd85050  bfd/cp
 ce83e510c01d5a9c23bc4747b9e94224  bfd/wasm-module.c
 537786e589ab6658c4d472adf784cf35  bfd/elf64-mips.c
 f166d84c263d357d6eadb7a8d861e7a4  bfd/cpu-m9s12x.c
-b600f875048cd6d8e4a9b194af8035b0  bfd/version.h
+530fa70a7a4f06b76077d8001ce67750  bfd/version.h
 a11a835899b8428781e5df11be161cbf  bfd/cpu-tilegx.c
 62e6228170bb7fe9c2be3e62ef96f7e2  bfd/coff-mcore.c
 fc8ec08340f69ae3a4a2e93a0d5f2960  bfd/cpu-avr.c
@@ -1177,7 +1177,7 @@ f608f92d65f2fc158542713e0e6380ac  gdb/cl
 e54c5a876630e606ccbedb7ab285ae5e  gdb/cli/cli-setshow.h
 02d2a119a91d60c454f58760369fa5af  gdb/cli/cli-setshow.c
 b2d9c2c96f567496ee10bf7d4a28c61e  gdb/cli/cli-interp.h
-21f576bd569bbb20ea593299b0dc7017  gdb/cli/cli-decode.c
+d99960ee6a4783f8fcfcb67eeb54dc26  gdb/cli/cli-decode.c
 b531fa4102535d49577b9e0243c202d0  gdb/cli/cli-cmds.c
 16141b3e2f713f37a41d8857c45a81ca  gdb/cli/cli-utils.h
 a25f3fbd8e078a6920f5757569e6dede  gdb/cli/cli-script.c
@@ -1421,7 +1421,7 @@ ee766119f13b7d004fcc007cff5cb1c0  gdb/tu
 3ba9eca5ea4b86a0e1c7710117bc75a2  gdb/tui/tui-hooks.h
 6dc20cf840fbe1062fd32dbd1fe7b5c7  gdb/tui/tui-hooks.c
 6ca7de3b75d96e55ac205ce548c8eb34  gdb/tui/tui-out.h
-bb0b841935455cb498087ca56e059677  gdb/tui/tui.c
+5effe65a3d18f6e88a876cf08996bd0d  gdb/tui/tui.c
 53da315783a0a0e7b4ec6065fc528bd5  gdb/tui/tui-disasm.c
 041670659afdb0bb3aa37f6ecf3866d8  gdb/tui/tui-io.h
 9597e7806e487425be3d482eda5d710a  gdb/tui/tui-layout.h
@@ -1432,9 +1432,9 @@ bb0b841935455cb498087ca56e059677  gdb/tu
 08874208698b85d5f28ae53369b944b5  gdb/tui/tui-layout.c
 80a031bb0c787dcd229da3c5a4aa15c7  gdb/tui/tui-wingeneral.h
 8575f259838d0b5eabefe4227c15de97  gdb/tui/tui-interp.c
-39fd5f2016c5cf4789d6ed34bea4f0b7  gdb/tui/tui-windata.c
+2fc6c4138a932502c63776d09676f0a7  gdb/tui/tui-windata.c
 c6822d78ec9dfa731ebee21d207932ac  gdb/tui/tui-source.h
-624ab3399aca75ab9250552ebccb2ea5  gdb/tui/tui-winsource.c
+f93b714df6ec1f83542e533f6a414e5c  gdb/tui/tui-winsource.c
 11ab93d875993873138d0ac237c3fefe  gdb/tui/tui-windata.h
 68463cac3b4ac31abb42538d48cc695e  gdb/tui/tui-data.c
 615b65c84c1a19a218c2a43b18ea27c8  gdb/tui/tui-regs.h
@@ -1442,7 +1442,7 @@ d692cd3559160bf3882db91dc4e96af3  gdb/tu
 b0277a839fda9d8bcb1fb5f18a817e3a  gdb/tui/tui-file.c
 00eb53ff8de0baad2a95383b6c1c8e48  gdb/tui/tui-file.h
 0415f3bd7a379430b752618c1e8c7cd4  gdb/tui/ChangeLog-1998-2003
-181714246d8fcf8aa78837681a4e10b5  gdb/tui/tui-wingeneral.c
+ac6a2933d1fb8ce8775e7102ef2996b4  gdb/tui/tui-wingeneral.c
 7d50caf1fa4d88e0c67c21d9ff8f5055  gdb/tui/tui-out.c
 ab0455d59f7a1f47b998da3cc7fbcce9  gdb/tui/tui-win.c
 75217a049e16a8284fae23948195e76b  gdb/tui/tui-data.h
@@ -2758,7 +2758,7 @@ fa77a1a3c546c30fbca58adace09ea87  gdb/te
 0643223f03b1a72e23875fc6b9a78a73  gdb/testsuite/gdb.base/break-entry.exp
 aaa3cd3c445b5f4bbb8e3e04d1a52792  gdb/testsuite/gdb.base/step-over-fork.c
 419ed3ef1cdc35f550df83f7dcc77f2f  gdb/testsuite/gdb.base/anon.c
-36d9b31a0495881c2e81752bc6e92ca4  gdb/testsuite/gdb.base/set-inferior-tty.exp
+86feac45b042fbc73f6b2cec15af200c  gdb/testsuite/gdb.base/set-inferior-tty.exp
 a77c5f8652a63f6b66afabd7485f475a  gdb/testsuite/gdb.base/foll-fork.c
 c472871cd410a992838baa58100b1f69  gdb/testsuite/gdb.base/argv0-symlink.c
 2fe38ada5c1eed03a2e1258703a1b16a  gdb/testsuite/gdb.base/gcore-relro.exp
@@ -2784,7 +2784,7 @@ f23cf493ceffcbd46df064c2d94074a0  gdb/te
 4d966ea6e8bf5a46307092cff9a60af8  gdb/testsuite/gdb.base/infcall-exec.exp
 2d0d3f1b1029b3b47ec9cb438790fa98  gdb/testsuite/gdb.base/recurse.c
 95c6034d1232aa8f626b5c223ee78549  gdb/testsuite/gdb.base/average.c
-4e2acb294e8852cafbfbba4f3018fa35  gdb/testsuite/gdb.base/float.exp
+f0dd92a0312156fe683c23cbb588222f  gdb/testsuite/gdb.base/float.exp
 83ae145d7e3f403441862f057c470968  gdb/testsuite/gdb.base/dprintf.exp
 1fe5aa61e7469523967ab297e449ed90  gdb/testsuite/gdb.base/bitfields.exp
 a94365013237e339d83dcd1cf169bc39  gdb/testsuite/gdb.base/pie-execl.c
@@ -4210,7 +4210,7 @@ f79791a026889dd2e06055874c75baa7  gdb/te
 95c177bbeca4dd1ffb229aa2c32c8d5d  gdb/testsuite/gdb.go/integers.exp
 68d17058fa82304a192749f0eadc138d  gdb/testsuite/gdb.go/strings.go
 81b7ed6cb92c627d245bd2efc4b953b9  gdb/testsuite/gdb.go/methods.go
-47f368246dfbd045fd1b335d7ab3fc3d  gdb/testsuite/ChangeLog
+52ff8531e3ce2fa596aadf751c643b68  gdb/testsuite/ChangeLog
 b3f11b21e5921c419a43f93720dedf85  gdb/testsuite/gdb.asm/empty.inc
 156e3d7f60e0146a4e53cd66c349d288  gdb/testsuite/gdb.asm/asm-source.exp
 f1621bbbb2acbec5adef86d7d9549975  gdb/testsuite/gdb.asm/bfin.inc
@@ -4862,45 +4862,45 @@ ca8f916c0071c69d33a3db86ed5ab82b  gdb/te
 166ff88d365cc4b89782f73102c36484  gdb/tilegx-tdep.h
 b9f2cba57c8e0b6343e5f9103e2a6e55  gdb/symtab.h
 11eb2baa9f2fbdccdd3266c37f8c4eea  gdb/f-valprint.c
-11c73ce00b43a3b4f2a91730673aacb1  gdb/gdb_curses.h
+f5f85e8079fa86e772c5aa368bc2de8a  gdb/gdb_curses.h
 8108dd8f906f2654fecc74958cf383db  gdb/doc/psrc.sed
-2c2dcf7056433240ce24e8241f67f3d5  gdb/doc/gdb.info-3
-38b5ef1e1efe315708b93eabe5ebf662  gdb/doc/gdb.info-4
+52729f9c63ce98464a21069edd05fc5e  gdb/doc/gdb.info-3
+d7bc80ab03efb0e7617e6638365f91ae  gdb/doc/gdb.info-4
 ab0fe311032294b952da80585b8b90e7  gdb/doc/fdl.texi
 82ff73e69ce7f934c71ca667545d541c  gdb/doc/Makefile.in
-d94b053d57fc8ff7faca0d93a69cc738  gdb/doc/gdb.info-7
+f87c4d3be4164adfeff477e92a17798e  gdb/doc/gdb.info-7
 3e88538f371ece70b44cd38bf1a0d646  gdb/doc/observer.texi
-bc9109b2d4440482c71aaabf34281b8d  gdb/doc/gdbserver.1
+9a7062e8ecbcd491858b1bce2a662fdc  gdb/doc/gdbserver.1
 25d98e4cfdcb50be474c39fe6ee5a92c  gdb/doc/guile.texi
 f81a0e00e0cb9e41b078069fb9bedb07  gdb/doc/stack_frame.txt
 259d4d661f188d2df9adb15f7893bc4c  gdb/doc/stabs.info
-72e326f93344a3debcc48e0aa9b0c252  gdb/doc/gdb.info-5
+df637e6b0f8aaf5841f40c00cf0ed123  gdb/doc/gdb.info-5
 cfb748e4e7997eb77d81a2d04c17ec75  gdb/doc/agentexpr.texi
 66674dc351ba95941f422dc18cae24bb  gdb/doc/.gitignore
-9e454a005bbdf7b5f75a6d5a82584069  gdb/doc/gdb.info-1
+bff559571504d2411118789823a19f0d  gdb/doc/gdb.info-1
 d5d06eaf9b4d44aa442a4a281aa9aea4  gdb/doc/a4rc.sed
-cd7715c47d232cbac5f919445cd6ef30  gdb/doc/gdb.info-6
+9402128a7ec47c21738981fd0f03e6f5  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
-6e417d3e77d819282547dba9b5a97241  gdb/doc/gdb.info-2
+78396dc7d5d0e3a75381da04e81a9b44  gdb/doc/gdb.info-2
 f4de6bc91bf36f24e3511b52c0cd8257  gdb/doc/refcard.tex
 6076d300a46651562d4ecd0604442414  gdb/doc/stack_frame.png
-adb41ad84ee5264fe96e5e6af99644cc  gdb/doc/gdb.info
+fc442102053750ec1a34e35060d3968c  gdb/doc/gdb.info
 80bb93d40fedd049e5cb1df5f1f38928  gdb/doc/python.texi
 8a4aee08d4127ecb844a633b1f871326  gdb/doc/stabs.texinfo
 2c0fb4cb1ff2e33e19e20230da3b97dd  gdb/doc/ChangeLog
-34f30f290f4af1f2a3542169532dfb81  gdb/doc/gdb.1
-4874e9f7ee7a8cab9801c31906bca06d  gdb/doc/gcore.1
+1d5f631320aff1774b37949b2e9c6483  gdb/doc/gdb.1
+d13aac75e3e5cf7b578e09873bad7b25  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
-c80ce5540dfa273423a02b9172b8e243  gdb/doc/gdbinit.5
+6d6c23f51184426dccac4fbb92e91e5b  gdb/doc/gdbinit.5
 1192f4fe7137f234e4e775edad1f6b67  gdb/doc/Doxyfile-gdb-xref.in
 3dbfac6a018cf4a1cdba9576425d37ad  gdb/doc/annotate.texinfo
 ad3c3c9a187c8d44e9afe447d27b59fc  gdb/doc/doxy-index.in
@@ -5320,7 +5320,7 @@ a74f670e27b892b83c13054809c82473  gdb/fe
 d8bcd014db604b2089f82d3e77cb07d8  gdb/features/nds32.xml
 7f829c25b2e6de6eeb024f7d6dc5e78a  gdb/features/aarch64-fpu.xml
 9d9baf6ee79baadc2a660370cb2c1afc  gdb/gdb_indent.sh
-742474a332cb5017e6b126723b6fd8e4  gdb/infcmd.c
+59d817d7ec2142c8b910e4aee9f78705  gdb/infcmd.c
 25cf099cbdb647a5887a414a29b5ae54  gdb/valprint.c
 9ac0bc0948f70f668312ad7de08c23e7  gdb/solib-target.c
 82a179947c4391b4dc5f6a5f194c8f92  gdb/tilegx-tdep.c
@@ -5403,11 +5403,11 @@ a89a3021bca8a241457776eefbcc9f31  gdb/al
 15b3ec7139f06cfc1369b0837ec2717a  gdb/aclocal.m4
 d4b51a9ee12e174829c69061daee7fe5  gdb/p-lang.h
 b111794daa7eb645b4756e94632999a2  gdb/solib-darwin.h
-07fe346da8c859beee25922ff787d531  gdb/command.h
+6045815e1ca04fc124fd0e8d5577fab4  gdb/command.h
 eb070d698546d2249970d33257b7fb58  gdb/std-regs.c
 ebf0676f3a704787b0b07d24df62f2f4  gdb/go-lang.h
 00ea9011e2eb40f47643062e25f3257e  gdb/i386-windows-nat.c
-0190719be0d1334d5b5259058697f0b2  gdb/po/gdb.pot
+a6b49e2dc642842109676269ccaa6f92  gdb/po/gdb.pot
 1851bff0653201a488dcae18dde7efad  gdb/po/gdbtext
 21867eaf73d1ca153c5d6a17d735f7d3  gdb/break-catch-syscall.c
 707ca95997166afd8eae90a1ad5bb95a  gdb/ada-lang.c
@@ -5438,7 +5438,7 @@ d52daa0a890503fa5a66f1c190edcc4b  gdb/ex
 7c6760c76a3ed467e53059ffba288c8e  gdb/mipsread.c
 71bacfa19c404b335f593a8f16ad340f  gdb/selftest.c
 7378b256192666373e30b2fee36a496e  gdb/amd64-darwin-tdep.c
-e731668d63f9febd108f364b20072fd9  gdb/ChangeLog
+fcce0e49b0516a676760caefc2f83585  gdb/ChangeLog
 e860e6934b52d9ac7114f5ff0e630993  gdb/go-typeprint.c
 b858bfae264eece12de91eefcfb5c18d  gdb/score-tdep.c
 eef5427996b5fb62ff91ac9f54d3a854  gdb/m88k-bsd-nat.c
@@ -5594,7 +5594,7 @@ c291712f6a4d011e7f4533e3c570c583  gdb/sp
 26aa75ec19979d380c82e028592a254d  gdb/procfs.c
 e1df1416cbd0a3cc3619be04fc17c81d  gdb/solib-svr4.h
 fd54f63c26be11327ef258219c3e14ae  gdb/psympriv.h
-3697611c03a762459b204898f4fb53bb  gdb/rust-lang.c
+4e3a93693b7d2a20630cfda330ff5584  gdb/rust-lang.c
 99d4fa224906c41b9699748d97f62362  gdb/m32r-tdep.c
 b905bc4332ad58432e45aee9cf9ea84a  gdb/hppa-tdep.c
 c8a0f74109319d5b74ade04a104b0477  gdb/exceptions.h
@@ -7076,7 +7076,7 @@ bbfd19f836fc28d722aca0929f398c00  readli
 1a586babafce1cb2556dec55740c13a6  readline/xmalloc.h
 be3ee99a6642b61524d2954b19bf92eb  readline/undo.c
 bbb87babaa347cb24804c09723929e90  readline/funmap.c
-7e2a22f0ca8555c9260d3a279a3897ef  readline/input.c
+ea093af60cea9b99b912674b3786771f  readline/input.c
 6cdeffc0d59845553cb9c5a1085cb03e  readline/support/mkdist
 6184ded3b51aa82d752b3b3556bf8006  readline/support/config.sub
 07a39485e7d7f3a69ac78cec30ebeff7  readline/support/wcwidth.c
@@ -7178,7 +7178,7 @@ d5f318938c05345afba3549cf934b701  readli
 0bab71b938eb344efbe8916f3d57bc65  readline/ansi_stdlib.h
 6135f1ddbf10c2c069cb8d4f7ae26b21  readline/kill.c
 e8cf9ce0ae23eb40b5e2b191515ce1e9  readline/posixselect.h
-69a5791091ac78e90a3df1ba8e0e8704  readline/ChangeLog.gdb
+a7635711d7d20916c3549d5ce3c147ee  readline/ChangeLog.gdb
 4fc90f2cd3046270639a6475d8db57c4  readline/posixdir.h
 a9d91440157f3e5cc44a650de8ee01ec  readline/CHANGES
 383c4ece59e820d6eba4de16bde4cdd5  readline/shlib/Makefile.in
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.20170516/readline/ChangeLog.gdb ./readline/ChangeLog.gdb
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/readline/ChangeLog.gdb	2017-05-16 02:06:13.000000000 +0000
+++ ./readline/ChangeLog.gdb	2017-05-23 02:05:55.000000000 +0000
@@ -1,3 +1,8 @@
+2017-05-19  Eli Zaretskii  <eliz@gnu.org>
+
+	* input.c [_WIN32]: Include <conio.h> to avoid compiler warning on
+	MinGW.
+
 2016-09-17  Eli Zaretskii  <eliz@gnu.org>
 
 	* util.c: Include rlshell.h.
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.20170516/readline/input.c ./readline/input.c
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-7.99.91.20170516/readline/input.c	2017-05-16 02:06:13.000000000 +0000
+++ ./readline/input.c	2017-05-23 02:05:55.000000000 +0000
@@ -91,6 +91,7 @@ static int rl_gather_tyi PARAMS((void));
 /* 'isatty' in the Windows runtime returns non-zero for every
    character device, including the null device.  Repair that.  */
 #include <io.h>
+#include <conio.h>
 #define WIN32_LEAN_AND_MEAN 1
 #include <windows.h>
 
