diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/bfd/version.h ./bfd/version.h
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/bfd/version.h	2018-01-08 02:03:31.000000000 +0000
+++ ./bfd/version.h	2018-01-09 02:04:54.000000000 +0000
@@ -16,7 +16,7 @@
 
    In releases, the date is not included in either version strings or
    sonames.  */
-#define BFD_VERSION_DATE 20180108
+#define BFD_VERSION_DATE 20180109
 #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-8.0.90.20180108/djunpack.bat ./djunpack.bat
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/djunpack.bat	2018-01-08 02:07:15.000000000 +0000
+++ ./djunpack.bat	2018-01-09 02:08:40.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-8.0.90.20180108
-if "%GDBVER%"=="$package-8.0.90.20180108" GoTo EnvOk
+set GDBVER=$package-8.0.90.20180109
+if "%GDBVER%"=="$package-8.0.90.20180109" 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-8.0.90.20180108/gdb/ChangeLog ./gdb/ChangeLog
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/ChangeLog	2018-01-08 02:03:32.000000000 +0000
+++ ./gdb/ChangeLog	2018-01-09 02:04:56.000000000 +0000
@@ -1,3 +1,23 @@
+2018-01-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+	* gdb/gnu-nat.c: Include <elf.h> and <link.h>.
+	(gnu_xfer_auxv): New function.
+	(gnu_xfer_partial): Call gnu_xfer_auxv when `object' is
+	TARGET_OBJECT_AUXV.
+
+2018-01-08  Yao Qi  <yao.qi@linaro.org>
+	    Simon Marchi  <simon.marchi@ericsson.com>
+
+	* Makefile.in (COMMON_SFILES): Remove selftest-arch.c and
+	common/selftest.c.
+	(COMMON_OBS): Remove selftest.o.
+	* configure.ac: Append selftest-arch.c and common/selftest.c to
+	CONFIG_SRCS.  Append selftest-arch.o and selftest.o to COMMON_OBS.
+	* configure: Re-generated.
+	* maint.c (maintenance_selftest): Wrap selftests::run_tests with
+	GDB_SELF_TEST.
+	(maintenance_info_selftests): Likewise.
+
 2018-01-05  Pedro Alves  <palves@redhat.com>
 
 	PR gdb/18653
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/configure ./gdb/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/configure	2018-01-08 02:03:32.000000000 +0000
+++ ./gdb/configure	2018-01-09 02:04:57.000000000 +0000
@@ -17599,8 +17599,8 @@ if $development; then
 
 $as_echo "#define GDB_SELF_TEST 1" >>confdefs.h
 
-  CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_UNITTESTS_OBS)"
-  CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_UNITTESTS_SRCS)"
+  CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_UNITTESTS_OBS) selftest.o selftest-arch.o"
+  CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_UNITTESTS_SRCS) common/selftest.c selftest-arch.c"
 fi
 
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/configure.ac ./gdb/configure.ac
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/configure.ac	2018-01-08 02:03:32.000000000 +0000
+++ ./gdb/configure.ac	2018-01-09 02:04:57.000000000 +0000
@@ -2293,8 +2293,8 @@ AC_DEFINE(GDB_DEFAULT_HOST_CHARSET, "UTF
 if $development; then
   AC_DEFINE(GDB_SELF_TEST, 1,
             [Define if self-testing features should be enabled])
-  CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_UNITTESTS_OBS)"
-  CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_UNITTESTS_SRCS)"
+  CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_UNITTESTS_OBS) selftest.o selftest-arch.o"
+  CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_UNITTESTS_SRCS) common/selftest.c selftest-arch.c"
 fi
 
 GDB_AC_TRANSFORM([gdb], [GDB_TRANSFORM_NAME])
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/doc/gcore.1 ./gdb/doc/gcore.1
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/doc/gcore.1	2018-01-08 02:07:09.000000000 +0000
+++ ./gdb/doc/gcore.1	2018-01-09 02:08:34.000000000 +0000
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "GCORE 1"
-.TH GCORE 1 "2018-01-08" "gdb-8.0.90.20180108-git" "GNU Development Tools"
+.TH GCORE 1 "2018-01-09" "gdb-8.0.90.20180109-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-8.0.90.20180108/gdb/doc/gdb.1 ./gdb/doc/gdb.1
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/doc/gdb.1	2018-01-08 02:07:09.000000000 +0000
+++ ./gdb/doc/gdb.1	2018-01-09 02:08:34.000000000 +0000
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "GDB 1"
-.TH GDB 1 "2018-01-08" "gdb-8.0.90.20180108-git" "GNU Development Tools"
+.TH GDB 1 "2018-01-09" "gdb-8.0.90.20180109-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-8.0.90.20180108/gdb/doc/gdb.info ./gdb/doc/gdb.info
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/doc/gdb.info	2018-01-08 02:07:05.000000000 +0000
+++ ./gdb/doc/gdb.info	2018-01-09 02:08:31.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 8.0.90.20180108-git.
+Source-Level Debugger' for GDB (GDB) Version 8.0.90.20180109-git.
 
    Copyright (C) 1988-2018 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-8.0.90.20180108/gdb/doc/gdb.info-1 ./gdb/doc/gdb.info-1
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/doc/gdb.info-1	2018-01-08 02:06:53.000000000 +0000
+++ ./gdb/doc/gdb.info-1	2018-01-09 02:08: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 8.0.90.20180108-git.
+Source-Level Debugger' for GDB (GDB) Version 8.0.90.20180109-git.
 
    Copyright (C) 1988-2018 Free Software Foundation, Inc.
 
@@ -44,7 +44,7 @@ Debugging with GDB
 
 This file describes GDB, the GNU symbolic debugger.
 
-   This is the Tenth Edition, for GDB (GDB) Version 8.0.90.20180108-git.
+   This is the Tenth Edition, for GDB (GDB) Version 8.0.90.20180109-git.
 
    Copyright (C) 1988-2018 Free Software Foundation, Inc.
 
@@ -501,7 +501,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 8.0.90.20180108-git, Copyright 1999 Free Software Foundation, Inc...
+     GDB 8.0.90.20180109-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-8.0.90.20180108/gdb/doc/gdb.info-2 ./gdb/doc/gdb.info-2
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/doc/gdb.info-2	2018-01-08 02:06:55.000000000 +0000
+++ ./gdb/doc/gdb.info-2	2018-01-09 02:08:21.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 8.0.90.20180108-git.
+Source-Level Debugger' for GDB (GDB) Version 8.0.90.20180109-git.
 
    Copyright (C) 1988-2018 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-8.0.90.20180108/gdb/doc/gdb.info-3 ./gdb/doc/gdb.info-3
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/doc/gdb.info-3	2018-01-08 02:06:57.000000000 +0000
+++ ./gdb/doc/gdb.info-3	2018-01-09 02:08:23.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 8.0.90.20180108-git.
+Source-Level Debugger' for GDB (GDB) Version 8.0.90.20180109-git.
 
    Copyright (C) 1988-2018 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-8.0.90.20180108/gdb/doc/gdb.info-4 ./gdb/doc/gdb.info-4
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/doc/gdb.info-4	2018-01-08 02:06:59.000000000 +0000
+++ ./gdb/doc/gdb.info-4	2018-01-09 02:08:25.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 8.0.90.20180108-git.
+Source-Level Debugger' for GDB (GDB) Version 8.0.90.20180109-git.
 
    Copyright (C) 1988-2018 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-8.0.90.20180108/gdb/doc/gdb.info-5 ./gdb/doc/gdb.info-5
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/doc/gdb.info-5	2018-01-08 02:07:01.000000000 +0000
+++ ./gdb/doc/gdb.info-5	2018-01-09 02:08:27.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 8.0.90.20180108-git.
+Source-Level Debugger' for GDB (GDB) Version 8.0.90.20180109-git.
 
    Copyright (C) 1988-2018 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-8.0.90.20180108/gdb/doc/gdb.info-6 ./gdb/doc/gdb.info-6
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/doc/gdb.info-6	2018-01-08 02:07:03.000000000 +0000
+++ ./gdb/doc/gdb.info-6	2018-01-09 02:08:29.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 8.0.90.20180108-git.
+Source-Level Debugger' for GDB (GDB) Version 8.0.90.20180109-git.
 
    Copyright (C) 1988-2018 Free Software Foundation, Inc.
 
@@ -1500,7 +1500,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-8.0.90.20180108-git/gdb/gdb.info', and it refers to subordinate
+'gdb-8.0.90.20180109-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'
@@ -1510,8 +1510,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-8.0.90.20180108-git', in the case of version
-8.0.90.20180108-git), you can make the Info file by typing:
+directory ('gdb-8.0.90.20180109-git', in the case of version
+8.0.90.20180109-git), you can make the Info file by typing:
 
      cd gdb
      make gdb.info
@@ -1536,7 +1536,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-8.0.90.20180108-git/gdb')
+main source directory (for example, to 'gdb-8.0.90.20180109-git/gdb')
 and type:
 
      make gdb.dvi
@@ -1545,8 +1545,8 @@ and type:
 
    ---------- Footnotes ----------
 
-   (1) In 'gdb-8.0.90.20180108-git/gdb/refcard.ps' of the version
-8.0.90.20180108-git release.
+   (1) In 'gdb-8.0.90.20180109-git/gdb/refcard.ps' of the version
+8.0.90.20180109-git release.
 
 
 File: gdb.info,  Node: Installing GDB,  Next: Maintenance Commands,  Prev: Formatting Documentation,  Up: Top
@@ -1664,39 +1664,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 8.0.90.20180108-git distribution is in
-the 'gdb-8.0.90.20180108-git' directory.  That directory contains:
+   For example, the GDB version 8.0.90.20180109-git distribution is in
+the 'gdb-8.0.90.20180109-git' directory.  That directory contains:
 
-'gdb-8.0.90.20180108-git/configure (and supporting files)'
+'gdb-8.0.90.20180109-git/configure (and supporting files)'
      script for configuring GDB and all its supporting libraries
 
-'gdb-8.0.90.20180108-git/gdb'
+'gdb-8.0.90.20180109-git/gdb'
      the source specific to GDB itself
 
-'gdb-8.0.90.20180108-git/bfd'
+'gdb-8.0.90.20180109-git/bfd'
      source for the Binary File Descriptor library
 
-'gdb-8.0.90.20180108-git/include'
+'gdb-8.0.90.20180109-git/include'
      GNU include files
 
-'gdb-8.0.90.20180108-git/libiberty'
+'gdb-8.0.90.20180109-git/libiberty'
      source for the '-liberty' free software library
 
-'gdb-8.0.90.20180108-git/opcodes'
+'gdb-8.0.90.20180109-git/opcodes'
      source for the library of opcode tables and disassemblers
 
-'gdb-8.0.90.20180108-git/readline'
+'gdb-8.0.90.20180109-git/readline'
      source for the GNU command-line interface
 
-'gdb-8.0.90.20180108-git/glob'
+'gdb-8.0.90.20180109-git/glob'
      source for the GNU filename pattern-matching subroutine
 
-'gdb-8.0.90.20180108-git/mmalloc'
+'gdb-8.0.90.20180109-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-8.0.90.20180108-git' directory.
+the 'gdb-8.0.90.20180109-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
@@ -1704,7 +1704,7 @@ platform on which GDB will run as an arg
 
    For example:
 
-     cd gdb-8.0.90.20180108-git
+     cd gdb-8.0.90.20180109-git
      ./configure HOST
      make
 
@@ -1726,8 +1726,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-8.0.90.20180108-git' source directory for version
-8.0.90.20180108-git, 'configure' creates configuration files for every
+'gdb-8.0.90.20180109-git' source directory for version
+8.0.90.20180109-git, 'configure' creates configuration files for every
 directory level underneath (unless you tell it not to, with the
 '--norecursion' option).
 
@@ -1767,13 +1767,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 8.0.90.20180108-git, you can build GDB in a
+   For example, with version 8.0.90.20180109-git, you can build GDB in a
 separate directory for a Sun 4 like this:
 
-     cd gdb-8.0.90.20180108-git
+     cd gdb-8.0.90.20180109-git
      mkdir ../gdb-sun4
      cd ../gdb-sun4
-     ../gdb-8.0.90.20180108-git/configure sun4
+     ../gdb-8.0.90.20180109-git/configure sun4
      make
 
    When 'configure' builds a configuration using a remote source
@@ -1784,7 +1784,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-8.0.90.20180108-git/gdb/configure', you are configuring only one
+'../gdb-8.0.90.20180109-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'.
 
@@ -1800,8 +1800,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-8.0.90.20180108-git' (or in a separate configured directory
-configured with '--srcdir=DIRNAME/gdb-8.0.90.20180108-git'), you will
+'gdb-8.0.90.20180109-git' (or in a separate configured directory
+configured with '--srcdir=DIRNAME/gdb-8.0.90.20180109-git'), you will
 build all the required libraries, and then build GDB.
 
    When you have multiple hosts or targets configured in separate
@@ -1846,7 +1846,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-8.0.90.20180108-git', for version 8.0.90.20180108-git).
+('gdb-8.0.90.20180109-git', for version 8.0.90.20180109-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-8.0.90.20180108/gdb/doc/gdb.info-7 ./gdb/doc/gdb.info-7
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/doc/gdb.info-7	2018-01-08 02:07:05.000000000 +0000
+++ ./gdb/doc/gdb.info-7	2018-01-09 02:08:31.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 8.0.90.20180108-git.
+Source-Level Debugger' for GDB (GDB) Version 8.0.90.20180109-git.
 
    Copyright (C) 1988-2018 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-8.0.90.20180108/gdb/doc/gdbinit.5 ./gdb/doc/gdbinit.5
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/doc/gdbinit.5	2018-01-08 02:07:09.000000000 +0000
+++ ./gdb/doc/gdbinit.5	2018-01-09 02:08:34.000000000 +0000
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "GDBINIT 5"
-.TH GDBINIT 5 "2018-01-08" "gdb-8.0.90.20180108-git" "GNU Development Tools"
+.TH GDBINIT 5 "2018-01-09" "gdb-8.0.90.20180109-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-8.0.90.20180108/gdb/doc/gdbserver.1 ./gdb/doc/gdbserver.1
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/doc/gdbserver.1	2018-01-08 02:07:09.000000000 +0000
+++ ./gdb/doc/gdbserver.1	2018-01-09 02:08:34.000000000 +0000
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "GDBSERVER 1"
-.TH GDBSERVER 1 "2018-01-08" "gdb-8.0.90.20180108-git" "GNU Development Tools"
+.TH GDBSERVER 1 "2018-01-09" "gdb-8.0.90.20180109-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-8.0.90.20180108/gdb/gdbserver/ChangeLog ./gdb/gdbserver/ChangeLog
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/gdbserver/ChangeLog	2018-01-08 02:03:32.000000000 +0000
+++ ./gdb/gdbserver/ChangeLog	2018-01-09 02:04:57.000000000 +0000
@@ -1,3 +1,13 @@
+2018-01-08  Yao Qi  <yao.qi@linaro.org>
+	    Simon Marchi  <simon.marchi@ericsson.com>
+
+	* Makefile.in (OBS): Remove selftest.o.
+	* configure.ac: Set srv_selftest_objs if $development is true.
+	(GDBSERVER_DEPFILES): Append $srv_selftest_objs.
+	* configure: Re-generated.
+	* server.c (captured_main): Wrap variable selftest_filter with
+	GDB_SELF_TEST.
+
 2018-01-05  Pedro Alves  <palves@redhat.com>
 
 	PR gdb/18653
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/gdbserver/configure ./gdb/gdbserver/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/gdbserver/configure	2018-01-08 02:03:32.000000000 +0000
+++ ./gdb/gdbserver/configure	2018-01-09 02:04:57.000000000 +0000
@@ -5815,6 +5815,7 @@ fi
 
 
 if $development; then
+  srv_selftest_objs="selftest.o"
 
 $as_echo "#define GDB_SELF_TEST 1" >>confdefs.h
 
@@ -8287,7 +8288,7 @@ if test "$srv_xmlfiles" != ""; then
   done
 fi
 
-GDBSERVER_DEPFILES="$srv_regobj $srv_tgtobj $srv_hostio_err_objs $srv_thread_depfiles $srv_host_obs"
+GDBSERVER_DEPFILES="$srv_regobj $srv_tgtobj $srv_hostio_err_objs $srv_thread_depfiles $srv_host_obs $srv_selftest_objs"
 GDBSERVER_LIBS="$srv_libs"
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_*_compare_and_swap" >&5
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/gdbserver/configure.ac ./gdb/gdbserver/configure.ac
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/gdbserver/configure.ac	2018-01-08 02:03:32.000000000 +0000
+++ ./gdb/gdbserver/configure.ac	2018-01-09 02:04:57.000000000 +0000
@@ -57,6 +57,7 @@ fi
 GDB_AC_LIBMCHECK(${libmcheck_default})
 
 if $development; then
+  srv_selftest_objs="selftest.o"
   AC_DEFINE(GDB_SELF_TEST, 1,
             [Define if self-testing features should be enabled])
 fi
@@ -410,7 +411,7 @@ if test "$srv_xmlfiles" != ""; then
   done
 fi
 
-GDBSERVER_DEPFILES="$srv_regobj $srv_tgtobj $srv_hostio_err_objs $srv_thread_depfiles $srv_host_obs"
+GDBSERVER_DEPFILES="$srv_regobj $srv_tgtobj $srv_hostio_err_objs $srv_thread_depfiles $srv_host_obs $srv_selftest_objs"
 GDBSERVER_LIBS="$srv_libs"
 
 dnl Check whether the target supports __sync_*_compare_and_swap.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/gdbserver/Makefile.in ./gdb/gdbserver/Makefile.in
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/gdbserver/Makefile.in	2018-01-08 02:03:32.000000000 +0000
+++ ./gdb/gdbserver/Makefile.in	2018-01-09 02:04:57.000000000 +0000
@@ -261,7 +261,6 @@ OBS = \
 	regcache.o \
 	remote-utils.o \
 	rsp-low.o \
-	selftest.o \
 	server.o \
 	signals.o \
 	signals-state-save-restore.o \
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/gdbserver/server.c ./gdb/gdbserver/server.c
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/gdbserver/server.c	2018-01-08 02:03:32.000000000 +0000
+++ ./gdb/gdbserver/server.c	2018-01-09 02:04:57.000000000 +0000
@@ -3560,7 +3560,9 @@ captured_main (int argc, char *argv[])
   volatile int attach = 0;
   int was_running;
   bool selftest = false;
+#if GDB_SELF_TEST
   const char *selftest_filter = NULL;
+#endif
 
   while (*next_arg != NULL && **next_arg == '-')
     {
@@ -3684,7 +3686,9 @@ captured_main (int argc, char *argv[])
       else if (startswith (*next_arg, "--selftest="))
 	{
 	  selftest = true;
+#if GDB_SELF_TEST
 	  selftest_filter = *next_arg + strlen ("--selftest=");
+#endif
 	}
       else
 	{
@@ -3762,7 +3766,11 @@ captured_main (int argc, char *argv[])
 
   if (selftest)
     {
+#if GDB_SELF_TEST
       selftests::run_tests (selftest_filter);
+#else
+      printf (_("Selftests are not available in a non-development build.\n"));
+#endif
       throw_quit ("Quit");
     }
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/gnu-nat.c ./gdb/gnu-nat.c
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/gnu-nat.c	2018-01-08 02:03:32.000000000 +0000
+++ ./gdb/gnu-nat.c	2018-01-09 02:04:57.000000000 +0000
@@ -52,6 +52,8 @@ extern "C"
 #include <setjmp.h>
 #include <signal.h>
 #include <sys/ptrace.h>
+#include <elf.h>
+#include <link.h>
 
 #include "inferior.h"
 #include "symtab.h"
@@ -2541,6 +2543,60 @@ gnu_xfer_memory (gdb_byte *readbuf, cons
     }
 }
 
+/* GNU does not have auxv, but we can at least fake the AT_ENTRY entry for PIE
+   binaries.  */
+static enum target_xfer_status
+gnu_xfer_auxv (gdb_byte *readbuf, const gdb_byte *writebuf,
+	       CORE_ADDR memaddr, ULONGEST len, ULONGEST *xfered_len)
+{
+  task_t task = (gnu_current_inf
+		 ? (gnu_current_inf->task
+		    ? gnu_current_inf->task->port : 0)
+		 : 0);
+  process_t proc;
+  int res;
+  kern_return_t err;
+  vm_address_t entry;
+  ElfW(auxv_t) auxv[2];
+
+  if (task == MACH_PORT_NULL)
+    return TARGET_XFER_E_IO;
+  if (writebuf != NULL)
+    return TARGET_XFER_E_IO;
+
+  if (memaddr == sizeof (auxv))
+    return TARGET_XFER_EOF;
+  if (memaddr > sizeof (auxv))
+    return TARGET_XFER_E_IO;
+
+  err = proc_task2proc (proc_server, task, &proc);
+  if (err != 0)
+    return TARGET_XFER_E_IO;
+
+  /* Get entry from proc server.  */
+  err = proc_get_entry (proc, &entry);
+  if (err != 0)
+    return TARGET_XFER_E_IO;
+
+  /* Fake auxv entry.  */
+  auxv[0].a_type = AT_ENTRY;
+  auxv[0].a_un.a_val = entry;
+  auxv[1].a_type = AT_NULL;
+  auxv[1].a_un.a_val = 0;
+
+  inf_debug (gnu_current_inf, "reading auxv %s[%s] --> %s",
+	     paddress (target_gdbarch (), memaddr), pulongest (len),
+	     host_address_to_string (readbuf));
+
+  if (memaddr + len > sizeof (auxv))
+    len = sizeof (auxv) - memaddr;
+
+  memcpy (readbuf, (gdb_byte *) &auxv + memaddr, len);
+  *xfered_len = len;
+
+  return TARGET_XFER_OK;
+}
+
 /* Target to_xfer_partial implementation.  */
 
 static enum target_xfer_status
@@ -2553,6 +2609,8 @@ gnu_xfer_partial (struct target_ops *ops
     {
     case TARGET_OBJECT_MEMORY:
       return gnu_xfer_memory (readbuf, writebuf, offset, len, xfered_len);
+    case TARGET_OBJECT_AUXV:
+      return gnu_xfer_auxv (readbuf, writebuf, offset, len, xfered_len);
     default:
       return TARGET_XFER_E_IO;
     }
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/maint.c ./gdb/maint.c
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/maint.c	2018-01-08 02:03:33.000000000 +0000
+++ ./gdb/maint.c	2018-01-09 02:04:57.000000000 +0000
@@ -939,16 +939,26 @@ show_per_command_cmd (const char *args, 
 static void
 maintenance_selftest (const char *args, int from_tty)
 {
+#if GDB_SELF_TEST
   selftests::run_tests (args);
+#else
+  printf_filtered (_("\
+Selftests are not available in a non-development build.\n"));
+#endif
 }
 
 static void
 maintenance_info_selftests (const char *arg, int from_tty)
 {
+#if GDB_SELF_TEST
   printf_filtered ("Registered selftests:\n");
   selftests::for_each_selftest ([] (const std::string &name) {
     printf_filtered (" - %s\n", name.c_str ());
   });
+#else
+  printf_filtered (_("\
+Selftests are not available in a non-development build.\n"));
+#endif
 }
 
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/Makefile.in ./gdb/Makefile.in
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/Makefile.in	2018-01-08 02:03:32.000000000 +0000
+++ ./gdb/Makefile.in	2018-01-09 02:04:56.000000000 +0000
@@ -1050,7 +1050,6 @@ COMMON_SFILES = \
 	remote-notif.c \
 	reverse.c \
 	rust-lang.c \
-	selftest-arch.c \
 	sentinel-frame.c \
 	ser-event.c \
 	serial.c \
@@ -1139,7 +1138,6 @@ SFILES = \
 	common/ptid.c \
 	common/rsp-low.c \
 	common/run-time-clock.c \
-	common/selftest.c \
 	common/signals.c \
 	common/signals-state-save-restore.c \
 	common/vec.c \
@@ -1555,7 +1553,6 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $
 	ptid.o \
 	rsp-low.o \
 	run-time-clock.o \
-	selftest.o \
 	signals.o \
 	signals-state-save-restore.o \
 	vec.o \
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/po/gdb.pot ./gdb/po/gdb.pot
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/po/gdb.pot	2018-01-08 02:06:42.000000000 +0000
+++ ./gdb/po/gdb.pot	2018-01-09 02:08:08.000000000 +0000
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-01-08 02:06+0000\n"
+"POT-Creation-Date: 2018-01-09 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"
@@ -8175,7 +8175,7 @@ msgid "unable to create a pipe: %s"
 msgstr ""
 
 #. Trying to masturbate?
-#: darwin-nat.c:1893 gnu-nat.c:2202 inf-ptrace.c:182
+#: darwin-nat.c:1893 gnu-nat.c:2204 inf-ptrace.c:182
 msgid "I refuse to debug myself!"
 msgstr ""
 
@@ -12108,6 +12108,11 @@ msgstr ""
 msgid "[Unset the inferior's current directory; will use gdbserver's cwd]\n"
 msgstr ""
 
+#: gdbserver/server.c:3772 maint.c:945 maint.c:959
+#, c-format
+msgid "Selftests are not available in a non-development build.\n"
+msgstr ""
+
 #: gdbserver/thread-db.c:665
 #, possible-c-format
 msgid "libthread-db-search-path component too long, ignored: %s."
@@ -12312,218 +12317,218 @@ msgstr ""
 msgid "Unknown system error"
 msgstr ""
 
-#: gnu-nat.c:340
+#: gnu-nat.c:342
 #, possible-c-format
 msgid "Stopped %s."
 msgstr ""
 
-#: gnu-nat.c:478 gnu-nat.c:508
+#: gnu-nat.c:480 gnu-nat.c:510
 #, possible-c-format
 msgid "Error setting exception port for %s: %s"
 msgstr ""
 
-#: gnu-nat.c:585
+#: gnu-nat.c:587
 #, possible-c-format
 msgid "Couldn't request notification for port %lu: %s"
 msgstr ""
 
-#: gnu-nat.c:735
+#: gnu-nat.c:737
 #, possible-c-format
 msgid "Error allocating event port: %s"
 msgstr ""
 
-#: gnu-nat.c:760
+#: gnu-nat.c:762
 #, possible-c-format
 msgid "Error getting task for pid %d: %s"
 msgstr ""
 
-#: gnu-nat.c:864
+#: gnu-nat.c:866
 #, possible-c-format
 msgid "Pid %d has an additional task suspend count of %d; clear it? "
 msgstr ""
 
-#: gnu-nat.c:867
+#: gnu-nat.c:869
 msgid "Additional task suspend count left untouched."
 msgstr ""
 
-#: gnu-nat.c:894 gnu-nat.c:899
+#: gnu-nat.c:896 gnu-nat.c:901
 #, possible-c-format
 msgid "Can't modify tracing state for pid %d: %s"
 msgstr ""
 
-#: gnu-nat.c:1371
+#: gnu-nat.c:1373
 #, possible-c-format
 msgid "Can't forward spontaneous exception (%s)."
 msgstr ""
 
 #. Can't do too much...
-#: gnu-nat.c:1411
+#: gnu-nat.c:1413
 #, possible-c-format
 msgid "Can't deliver signal %s: No signal thread."
 msgstr ""
 
-#: gnu-nat.c:1413
+#: gnu-nat.c:1415
 #, possible-c-format
 msgid "Delivering signal %s: %s"
 msgstr ""
 
-#: gnu-nat.c:1444
+#: gnu-nat.c:1446
 #, possible-c-format
 msgid "Can't continue process: %s"
 msgstr ""
 
-#: gnu-nat.c:1485
+#: gnu-nat.c:1487
 msgid "There are no threads; try again later."
 msgstr ""
 
-#: gnu-nat.c:1509
+#: gnu-nat.c:1511
 #, possible-c-format
 msgid "wait request failed: %s"
 msgstr ""
 
-#: gnu-nat.c:1545
+#: gnu-nat.c:1547
 #, possible-c-format
 msgid "Couldn't wait for an event: %s"
 msgstr ""
 
 #. Whatever it is, it's something strange.
-#: gnu-nat.c:1565
+#: gnu-nat.c:1567
 #, possible-c-format
 msgid "Got a strange event, msg id = %d."
 msgstr ""
 
-#: gnu-nat.c:1568
+#: gnu-nat.c:1570
 #, possible-c-format
 msgid "Handling event, msgid = %d: %s"
 msgstr ""
 
-#: gnu-nat.c:1749
+#: gnu-nat.c:1751
 #, possible-c-format
 msgid "Pid %d died with unknown exit status, using SIGKILL."
 msgstr ""
 
-#: gnu-nat.c:1802
+#: gnu-nat.c:1804
 #, possible-c-format
 msgid "illegal rpc: %s"
 msgstr ""
 
-#: gnu-nat.c:1847
+#: gnu-nat.c:1849
 #, possible-c-format
 msgid "Can't wait for pid %d: %s"
 msgstr ""
 
-#: gnu-nat.c:1951
+#: gnu-nat.c:1953
 #, possible-c-format
 msgid "Signal delivery failed: %s"
 msgstr ""
 
-#: gnu-nat.c:2024
+#: gnu-nat.c:2026
 #, possible-c-format
 msgid "Aborting %s with unforwarded exception %s."
 msgstr ""
 
-#: gnu-nat.c:2053
+#: gnu-nat.c:2055
 #, possible-c-format
 msgid "Can't run single thread id %s: no such thread!"
 msgstr ""
 
-#: gnu-nat.c:2063
+#: gnu-nat.c:2065
 #, possible-c-format
 msgid "Can't step thread id %s: no such thread."
 msgstr ""
 
-#: gnu-nat.c:2286
+#: gnu-nat.c:2288
 msgid "to_stop target function not implemented"
 msgstr ""
 
-#: gnu-nat.c:2320
+#: gnu-nat.c:2322
 #, possible-c-format
 msgid "Read from inferior faulted: %s"
 msgstr ""
 
-#: gnu-nat.c:2326
+#: gnu-nat.c:2328
 #, possible-c-format
 msgid "gnu_read_inferior vm_deallocate failed: %s"
 msgstr ""
 
-#: gnu-nat.c:2413
+#: gnu-nat.c:2415
 #, possible-c-format
 msgid "No memory at 0x%lx. Nothing written"
 msgstr ""
 
-#: gnu-nat.c:2422
+#: gnu-nat.c:2424
 #, possible-c-format
 msgid "Memory at address 0x%lx is unwritable. Nothing written"
 msgstr ""
 
-#: gnu-nat.c:2495
+#: gnu-nat.c:2497
 #, possible-c-format
 msgid "%s: %s"
 msgstr ""
 
-#: gnu-nat.c:2603
+#: gnu-nat.c:2661
 #, possible-c-format
 msgid "vm_region failed: %s"
 msgstr ""
 
-#: gnu-nat.c:2755
+#: gnu-nat.c:2813
 #, possible-c-format
 msgid "Illegal argument for \"%s\" command, should be an integer."
 msgstr ""
 
-#: gnu-nat.c:2767
+#: gnu-nat.c:2825
 #, possible-c-format
 msgid "Illegal argument for \"%s\" command, should be \"%s\" or \"%s\"."
 msgstr ""
 
-#: gnu-nat.c:2779
+#: gnu-nat.c:2837
 #, possible-c-format
 msgid "Garbage after \"%s\" command: `%s'"
 msgstr ""
 
-#: gnu-nat.c:2790
+#: gnu-nat.c:2848
 msgid "No current thread."
 msgstr ""
 
-#: gnu-nat.c:2801
+#: gnu-nat.c:2859
 msgid "No current process."
 msgstr ""
 
-#: gnu-nat.c:2921
+#: gnu-nat.c:2979
 msgid "No inferior task."
 msgstr ""
 
-#: gnu-nat.c:2927
+#: gnu-nat.c:2985
 #, possible-c-format
 msgid "Couldn't extract send right %lu from inferior: %s"
 msgstr ""
 
-#: gnu-nat.c:2943
+#: gnu-nat.c:3001
 #, possible-c-format
 msgid "Can't set exception port for %s: %s"
 msgstr ""
 
-#: gnu-nat.c:2954
+#: gnu-nat.c:3012
 msgid "No argument to \"set task exception-port\" command."
 msgstr ""
 
-#: gnu-nat.c:2980
+#: gnu-nat.c:3038
 msgid ""
 "Illegal argument to \"set signal-thread\" command.\n"
 "Should be a thread ID, or \"none\"."
 msgstr ""
 
-#: gnu-nat.c:3131
+#: gnu-nat.c:3189
 #, possible-c-format
 msgid "%ld: %s."
 msgstr ""
 
-#: gnu-nat.c:3141 utils.c:686
+#: gnu-nat.c:3199 utils.c:686
 #, possible-c-format
 msgid "%s."
 msgstr ""
 
-#: gnu-nat.c:3181
+#: gnu-nat.c:3239
 msgid ""
 "Set whether the new threads are suspended while gdb has control.\n"
 "This property normally has no effect because the whole task is\n"
@@ -12531,78 +12536,78 @@ msgid ""
 "The default value is \"off\"."
 msgstr ""
 
-#: gnu-nat.c:3187
+#: gnu-nat.c:3245
 msgid "Show whether new threads are suspended while gdb has control."
 msgstr ""
 
-#: gnu-nat.c:3191
+#: gnu-nat.c:3249
 msgid "Set whether new threads are allowed to run (once gdb has noticed them)."
 msgstr ""
 
-#: gnu-nat.c:3194
+#: gnu-nat.c:3252
 msgid ""
 "Show whether new threads are allowed to run (once gdb has noticed them)."
 msgstr ""
 
-#: gnu-nat.c:3199
+#: gnu-nat.c:3257
 msgid "Set the default detach-suspend-count value for new threads."
 msgstr ""
 
-#: gnu-nat.c:3202
+#: gnu-nat.c:3260
 msgid "Show the default detach-suspend-count value for new threads."
 msgstr ""
 
-#: gnu-nat.c:3205
+#: gnu-nat.c:3263
 msgid ""
 "Set whether the inferior process's signals will be intercepted.\n"
 "Mach exceptions (such as breakpoint traps) are not affected."
 msgstr ""
 
-#: gnu-nat.c:3210
+#: gnu-nat.c:3268
 msgid "Show whether the inferior process's signals will be intercepted."
 msgstr ""
 
-#: gnu-nat.c:3215
+#: gnu-nat.c:3273
 msgid ""
 "Set the thread that gdb thinks is the libc signal thread.\n"
 "This thread is run when delivering a signal to a non-stopped process."
 msgstr ""
 
-#: gnu-nat.c:3220
+#: gnu-nat.c:3278
 msgid "Set the thread that gdb thinks is the libc signal thread."
 msgstr ""
 
-#: gnu-nat.c:3225
+#: gnu-nat.c:3283
 msgid ""
 "Set whether gdb thinks the inferior process is stopped as with SIGSTOP.\n"
 "Stopped process will be continued by sending them a signal."
 msgstr ""
 
-#: gnu-nat.c:3229
+#: gnu-nat.c:3287
 msgid ""
 "Show whether gdb thinks the inferior process is stopped as with SIGSTOP."
 msgstr ""
 
-#: gnu-nat.c:3233
+#: gnu-nat.c:3291
 msgid ""
 "Set whether exceptions in the inferior process will be trapped.\n"
 "When exceptions are turned off, neither breakpoints nor single-stepping\n"
 "will work."
 msgstr ""
 
-#: gnu-nat.c:3240
+#: gnu-nat.c:3298
 msgid "Show whether exceptions in the inferior process will be trapped."
 msgstr ""
 
-#: gnu-nat.c:3245
+#: gnu-nat.c:3303
 msgid "Command prefix for setting task attributes."
 msgstr ""
 
-#: gnu-nat.c:3248
+#: gnu-nat.c:3306
 msgid "Command prefix for showing task attributes."
 msgstr ""
 
-#: gnu-nat.c:3251
+#: gnu-nat.c:3309
 msgid ""
 "Set whether the task is suspended while gdb has control.\n"
 "A value of \"on\" takes effect immediately, otherwise nothing happens\n"
@@ -12611,19 +12616,19 @@ msgid ""
 "used to pause individual threads by default instead."
 msgstr ""
 
-#: gnu-nat.c:3259
+#: gnu-nat.c:3317
 msgid "Show whether the task is suspended while gdb has control."
 msgstr ""
 
-#: gnu-nat.c:3263
+#: gnu-nat.c:3321
 msgid "Set the suspend count will leave on the thread when detaching."
 msgstr ""
 
-#: gnu-nat.c:3266
+#: gnu-nat.c:3324
 msgid "Show the suspend count will leave on the thread when detaching."
 msgstr ""
 
-#: gnu-nat.c:3270
+#: gnu-nat.c:3328
 msgid ""
 "Set the task exception port to which we forward exceptions.\n"
 "The argument should be the value of the send right in the task."
@@ -12631,54 +12636,54 @@ msgstr ""
 
 #. A convenient way of turning on all options require to noninvasively
 #. debug running tasks.
-#: gnu-nat.c:3280
+#: gnu-nat.c:3338
 msgid ""
 "Set task options so that we interfere as little as possible.\n"
 "This is the same as setting `task pause', `exceptions', and\n"
 "`signals' to the opposite value."
 msgstr ""
 
-#: gnu-nat.c:3288
+#: gnu-nat.c:3346
 msgid "Show information about the task's send rights"
 msgstr ""
 
-#: gnu-nat.c:3290
+#: gnu-nat.c:3348
 msgid "Show information about the task's receive rights"
 msgstr ""
 
-#: gnu-nat.c:3292
+#: gnu-nat.c:3350
 msgid "Show information about the task's port rights"
 msgstr ""
 
-#: gnu-nat.c:3294
+#: gnu-nat.c:3352
 msgid "Show information about the task's port sets"
 msgstr ""
 
-#: gnu-nat.c:3296
+#: gnu-nat.c:3354
 msgid "Show information about the task's dead names"
 msgstr ""
 
-#: gnu-nat.c:3373
+#: gnu-nat.c:3431
 msgid "No argument to \"set thread exception-port\" command."
 msgstr ""
 
-#: gnu-nat.c:3416
+#: gnu-nat.c:3474
 msgid "Command prefix for setting thread properties."
 msgstr ""
 
-#: gnu-nat.c:3419
+#: gnu-nat.c:3477
 msgid "Command prefix for setting default thread properties."
 msgstr ""
 
-#: gnu-nat.c:3423
+#: gnu-nat.c:3481
 msgid "Command prefix for showing thread properties."
 msgstr ""
 
-#: gnu-nat.c:3426
+#: gnu-nat.c:3484
 msgid "Command prefix for showing default thread properties."
 msgstr ""
 
-#: gnu-nat.c:3430
+#: gnu-nat.c:3488
 msgid ""
 "Set whether the current thread is suspended while gdb has control.\n"
 "A value of \"on\" takes effect immediately, otherwise nothing happens\n"
@@ -12688,55 +12693,55 @@ msgid ""
 "The default value is \"off\"."
 msgstr ""
 
-#: gnu-nat.c:3438
+#: gnu-nat.c:3496
 msgid "Show whether the current thread is suspended while gdb has control."
 msgstr ""
 
-#: gnu-nat.c:3443
+#: gnu-nat.c:3501
 msgid "Set whether the current thread is allowed to run."
 msgstr ""
 
-#: gnu-nat.c:3446
+#: gnu-nat.c:3504
 msgid "Show whether the current thread is allowed to run."
 msgstr ""
 
-#: gnu-nat.c:3449
+#: gnu-nat.c:3507
 msgid ""
 "Set the suspend count will leave on the thread when detaching.\n"
 "Note that this is relative to suspend count when gdb noticed the thread;\n"
 "use the `thread takeover-suspend-count' to force it to an absolute value."
 msgstr ""
 
-#: gnu-nat.c:3454
+#: gnu-nat.c:3512
 msgid ""
 "Show the suspend count will leave on the thread when detaching.\n"
 "Note that this is relative to suspend count when gdb noticed the thread;\n"
 "use the `thread takeover-suspend-count' to force it to an absolute value."
 msgstr ""
 
-#: gnu-nat.c:3460
+#: gnu-nat.c:3518
 msgid ""
 "Set the thread exception port to which we forward exceptions.\n"
 "This overrides the task exception port.\n"
 "The argument should be the value of the send right in the task."
 msgstr ""
 
-#: gnu-nat.c:3469
+#: gnu-nat.c:3527
 msgid ""
 "Force the threads absolute suspend-count to be gdb's.\n"
 "Prior to giving this command, gdb's thread suspend-counts are relative\n"
 "to the thread's initial suspend-count when gdb notices the threads."
 msgstr ""
 
-#: gnu-nat.c:3485
+#: gnu-nat.c:3543
 msgid "Set debugging output for the gnu backend."
 msgstr ""
 
-#: gnu-nat.c:3486
+#: gnu-nat.c:3544
 msgid "Show debugging output for the gnu backend."
 msgstr ""
 
-#: gnu-nat.c:3513
+#: gnu-nat.c:3571
 #, possible-c-format
 msgid "Error flushing inferior's cache : %s"
 msgstr ""
@@ -17813,18 +17818,18 @@ msgstr ""
 msgid "Bad value for 'mt set per-command no'."
 msgstr ""
 
-#: maint.c:960
+#: maint.c:970
 msgid ""
 "Commands for use by GDB maintainers.\n"
 "Includes commands to dump specific internal GDB structures in\n"
 "a human readable form, to cause GDB to deliberately dump core, etc."
 msgstr ""
 
-#: maint.c:969
+#: maint.c:979
 msgid "Commands for showing internal info about the program being debugged."
 msgstr ""
 
-#: maint.c:975
+#: maint.c:985
 msgid ""
 "List the BFD sections of the exec and core files. \n"
 "Arguments may be any combination of:\n"
@@ -17837,97 +17842,97 @@ msgid ""
 "lists all sections from all object files, including shared libraries."
 msgstr ""
 
-#: maint.c:988
+#: maint.c:998
 msgid "Maintenance command for printing GDB internal state."
 msgstr ""
 
-#: maint.c:992
+#: maint.c:1002
 msgid ""
 "Set GDB internal variables used by the GDB maintainer.\n"
 "Configure variables internal to GDB that aid in GDB's maintenance"
 msgstr ""
 
-#: maint.c:999
+#: maint.c:1009
 msgid ""
 "Show GDB internal variables used by the GDB maintainer.\n"
 "Configure variables internal to GDB that aid in GDB's maintenance"
 msgstr ""
 
-#: maint.c:1007
+#: maint.c:1017
 msgid ""
 "Get fatal error; make debugger dump its core.\n"
 "GDB sets its handling of SIGQUIT back to SIG_DFL and then sends\n"
 "itself a SIGQUIT signal."
 msgstr ""
 
-#: maint.c:1015
+#: maint.c:1025
 msgid ""
 "Give GDB an internal error.\n"
 "Cause GDB to behave as if an internal error was detected."
 msgstr ""
 
-#: maint.c:1021
+#: maint.c:1031
 msgid ""
 "Give GDB an internal warning.\n"
 "Cause GDB to behave as if an internal warning was reported."
 msgstr ""
 
-#: maint.c:1027
+#: maint.c:1037
 msgid ""
 "Give GDB a demangler warning.\n"
 "Cause GDB to behave as if a demangler warning was reported."
 msgstr ""
 
-#: maint.c:1032
+#: maint.c:1042
 msgid "This command has been moved to \"demangle\"."
 msgstr ""
 
-#: maint.c:1037
+#: maint.c:1047
 msgid "Per-command statistics settings."
 msgstr ""
 
 #. allow-unknown
-#: maint.c:1042
+#: maint.c:1052
 msgid "Show per-command statistics settings."
 msgstr ""
 
-#: maint.c:1048
+#: maint.c:1058
 msgid "Set whether to display per-command execution time."
 msgstr ""
 
-#: maint.c:1049
+#: maint.c:1059
 msgid "Show whether to display per-command execution time."
 msgstr ""
 
-#: maint.c:1051
+#: maint.c:1061
 msgid ""
 "If enabled, the execution time for each command will be\n"
 "displayed following the command's output."
 msgstr ""
 
-#: maint.c:1058
+#: maint.c:1068
 msgid "Set whether to display per-command space usage."
 msgstr ""
 
-#: maint.c:1059
+#: maint.c:1069
 msgid "Show whether to display per-command space usage."
 msgstr ""
 
-#: maint.c:1061
+#: maint.c:1071
 msgid ""
 "If enabled, the space usage for each command will be\n"
 "displayed following the command's output."
 msgstr ""
 
-#: maint.c:1068
+#: maint.c:1078
 msgid "Set whether to display per-command symtab statistics."
 msgstr ""
 
-#: maint.c:1069
+#: maint.c:1079
 msgid "Show whether to display per-command symtab statistics."
 msgstr ""
 
-#: maint.c:1071
+#: maint.c:1081
 msgid ""
 "If enabled, the basic symtab statistics for each command will be\n"
 "displayed following the command's output."
@@ -17935,7 +17940,7 @@ msgstr ""
 
 #. This is equivalent to "mt set per-command time on".
 #. Kept because some people are used to typing "mt time 1".
-#: maint.c:1079
+#: maint.c:1089
 msgid ""
 "Set the display of time usage.\n"
 "If nonzero, will cause the execution time for each command to be\n"
@@ -17944,39 +17949,39 @@ msgstr ""
 
 #. This is equivalent to "mt set per-command space on".
 #. Kept because some people are used to typing "mt space 1".
-#: maint.c:1087
+#: maint.c:1097
 msgid ""
 "Set the display of space usage.\n"
 "If nonzero, will cause the execution space for each command to be\n"
 "displayed, following the command's output."
 msgstr ""
 
-#: maint.c:1093
+#: maint.c:1103
 msgid ""
 "Print a type chain for a given symbol.\n"
 "For each node in a type chain, print the raw data for each member of\n"
 "the type structure, and the interpretation of the data."
 msgstr ""
 
-#: maint.c:1100
+#: maint.c:1110
 msgid "Print statistics about internal gdb state."
 msgstr ""
 
-#: maint.c:1104
+#: maint.c:1114
 msgid ""
 "Print the internal architecture configuration.\n"
 "Takes an optional file parameter."
 msgstr ""
 
-#: maint.c:1109
+#: maint.c:1119
 msgid "Commands for checking internal gdb state."
 msgstr ""
 
-#: maint.c:1116
+#: maint.c:1126
 msgid "Translate a section name and address to a symbol."
 msgstr ""
 
-#: maint.c:1119
+#: maint.c:1129
 msgid ""
 "Deprecate a command.  Note that this is just in here so the \n"
 "testsuite can check the command deprecator. You probably shouldn't use "
@@ -17986,7 +17991,7 @@ msgid ""
 "replacement is optional."
 msgstr ""
 
-#: maint.c:1126
+#: maint.c:1136
 msgid ""
 "Undeprecate a command.  Note that this is just in here so the \n"
 "testsuite can check the command deprecator. You probably shouldn't use "
@@ -17994,7 +17999,7 @@ msgid ""
 "If you decide you want to use it: maintenance undeprecate 'commandname'"
 msgstr ""
 
-#: maint.c:1132
+#: maint.c:1142
 msgid ""
 "Run gdb's unit tests.\n"
 "Usage: maintenance selftest [filter]\n"
@@ -18002,34 +18007,34 @@ msgid ""
 "If a filter is given, only the tests with that value in their name will ran."
 msgstr ""
 
-#: maint.c:1140
+#: maint.c:1150
 msgid "List the registered selftests."
 msgstr ""
 
-#: maint.c:1142
+#: maint.c:1152
 msgid "Set watchdog timer."
 msgstr ""
 
-#: maint.c:1143
+#: maint.c:1153
 msgid "Show watchdog timer."
 msgstr ""
 
-#: maint.c:1144
+#: maint.c:1154
 msgid ""
 "When non-zero, this timeout is used instead of waiting forever for a target\n"
 "to finish a low-level step or continue operation.  If the specified amount\n"
 "of time passes without a response from the target, an error occurs."
 msgstr ""
 
-#: maint.c:1153
+#: maint.c:1163
 msgid "Set internal profiling."
 msgstr ""
 
-#: maint.c:1154
+#: maint.c:1164
 msgid "Show internal profiling."
 msgstr ""
 
-#: maint.c:1155
+#: maint.c:1165
 msgid "When enabled GDB is profiled."
 msgstr ""
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/testsuite/ChangeLog ./gdb/testsuite/ChangeLog
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/testsuite/ChangeLog	2018-01-08 02:03:33.000000000 +0000
+++ ./gdb/testsuite/ChangeLog	2018-01-09 02:04:57.000000000 +0000
@@ -1,3 +1,12 @@
+2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
+
+	* gdb.server/unittest.exp: Match the output in non-development
+	mode.
+
+2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
+
+	* gdb.gdb/unittest.exp: Match output in non-development mode.
+
 2018-01-05  Pedro Alves  <palves@redhat.com>
 
 	PR gdb/18653
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/testsuite/gdb.gdb/unittest.exp ./gdb/testsuite/gdb.gdb/unittest.exp
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/testsuite/gdb.gdb/unittest.exp	2018-01-08 02:03:33.000000000 +0000
+++ ./gdb/testsuite/gdb.gdb/unittest.exp	2018-01-09 02:04:57.000000000 +0000
@@ -16,7 +16,18 @@
 set do_xml_test [expr ![gdb_skip_xml_test]]
 
 gdb_start
-gdb_test "maintenance selftest" "Ran $decimal unit tests, 0 failed"
+
+set test "maintenance selftest"
+gdb_test_multiple $test $test {
+  -re "Ran ($decimal) unit tests, 0 failed\r\n$gdb_prompt $" {
+	set num_ran $expect_out(1,string)
+	gdb_assert "$num_ran > 0" $test
+  }
+
+  -re "Selftests are not available in a non-development build.\r\n$gdb_prompt $" {
+	unsupported $test
+  }
+}
 
 if { ![is_remote host] && $do_xml_test } {
     gdb_test "maintenance check xml-descriptions ${srcdir}/../features" \
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/testsuite/gdb.server/unittest.exp ./gdb/testsuite/gdb.server/unittest.exp
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/gdb/testsuite/gdb.server/unittest.exp	2018-01-08 02:03:33.000000000 +0000
+++ ./gdb/testsuite/gdb.server/unittest.exp	2018-01-09 02:04:57.000000000 +0000
@@ -30,12 +30,19 @@ set gdbserver_command "$gdbserver --self
 
 set server_spawn_id [remote_spawn target $gdbserver_command]
 
+set test "unit tests"
 gdb_expect {
     -i $server_spawn_id
-    -re "Ran $decimal unit tests, 0 failed" {
-	pass "unit tests"
+    -re "Ran ($decimal) unit tests, 0 failed" {
+	set num_ran $expect_out(1,string)
+	gdb_assert "$num_ran > 0" $test
     }
+
+    -re "Selftests are not available in a non-development build.\r\n$" {
+	unsupported $test
+    }
+
     default {
-	fail "unit tests"
+	fail $test
     }
 }
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/md5.sum ./md5.sum
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.90.20180108/md5.sum	2018-01-08 02:07:15.000000000 +0000
+++ ./md5.sum	2018-01-09 02:08:40.000000000 +0000
@@ -40,7 +40,7 @@ bb45f17458fbd361569bfb2067575c7f  bfd/cp
 f15e31835a8d7272e1acd59dc86ebc2a  bfd/wasm-module.c
 2f1d48da02b5ed6e94cb3beb7dae5d9c  bfd/elf64-mips.c
 32c1c2c183f56bd2b5af2fb9c3ca94af  bfd/cpu-m9s12x.c
-89604c2201f4e21eacfb40efa14d033d  bfd/version.h
+5e6180932c23d8b914a4116515644135  bfd/version.h
 25cd4c1378787d5bb9fa74b13a55098a  bfd/cpu-tilegx.c
 15946361c2ae68e8133d7e10485f7ed4  bfd/coff-mcore.c
 836b9de6d0ea1914f82c0ec0fa0341ef  bfd/cpu-avr.c
@@ -921,7 +921,7 @@ c8634871189f55647270ec7fa4186d33  gdb/aa
 dfaf3faacb3c08d5b9f075a8c3872332  gdb/tramp-frame.h
 833fae9ee313d70383e54396e0ac13fb  gdb/gdb-demangle.h
 72e714b5460e3305ab9ac696eb8bb9ba  gdb/ravenscar-thread.c
-5f70af1538d1db96b5c32e7451f48c11  gdb/Makefile.in
+33b6b2361bf751c1e4e3c0e2bc6feadc  gdb/Makefile.in
 b89adc8c08c6e65037e49d9f607af267  gdb/btrace.h
 efb1172636cf1622432d57f34a222dfd  gdb/x86-bsd-nat.c
 22eabee590bcd5b27bad582b23e713e6  gdb/windows-nat.h
@@ -1184,7 +1184,7 @@ c924da8407c465c0db47754b07e866a3  gdb/ui
 da8fe61630bfcd15538771e7933f12be  gdb/user-regs.h
 f98668e6b62ba2b17a25ebb7e9961fc1  gdb/PROBLEMS
 d8b839d3a6e3c69149bcd628b9fc0a69  gdb/config.in
-22ec8a54d5245bc5124977864dd373e6  gdb/configure.ac
+0c15f53a23d4b18de01ef27812eef6fa  gdb/configure.ac
 752cc726423f319218ee7048b5dc7d38  gdb/ChangeLog-2015
 061e4671402dd0e7ded6e2e32902110e  gdb/amd64-sol2-tdep.c
 e6089cd2ed43337dcebc9325ee0d1243  gdb/vax-tdep.c
@@ -1433,7 +1433,7 @@ a9eea99383f13fbda634d1314ad051b6  gdb/m6
 5943bffab8f0706a4faaa19fe025dad6  gdb/d-valprint.c
 c40c531777ecc845d14dd9b46caa5229  gdb/ada-lang.h
 c899e480dcc4e018e287016f172c29b2  gdb/mt-tdep.c
-9c3e5e3e08866acbc454c90784b57c31  gdb/gnu-nat.c
+13c0d20be7423c190151aa1a8560ad55  gdb/gnu-nat.c
 31c83b4bb1c5c9c771fe8e1ec3f1e9ba  gdb/msg.defs
 c5a6da46b3f28f588924bce923299b95  gdb/arm-linux-tdep.h
 f842cfc88a895b3df049a19bfc8514d5  gdb/bsd-uthread.c
@@ -2231,7 +2231,7 @@ c6b8258b531ddeb3300f82ad4355f0a9  gdb/te
 495b4f4525ca130cfdc251c488978b46  gdb/testsuite/gdb.server/wrapper.exp
 cfbadfda4c085ee6de76f93210fb2c5a  gdb/testsuite/gdb.server/reconnect-ctrl-c.exp
 d69aec5a0086e04ccdef3d35b06d1be6  gdb/testsuite/gdb.server/connect-without-multi-process.c
-f344e07b38fb93181de241fa58a57bf6  gdb/testsuite/gdb.server/unittest.exp
+34a4bf40d1af36d62bab8945353256db  gdb/testsuite/gdb.server/unittest.exp
 d69aec5a0086e04ccdef3d35b06d1be6  gdb/testsuite/gdb.server/connect-stopped-target.c
 9127093957682c4085b241d725cf4e15  gdb/testsuite/.gitignore
 ee6f62a428defd82cdcc4e68932ed7d9  gdb/testsuite/gdb.base/inferior-died.exp
@@ -4284,7 +4284,7 @@ d44d1fe2176806ee76348b558b3a67ab  gdb/te
 de055987af9fd672f5e6aa5280e504cf  gdb/testsuite/gdb.go/integers.exp
 68d17058fa82304a192749f0eadc138d  gdb/testsuite/gdb.go/strings.go
 81b7ed6cb92c627d245bd2efc4b953b9  gdb/testsuite/gdb.go/methods.go
-0e911240f7470b9b9dc6753d97c76f5e  gdb/testsuite/ChangeLog
+0cae60b28276edcd31da324b78d474fb  gdb/testsuite/ChangeLog
 b3f11b21e5921c419a43f93720dedf85  gdb/testsuite/gdb.asm/empty.inc
 14f9e33160bd01242a862c5c90513000  gdb/testsuite/gdb.asm/asm-source.exp
 f1621bbbb2acbec5adef86d7d9549975  gdb/testsuite/gdb.asm/bfin.inc
@@ -4984,7 +4984,7 @@ c27b9ae22c4023ba87881ffe9fc4a92b  gdb/te
 322c27bf93a47b578f4fd0d2bbf95082  gdb/testsuite/gdb.gdb/observer.exp
 5b4dd3cc78784f908c891c69eec5cfc3  gdb/testsuite/gdb.gdb/python-interrupts.exp
 8059c33797b348cbc3704e56a99a6e1d  gdb/testsuite/gdb.gdb/python-selftest.exp
-6e47373224716610c33fe80c8862bac5  gdb/testsuite/gdb.gdb/unittest.exp
+51d754d433a751313efc68200a779bfe  gdb/testsuite/gdb.gdb/unittest.exp
 d73a448e50a651ac6171a232b56ba1f1  gdb/testsuite/gdb.modula2/unbounded-array.exp
 2635b1ff15dfd3fa2dc596d43543ff8b  gdb/testsuite/gdb.modula2/unbounded1.c
 189e5da6330dc3a2d44a3205b91ee726  gdb/tilegx-tdep.h
@@ -4992,43 +4992,43 @@ d7262919da054ada26ef7e5359fafc84  gdb/sy
 29209f0a84f981d84f100e8fc4c3a84b  gdb/f-valprint.c
 b6bbbfc248f90052ce30fda420c5916f  gdb/gdb_curses.h
 8108dd8f906f2654fecc74958cf383db  gdb/doc/psrc.sed
-3bb77be71f2b23aa7ccef0401a98e209  gdb/doc/gdb.info-3
-65990cb532aa945c7b6a4202772dda60  gdb/doc/gdb.info-4
+46de49eeefc6325ca1866e685b29da22  gdb/doc/gdb.info-3
+444368037c6d1924dd4f277a54734a00  gdb/doc/gdb.info-4
 ab0fe311032294b952da80585b8b90e7  gdb/doc/fdl.texi
 667bef4de7567c069421a0aa4b2b42ce  gdb/doc/Makefile.in
-a25c28bf53e2e5a2e61449c3a459119d  gdb/doc/gdb.info-7
+c4da41403115d236f279d75054bdbd67  gdb/doc/gdb.info-7
 ce238ebd8ad1da77806acf2ccd2a592e  gdb/doc/observer.texi
-c402274149c60190d8c887fef5ea5531  gdb/doc/gdbserver.1
+0013682fd7a0a9cbcbecbe31a2367d31  gdb/doc/gdbserver.1
 8a3211e1c1b6c1a9ae823c3c469675e8  gdb/doc/guile.texi
 f81a0e00e0cb9e41b078069fb9bedb07  gdb/doc/stack_frame.txt
 319d74c658533df2b0bedcca97af4d94  gdb/doc/stabs.info
-dc567fd010647cadd2e6d24d4f924f74  gdb/doc/gdb.info-5
+9f27a55291d7909cd903741a0bf329fa  gdb/doc/gdb.info-5
 19abe6cc6d5cc545f19b7c7703223589  gdb/doc/agentexpr.texi
 66674dc351ba95941f422dc18cae24bb  gdb/doc/.gitignore
-e511a571996cee6151eb68f15ac4133c  gdb/doc/gdb.info-1
+d719de1fda9ace9707037e45af9b79a6  gdb/doc/gdb.info-1
 d5d06eaf9b4d44aa442a4a281aa9aea4  gdb/doc/a4rc.sed
-25a3b485a3de016ca013bbda9b7e7a29  gdb/doc/gdb.info-6
+21b95eab9934d431215d111f2a3f0932  gdb/doc/gdb.info-6
 31cbdd8332ee2f91513670303f5c73d0  gdb/doc/gdb.texinfo
 553b7fe1bf4b5d8b96fdb8cd83503de1  gdb/doc/stack_frame.svg
 04c82b1da7e894a6555868e4f86225af  gdb/doc/filter-for-doxygen
 6eef6173ced7b929f5142c1577f2189a  gdb/doc/Doxyfile-gdb-api.in
 26a572acbe3a2b351c0d3c0a2790b07d  gdb/doc/annotate.info
-30edb3dcf4159ed92d94cc07957611b5  gdb/doc/gdb.info-2
+21a3c297d9b58fe127f9663a2c4611df  gdb/doc/gdb.info-2
 0e44f6ffe6996c2827630e31909c3e1e  gdb/doc/refcard.tex
 6076d300a46651562d4ecd0604442414  gdb/doc/stack_frame.png
-554487b2d0cfc82ec1b2235cda57bb71  gdb/doc/gdb.info
+20c024d76085f5d5bbe53fe530748a03  gdb/doc/gdb.info
 792ace4c71224d2dab899da2b265c147  gdb/doc/python.texi
 c3feb7ddebdf77fd82e65fc406bc2f23  gdb/doc/stabs.texinfo
 59b9502ecb343b50bcf56cbe20865eb6  gdb/doc/ChangeLog
-1f8077abe95589cf0ad5dfd5e0f59038  gdb/doc/gdb.1
-30aa8a9bb6958047d870eb9efb7a7533  gdb/doc/gcore.1
+f0141058bc596d9ba22ecd8c79badde0  gdb/doc/gdb.1
+6ee7263b6a47e4fb5c078e29e18b1cd1  gdb/doc/gcore.1
 d39233c86ed6a6dc9e853ae6a11fe03e  gdb/doc/stack_frame.pdf
 2ad37190a4e38a8186d90bc76fc4e551  gdb/doc/Doxyfile-base.in
 3e12b16a85438bdf1fd7355cd397282a  gdb/doc/all-cfg.texi
 bf96494e6e4d346175babd5ef9781882  gdb/doc/gpl.texi
 cd5e3faa9bd1b684a73c7d527cdb4988  gdb/doc/filter-params.pl
 7bfdb0765c5d050d204fbb30aeeba0d8  gdb/doc/stack_frame.eps
-5d861051f5e0f35b84ddb37df0442e4e  gdb/doc/gdbinit.5
+f06d18c499c5f1d8edb9b08ecc91a9e4  gdb/doc/gdbinit.5
 78d7bd07699d6e1b53e552cc3a1c16ef  gdb/doc/Doxyfile-gdb-xref.in
 d398b8cec3d96f0f3267dac6b8fe64bb  gdb/doc/annotate.texinfo
 5863a78c1571978dc97dccb25e481134  gdb/doc/doxy-index.in
@@ -5446,7 +5446,7 @@ d6366b62963b8bc762f02959f4bbafde  gdb/ax
 142653f491ffb49b8e8a205903fc3a11  gdb/selftest-arch.h
 2f3a431ad6de3bffcc67339cc73603c2  gdb/prologue-value.h
 36855099488fa285fa16e3908304f11a  gdb/auto-load.h
-d42a6f8a18b2c2761fe34bc51f890074  gdb/maint.c
+623678e84535132ed4b93d6142a93f49  gdb/maint.c
 2318d021a7a20073dfc3fc0697f52788  gdb/x86-bsd-nat.h
 a45c4d6ff275c639333aafd4d207ba9a  gdb/moxie-tdep.c
 8b6dc3777d51561e85834c1ea83cb1cf  gdb/gdbtypes.c
@@ -5505,7 +5505,7 @@ edc4a27f2b925daefc04ecb2f8067e66  gdb/m3
 bd2190ae1f21bb6c32bc6c15e75647e8  gdb/frame-unwind.c
 1a4cf2a482540ae09973aab3c000b178  gdb/acinclude.m4
 ab116d0d4c883f3863e1cd60796d6926  gdb/arm-tdep.h
-4306be79c40decb9a67925f2aefcd329  gdb/configure
+d8f2be092c58c1c4005b7848427bffe7  gdb/configure
 1b5e1b259305f46dfc332fdcc9d4972f  gdb/main.h
 e25d68df4dd055f4bd6b3b3e0068453c  gdb/alpha-tdep.c
 4aa8e4e40d1e2b12ddf1a2d2b172d84a  gdb/xml-tdesc.h
@@ -5522,7 +5522,7 @@ a9395d09415322faea2304f9a1d7d9e2  gdb/co
 c8ad35fbed9ae9f7955517bb9dfddaf3  gdb/std-regs.c
 94939358229d338905f052768534159b  gdb/go-lang.h
 08acbfe7a6b5373b372b4cbe252da59c  gdb/i386-windows-nat.c
-0109bc37c33f0b4a1940204a03f2c49e  gdb/po/gdb.pot
+cb002f98d006ee6594e822957678b8be  gdb/po/gdb.pot
 1851bff0653201a488dcae18dde7efad  gdb/po/gdbtext
 e8b91e30ff3b4173fc9a5cfa9eda097f  gdb/break-catch-syscall.c
 c0a3dac2b3e6bf95d9b658ce36ee03b2  gdb/ada-lang.c
@@ -5552,7 +5552,7 @@ ff1c4ed48c7d2f16438d9d0db42e2b6d  gdb/ar
 6caec3f4ac5f65674e15355a60e14ecb  gdb/i386-fbsd-nat.c
 d5dd5836266ef25fc2ac5e704c1c0a09  gdb/mipsread.c
 1b4194bf7b4056dfa96ced19566459ad  gdb/amd64-darwin-tdep.c
-6ed6e95c7a1ec8c0c353ad37d9fa89d9  gdb/ChangeLog
+93e73ca16678f3e894955499115558e1  gdb/ChangeLog
 59570a0bc164919d36efd6a8d2ef0c89  gdb/go-typeprint.c
 fcd744f8bf7027eeddb24ddf43e290d1  gdb/score-tdep.c
 486e78403fa95b4893d415ec7e70766f  gdb/m88k-bsd-nat.c
@@ -5782,7 +5782,7 @@ a28e2c081269fbf8d740c4be28e6f91f  gdb/gd
 bbb81af88626fe0414a6826fd172f0e5  gdb/gdbserver/inferiors.h
 30b63fe788b3fa9582ba39bc94e8a371  gdb/gdbserver/win32-arm-low.c
 369c14baa6ea408223aa30ee45c15cc1  gdb/gdbserver/linux-bfin-low.c
-67178ac84713246ec038e87ee6d33b11  gdb/gdbserver/Makefile.in
+d9072cbcc6b1b1af3e9405592408a721  gdb/gdbserver/Makefile.in
 57ae21aa7a8f5e943ac0984e6219bf38  gdb/gdbserver/x86-low.h
 007add9d622dced8430375e326790dfe  gdb/gdbserver/linux-ppc-tdesc.h
 c989e28f14e68f6bd1ba0a838f36ee80  gdb/gdbserver/hostio-errno.c
@@ -5808,7 +5808,7 @@ ef1f780ebf5dc9aa3fa7325de54787e9  gdb/gd
 051386225be0bafdbbd83eae5da06132  gdb/gdbserver/lynx-low.h
 69133f2f32d99706fa48de77f6145fa9  gdb/gdbserver/tdesc.c
 b5060875a98573926155a1b87f27e06c  gdb/gdbserver/config.in
-f9d2e689c157d471c758215698a1b862  gdb/gdbserver/configure.ac
+57c7b6dd83efc508de9b53d5f298825b  gdb/gdbserver/configure.ac
 791b58ddf159b59c7d9375e2c2f00a07  gdb/gdbserver/README
 e592ff47af6146259906f9893dcdb8ac  gdb/gdbserver/mem-break.c
 2049cb73a60db99ff0517d0d5fc03e76  gdb/gdbserver/linux-mips-low.c
@@ -5839,7 +5839,7 @@ ff437432f571bf3b76e4ffd04459e4e6  gdb/gd
 2bebdd4f6d94de41afadf327b5a76250  gdb/gdbserver/hostio.h
 047f626a5cb76fac8a059967b0306cd0  gdb/gdbserver/notif.h
 a3e4e8d8ffa38b8db00d37e7bf7926a4  gdb/gdbserver/linux-x86-low.c
-9ce56ddbddaef4c6f417cb88cc8e0946  gdb/gdbserver/server.c
+3b7b2517dca2eef7447db7f743fe2058  gdb/gdbserver/server.c
 d736bb10cb3ddcf52a1644e81620f2cb  gdb/gdbserver/dll.c
 af7835dd683710f8c69e2a8fbfb6eae4  gdb/gdbserver/debug.h
 5465c284467164ac77866d04f40831a4  gdb/gdbserver/nto-low.c
@@ -5847,14 +5847,14 @@ af7835dd683710f8c69e2a8fbfb6eae4  gdb/gd
 b2a7840301f9a756598d35c02fea9c43  gdb/gdbserver/gdbreplay.c
 109d814fe3676a43a3e6203808262540  gdb/gdbserver/regcache.h
 9c1cff98ebfeb6dad31afb0416dae57e  gdb/gdbserver/acinclude.m4
-eaf6123bb651ef2e6fb82e4a185fcb76  gdb/gdbserver/configure
+75740150398ac7e0410a4ff3569fb7b6  gdb/gdbserver/configure
 c3667fdc9cd67df9fe41bd1bd00eb03c  gdb/gdbserver/notif.c
 1bdd837caf5c60cda25f2dd03145b2c7  gdb/gdbserver/linux-cris-low.c
 7f017910fc10864faa3886a248c0de44  gdb/gdbserver/aclocal.m4
 963b0f62970b9f043f3695f8b572d300  gdb/gdbserver/thread-db.c
 390acc164d76b40e8c627385e289b84b  gdb/gdbserver/linux-s390-ipa.c
 bfa9ceb983ffaf55b4025c073a0e8bbb  gdb/gdbserver/linux-tile-low.c
-5a7a624d0cb8e608c4221486c3c560c6  gdb/gdbserver/ChangeLog
+1e038e184a62718f3e1bf6b8dfeb5b29  gdb/gdbserver/ChangeLog
 617f7b084f0303a4edd1e990fdfc6f7e  gdb/gdbserver/linux-ppc-low.c
 28c9e80ca53f330cbf01e7bf0d505664  gdb/gdbserver/linux-low.c
 2ce8d0b523754928d0d12157dc96db5d  gdb/gdbserver/proc-service.list
