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.91.20180116/bfd/version.h ./bfd/version.h
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/bfd/version.h	2018-01-16 02:06:01.000000000 +0000
+++ ./bfd/version.h	2018-01-23 02:04:56.000000000 +0000
@@ -16,7 +16,7 @@
 
    In releases, the date is not included in either version strings or
    sonames.  */
-#define BFD_VERSION_DATE 20180116
+#define BFD_VERSION_DATE 20180123
 #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.91.20180116/djunpack.bat ./djunpack.bat
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/djunpack.bat	2018-01-16 02:10:04.000000000 +0000
+++ ./djunpack.bat	2018-01-23 02:09:04.000000000 +0000
@@ -17,8 +17,8 @@ Rem
 Rem The following 2 lines need to be changed with each new GDB release, to
 Rem be identical to the name of the top-level directory where the GDB
 Rem distribution unpacks itself.
-set GDBVER=$package-8.0.91.20180116
-if "%GDBVER%"=="$package-8.0.91.20180116" GoTo EnvOk
+set GDBVER=$package-8.0.91.20180123
+if "%GDBVER%"=="$package-8.0.91.20180123" 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.91.20180116/gdb/aarch64-linux-tdep.c ./gdb/aarch64-linux-tdep.c
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/gdb/aarch64-linux-tdep.c	2018-01-16 02:06:02.000000000 +0000
+++ ./gdb/aarch64-linux-tdep.c	2018-01-23 02:04:57.000000000 +0000
@@ -1001,6 +1001,15 @@ aarch64_linux_syscall_record (struct reg
   return 0;
 }
 
+/* Implement the "gcc_target_options" gdbarch method.  */
+
+static char *
+aarch64_linux_gcc_target_options (struct gdbarch *gdbarch)
+{
+  /* GCC doesn't know "-m64".  */
+  return NULL;
+}
+
 static void
 aarch64_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
 {
@@ -1225,6 +1234,8 @@ aarch64_linux_init_abi (struct gdbarch_i
   set_gdbarch_displaced_step_location (gdbarch, linux_displaced_step_location);
   set_gdbarch_displaced_step_hw_singlestep (gdbarch,
 					    aarch64_displaced_step_hw_singlestep);
+
+  set_gdbarch_gcc_target_options (gdbarch, aarch64_linux_gcc_target_options);
 }
 
 void
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.91.20180116/gdb/ChangeLog ./gdb/ChangeLog
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/gdb/ChangeLog	2018-01-16 02:06:02.000000000 +0000
+++ ./gdb/ChangeLog	2018-01-23 02:04:57.000000000 +0000
@@ -1,3 +1,32 @@
+2018-01-22  Maciej W. Rozycki  <macro@mips.com>
+
+	* MAINTAINERS: Update my company e-mail address.
+
+2018-01-22  Pedro Alves  <palves@redhat.com>
+	    Sergio Durigan Junior  <sergiodj@redhat.com>
+
+	* typeprint.c (whatis_exp): Initialize "val" in the "whatis type"
+	case.
+
+2018-01-17  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+	* compile/compile.c (compile_to_object): Convert "triplet_rx"
+	to "std::string".
+
+2018-01-17  Eldar Abusalimov  <eldar.abusalimov@jetbrains.com>
+
+	PR gdb/21559
+	* configure.ac: Include <sys/types.h> prior to <sys/user.h> when
+	checking for fs_base/gs_base fields in struct user_regs_struct.
+	* configure: Regenerate.
+
+2018-01-17  Yao Qi  <yao.qi@linaro.org>
+
+	* aarch64-linux-tdep.c (aarch64_linux_gcc_target_options): New
+	function.
+	(aarch64_linux_init_abi): Install it to gdbarch hook
+	gcc_target_options.
+
 2018-01-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
 
 	* infrun.c (keep_going_pass_signal): Clear step-over info 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.91.20180116/gdb/compile/compile.c ./gdb/compile/compile.c
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/gdb/compile/compile.c	2018-01-16 02:06:03.000000000 +0000
+++ ./gdb/compile/compile.c	2018-01-23 02:04:57.000000000 +0000
@@ -463,7 +463,7 @@ compile_to_object (struct command_line *
   char **argv;
   int ok;
   struct gdbarch *gdbarch = get_current_arch ();
-  char *triplet_rx;
+  std::string triplet_rx;
   char *error_message;
 
   if (!target_has_execution)
@@ -531,11 +531,11 @@ compile_to_object (struct command_line *
       const char *arch_rx = gdbarch_gnu_triplet_regexp (gdbarch);
 
       /* Allow triplets with or without vendor set.  */
-      triplet_rx = concat (arch_rx, "(-[^-]*)?-", os_rx, (char *) NULL);
-      make_cleanup (xfree, triplet_rx);
+      triplet_rx = std::string (arch_rx) + "(-[^-]*)?-" + os_rx;
 
       if (compiler->fe->ops->version >= GCC_FE_VERSION_1)
-	compiler->fe->ops->set_triplet_regexp (compiler->fe, triplet_rx);
+	compiler->fe->ops->set_triplet_regexp (compiler->fe,
+					       triplet_rx.c_str ());
     }
 
   /* Set compiler command-line arguments.  */
@@ -545,7 +545,8 @@ compile_to_object (struct command_line *
   if (compiler->fe->ops->version >= GCC_FE_VERSION_1)
     error_message = compiler->fe->ops->set_arguments (compiler->fe, argc, argv);
   else
-    error_message = compiler->fe->ops->set_arguments_v0 (compiler->fe, triplet_rx,
+    error_message = compiler->fe->ops->set_arguments_v0 (compiler->fe,
+							 triplet_rx.c_str (),
 							 argc, argv);
   if (error_message != NULL)
     {
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.91.20180116/gdb/configure ./gdb/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/gdb/configure	2018-01-16 02:06:03.000000000 +0000
+++ ./gdb/configure	2018-01-23 02:04:57.000000000 +0000
@@ -14072,7 +14072,8 @@ fi
 # See if <sys/user.h> supports the %fs_base and %gs_bas amd64 segment registers.
 # Older amd64 Linux's don't have the fs_base and gs_base members of
 # `struct user_regs_struct'.
-ac_fn_c_check_member "$LINENO" "struct user_regs_struct" "fs_base" "ac_cv_member_struct_user_regs_struct_fs_base" "#include <sys/user.h>
+ac_fn_c_check_member "$LINENO" "struct user_regs_struct" "fs_base" "ac_cv_member_struct_user_regs_struct_fs_base" "#include <sys/types.h>
+#include <sys/user.h>
 "
 if test "x$ac_cv_member_struct_user_regs_struct_fs_base" = x""yes; then :
 
@@ -14082,7 +14083,8 @@ _ACEOF
 
 
 fi
-ac_fn_c_check_member "$LINENO" "struct user_regs_struct" "gs_base" "ac_cv_member_struct_user_regs_struct_gs_base" "#include <sys/user.h>
+ac_fn_c_check_member "$LINENO" "struct user_regs_struct" "gs_base" "ac_cv_member_struct_user_regs_struct_gs_base" "#include <sys/types.h>
+#include <sys/user.h>
 "
 if test "x$ac_cv_member_struct_user_regs_struct_gs_base" = x""yes; then :
 
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.91.20180116/gdb/configure.ac ./gdb/configure.ac
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/gdb/configure.ac	2018-01-16 02:06:03.000000000 +0000
+++ ./gdb/configure.ac	2018-01-23 02:04:57.000000000 +0000
@@ -1459,7 +1459,8 @@ AC_CHECK_MEMBERS([struct reg.r_fs, struc
 # Older amd64 Linux's don't have the fs_base and gs_base members of
 # `struct user_regs_struct'.
 AC_CHECK_MEMBERS([struct user_regs_struct.fs_base, struct user_regs_struct.gs_base],
-		 [], [], [#include <sys/user.h>])
+     [], [], [#include <sys/types.h>
+#include <sys/user.h>])
 
 # See if <sys/ptrace.h> provides the PTRACE_GETREGS request.
 AC_MSG_CHECKING(for PTRACE_GETREGS)
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.91.20180116/gdb/doc/gcore.1 ./gdb/doc/gcore.1
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/gdb/doc/gcore.1	2018-01-16 02:09:58.000000000 +0000
+++ ./gdb/doc/gcore.1	2018-01-23 02:08:59.000000000 +0000
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "GCORE 1"
-.TH GCORE 1 "2018-01-16" "gdb-8.0.91.20180116-git" "GNU Development Tools"
+.TH GCORE 1 "2018-01-23" "gdb-8.0.91.20180123-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.91.20180116/gdb/doc/gdb.1 ./gdb/doc/gdb.1
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/gdb/doc/gdb.1	2018-01-16 02:09:57.000000000 +0000
+++ ./gdb/doc/gdb.1	2018-01-23 02:08:58.000000000 +0000
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "GDB 1"
-.TH GDB 1 "2018-01-16" "gdb-8.0.91.20180116-git" "GNU Development Tools"
+.TH GDB 1 "2018-01-23" "gdb-8.0.91.20180123-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.91.20180116/gdb/doc/gdb.info ./gdb/doc/gdb.info
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/gdb/doc/gdb.info	2018-01-16 02:09:55.000000000 +0000
+++ ./gdb/doc/gdb.info	2018-01-23 02:08:55.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.91.20180116-git.
+Source-Level Debugger' for GDB (GDB) Version 8.0.91.20180123-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.91.20180116/gdb/doc/gdb.info-1 ./gdb/doc/gdb.info-1
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/gdb/doc/gdb.info-1	2018-01-16 02:09:42.000000000 +0000
+++ ./gdb/doc/gdb.info-1	2018-01-23 02:08:43.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.91.20180116-git.
+Source-Level Debugger' for GDB (GDB) Version 8.0.91.20180123-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.91.20180116-git.
+   This is the Tenth Edition, for GDB (GDB) Version 8.0.91.20180123-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.91.20180116-git, Copyright 1999 Free Software Foundation, Inc...
+     GDB 8.0.91.20180123-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.91.20180116/gdb/doc/gdb.info-2 ./gdb/doc/gdb.info-2
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/gdb/doc/gdb.info-2	2018-01-16 02:09:43.000000000 +0000
+++ ./gdb/doc/gdb.info-2	2018-01-23 02:08:44.000000000 +0000
@@ -21,7 +21,7 @@ END-INFO-DIR-ENTRY
    This file documents the GNU debugger GDB.
 
    This is the Tenth Edition, of 'Debugging with GDB: the GNU
-Source-Level Debugger' for GDB (GDB) Version 8.0.91.20180116-git.
+Source-Level Debugger' for GDB (GDB) Version 8.0.91.20180123-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.91.20180116/gdb/doc/gdb.info-3 ./gdb/doc/gdb.info-3
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/gdb/doc/gdb.info-3	2018-01-16 02:09:45.000000000 +0000
+++ ./gdb/doc/gdb.info-3	2018-01-23 02:08:47.000000000 +0000
@@ -21,7 +21,7 @@ END-INFO-DIR-ENTRY
    This file documents the GNU debugger GDB.
 
    This is the Tenth Edition, of 'Debugging with GDB: the GNU
-Source-Level Debugger' for GDB (GDB) Version 8.0.91.20180116-git.
+Source-Level Debugger' for GDB (GDB) Version 8.0.91.20180123-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.91.20180116/gdb/doc/gdb.info-4 ./gdb/doc/gdb.info-4
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/gdb/doc/gdb.info-4	2018-01-16 02:09:48.000000000 +0000
+++ ./gdb/doc/gdb.info-4	2018-01-23 02:08:49.000000000 +0000
@@ -21,7 +21,7 @@ END-INFO-DIR-ENTRY
    This file documents the GNU debugger GDB.
 
    This is the Tenth Edition, of 'Debugging with GDB: the GNU
-Source-Level Debugger' for GDB (GDB) Version 8.0.91.20180116-git.
+Source-Level Debugger' for GDB (GDB) Version 8.0.91.20180123-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.91.20180116/gdb/doc/gdb.info-5 ./gdb/doc/gdb.info-5
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/gdb/doc/gdb.info-5	2018-01-16 02:09:50.000000000 +0000
+++ ./gdb/doc/gdb.info-5	2018-01-23 02:08:51.000000000 +0000
@@ -21,7 +21,7 @@ END-INFO-DIR-ENTRY
    This file documents the GNU debugger GDB.
 
    This is the Tenth Edition, of 'Debugging with GDB: the GNU
-Source-Level Debugger' for GDB (GDB) Version 8.0.91.20180116-git.
+Source-Level Debugger' for GDB (GDB) Version 8.0.91.20180123-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.91.20180116/gdb/doc/gdb.info-6 ./gdb/doc/gdb.info-6
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/gdb/doc/gdb.info-6	2018-01-16 02:09:53.000000000 +0000
+++ ./gdb/doc/gdb.info-6	2018-01-23 02:08:53.000000000 +0000
@@ -21,7 +21,7 @@ END-INFO-DIR-ENTRY
    This file documents the GNU debugger GDB.
 
    This is the Tenth Edition, of 'Debugging with GDB: the GNU
-Source-Level Debugger' for GDB (GDB) Version 8.0.91.20180116-git.
+Source-Level Debugger' for GDB (GDB) Version 8.0.91.20180123-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.91.20180116-git/gdb/gdb.info', and it refers to subordinate
+'gdb-8.0.91.20180123-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.91.20180116-git', in the case of version
-8.0.91.20180116-git), you can make the Info file by typing:
+directory ('gdb-8.0.91.20180123-git', in the case of version
+8.0.91.20180123-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.91.20180116-git/gdb')
+main source directory (for example, to 'gdb-8.0.91.20180123-git/gdb')
 and type:
 
      make gdb.dvi
@@ -1545,8 +1545,8 @@ and type:
 
    ---------- Footnotes ----------
 
-   (1) In 'gdb-8.0.91.20180116-git/gdb/refcard.ps' of the version
-8.0.91.20180116-git release.
+   (1) In 'gdb-8.0.91.20180123-git/gdb/refcard.ps' of the version
+8.0.91.20180123-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.91.20180116-git distribution is in
-the 'gdb-8.0.91.20180116-git' directory.  That directory contains:
+   For example, the GDB version 8.0.91.20180123-git distribution is in
+the 'gdb-8.0.91.20180123-git' directory.  That directory contains:
 
-'gdb-8.0.91.20180116-git/configure (and supporting files)'
+'gdb-8.0.91.20180123-git/configure (and supporting files)'
      script for configuring GDB and all its supporting libraries
 
-'gdb-8.0.91.20180116-git/gdb'
+'gdb-8.0.91.20180123-git/gdb'
      the source specific to GDB itself
 
-'gdb-8.0.91.20180116-git/bfd'
+'gdb-8.0.91.20180123-git/bfd'
      source for the Binary File Descriptor library
 
-'gdb-8.0.91.20180116-git/include'
+'gdb-8.0.91.20180123-git/include'
      GNU include files
 
-'gdb-8.0.91.20180116-git/libiberty'
+'gdb-8.0.91.20180123-git/libiberty'
      source for the '-liberty' free software library
 
-'gdb-8.0.91.20180116-git/opcodes'
+'gdb-8.0.91.20180123-git/opcodes'
      source for the library of opcode tables and disassemblers
 
-'gdb-8.0.91.20180116-git/readline'
+'gdb-8.0.91.20180123-git/readline'
      source for the GNU command-line interface
 
-'gdb-8.0.91.20180116-git/glob'
+'gdb-8.0.91.20180123-git/glob'
      source for the GNU filename pattern-matching subroutine
 
-'gdb-8.0.91.20180116-git/mmalloc'
+'gdb-8.0.91.20180123-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.91.20180116-git' directory.
+the 'gdb-8.0.91.20180123-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.91.20180116-git
+     cd gdb-8.0.91.20180123-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.91.20180116-git' source directory for version
-8.0.91.20180116-git, 'configure' creates configuration files for every
+'gdb-8.0.91.20180123-git' source directory for version
+8.0.91.20180123-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.91.20180116-git, you can build GDB in a
+   For example, with version 8.0.91.20180123-git, you can build GDB in a
 separate directory for a Sun 4 like this:
 
-     cd gdb-8.0.91.20180116-git
+     cd gdb-8.0.91.20180123-git
      mkdir ../gdb-sun4
      cd ../gdb-sun4
-     ../gdb-8.0.91.20180116-git/configure sun4
+     ../gdb-8.0.91.20180123-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.91.20180116-git/gdb/configure', you are configuring only one
+'../gdb-8.0.91.20180123-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.91.20180116-git' (or in a separate configured directory
-configured with '--srcdir=DIRNAME/gdb-8.0.91.20180116-git'), you will
+'gdb-8.0.91.20180123-git' (or in a separate configured directory
+configured with '--srcdir=DIRNAME/gdb-8.0.91.20180123-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.91.20180116-git', for version 8.0.91.20180116-git).
+('gdb-8.0.91.20180123-git', for version 8.0.91.20180123-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.91.20180116/gdb/doc/gdb.info-7 ./gdb/doc/gdb.info-7
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/gdb/doc/gdb.info-7	2018-01-16 02:09:54.000000000 +0000
+++ ./gdb/doc/gdb.info-7	2018-01-23 02:08:55.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.91.20180116-git.
+Source-Level Debugger' for GDB (GDB) Version 8.0.91.20180123-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.91.20180116/gdb/doc/gdbinit.5 ./gdb/doc/gdbinit.5
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/gdb/doc/gdbinit.5	2018-01-16 02:09:58.000000000 +0000
+++ ./gdb/doc/gdbinit.5	2018-01-23 02:08:59.000000000 +0000
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "GDBINIT 5"
-.TH GDBINIT 5 "2018-01-16" "gdb-8.0.91.20180116-git" "GNU Development Tools"
+.TH GDBINIT 5 "2018-01-23" "gdb-8.0.91.20180123-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.91.20180116/gdb/doc/gdbserver.1 ./gdb/doc/gdbserver.1
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/gdb/doc/gdbserver.1	2018-01-16 02:09:58.000000000 +0000
+++ ./gdb/doc/gdbserver.1	2018-01-23 02:08:58.000000000 +0000
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "GDBSERVER 1"
-.TH GDBSERVER 1 "2018-01-16" "gdb-8.0.91.20180116-git" "GNU Development Tools"
+.TH GDBSERVER 1 "2018-01-23" "gdb-8.0.91.20180123-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.91.20180116/gdb/gdbserver/ChangeLog ./gdb/gdbserver/ChangeLog
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/gdb/gdbserver/ChangeLog	2018-01-16 02:06:03.000000000 +0000
+++ ./gdb/gdbserver/ChangeLog	2018-01-23 02:04:57.000000000 +0000
@@ -1,3 +1,10 @@
+2018-01-17  Eldar Abusalimov  <eldar.abusalimov@jetbrains.com>
+
+	PR gdb/21559
+	* configure.ac: Include <sys/types.h> prior to <sys/user.h> when
+	checking for fs_base/gs_base fields in struct user_regs_struct.
+	* configure: Regenerate.
+
 2018-01-08  Yao Qi  <yao.qi@linaro.org>
 	    Simon Marchi  <simon.marchi@ericsson.com>
 
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.91.20180116/gdb/gdbserver/configure ./gdb/gdbserver/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/gdb/gdbserver/configure	2018-01-16 02:06:03.000000000 +0000
+++ ./gdb/gdbserver/configure	2018-01-23 02:04:57.000000000 +0000
@@ -7525,7 +7525,8 @@ fi
 # See if <sys/user.h> supports the %fs_base and %gs_bas amd64 segment registers.
 # Older amd64 Linux's don't have the fs_base and gs_base members of
 # `struct user_regs_struct'.
-ac_fn_c_check_member "$LINENO" "struct user_regs_struct" "fs_base" "ac_cv_member_struct_user_regs_struct_fs_base" "#include <sys/user.h>
+ac_fn_c_check_member "$LINENO" "struct user_regs_struct" "fs_base" "ac_cv_member_struct_user_regs_struct_fs_base" "#include <sys/types.h>
+#include <sys/user.h>
 "
 if test "x$ac_cv_member_struct_user_regs_struct_fs_base" = x""yes; then :
 
@@ -7535,7 +7536,8 @@ _ACEOF
 
 
 fi
-ac_fn_c_check_member "$LINENO" "struct user_regs_struct" "gs_base" "ac_cv_member_struct_user_regs_struct_gs_base" "#include <sys/user.h>
+ac_fn_c_check_member "$LINENO" "struct user_regs_struct" "gs_base" "ac_cv_member_struct_user_regs_struct_gs_base" "#include <sys/types.h>
+#include <sys/user.h>
 "
 if test "x$ac_cv_member_struct_user_regs_struct_gs_base" = x""yes; then :
 
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.91.20180116/gdb/gdbserver/configure.ac ./gdb/gdbserver/configure.ac
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/gdb/gdbserver/configure.ac	2018-01-16 02:06:03.000000000 +0000
+++ ./gdb/gdbserver/configure.ac	2018-01-23 02:04:57.000000000 +0000
@@ -185,7 +185,8 @@ AC_CHECK_MEMBERS([struct stat.st_blocks,
 # Older amd64 Linux's don't have the fs_base and gs_base members of
 # `struct user_regs_struct'.
 AC_CHECK_MEMBERS([struct user_regs_struct.fs_base, struct user_regs_struct.gs_base],
-		 [], [], [#include <sys/user.h>])
+     [], [], [#include <sys/types.h>
+#include <sys/user.h>])
 
 
 AC_CHECK_TYPES(socklen_t, [], [],
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.91.20180116/gdb/MAINTAINERS ./gdb/MAINTAINERS
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/gdb/MAINTAINERS	2018-01-16 02:06:02.000000000 +0000
+++ ./gdb/MAINTAINERS	2018-01-23 02:04:57.000000000 +0000
@@ -273,7 +273,7 @@ the native maintainer when resolving ABI
 			Michael Eager		eager@eagercon.com
 
 	mips		--target=mips-elf ,-Werror
-			Maciej W. Rozycki	macro@imgtec.com
+			Maciej W. Rozycki	macro@mips.com
 
 	mn10300		--target=mn10300-elf broken
 			(sim/ dies with make -j)
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.91.20180116/gdb/po/gdb.pot ./gdb/po/gdb.pot
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/gdb/po/gdb.pot	2018-01-16 02:09:31.000000000 +0000
+++ ./gdb/po/gdb.pot	2018-01-23 02:08:32.000000000 +0000
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-01-16 02:09+0000\n"
+"POT-Creation-Date: 2018-01-23 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"
@@ -1218,7 +1218,7 @@ msgstr ""
 msgid "internal error: unhandled type in ada_print_scalar"
 msgstr ""
 
-#: ada-valprint.c:430 typeprint.c:639
+#: ada-valprint.c:430 typeprint.c:643
 msgid "Invalid type code in symbol table."
 msgstr ""
 
@@ -6892,33 +6892,33 @@ msgid ""
 "version 1 or higher)"
 msgstr ""
 
-#: compile/compile.c:573
+#: compile/compile.c:574
 msgid "Could not open source file for writing"
 msgstr ""
 
-#: compile/compile.c:578
+#: compile/compile.c:579
 msgid "Could not write to source file"
 msgstr ""
 
-#: compile/compile.c:594
+#: compile/compile.c:595
 msgid "Compilation failed."
 msgstr ""
 
-#: compile/compile.c:666
+#: compile/compile.c:667
 #, possible-c-format
 msgid "Invalid register name \"%s\"."
 msgstr ""
 
-#: compile/compile.c:673
+#: compile/compile.c:674
 #, possible-c-format
 msgid "Cannot find gdbarch register \"%s\"."
 msgstr ""
 
-#: compile/compile.c:682
+#: compile/compile.c:683
 msgid "Command to compile source code and inject it into the inferior."
 msgstr ""
 
-#: compile/compile.c:688
+#: compile/compile.c:689
 msgid ""
 "Compile, inject, and execute code.\n"
 "\n"
@@ -6937,7 +6937,7 @@ msgid ""
 "indicate the end of the expression."
 msgstr ""
 
-#: compile/compile.c:707
+#: compile/compile.c:708
 msgid ""
 "Evaluate a file containing source code.\n"
 "\n"
@@ -6945,7 +6945,7 @@ msgid ""
 "-r|-raw: Suppress automatic 'void _gdb_expr () { CODE }' wrapping."
 msgstr ""
 
-#: compile/compile.c:716
+#: compile/compile.c:717
 msgid ""
 "Evaluate EXPR by using the compiler and print result.\n"
 "\n"
@@ -6964,42 +6964,42 @@ msgid ""
 "but no count or size letter (see \"x\" command)."
 msgstr ""
 
-#: compile/compile.c:734
+#: compile/compile.c:735
 msgid "Set compile command debugging."
 msgstr ""
 
-#: compile/compile.c:735
+#: compile/compile.c:736
 msgid "Show compile command debugging."
 msgstr ""
 
-#: compile/compile.c:736
+#: compile/compile.c:737
 msgid "When on, compile command debugging is enabled."
 msgstr ""
 
-#: compile/compile.c:743
+#: compile/compile.c:744
 msgid "Set compile command GCC command-line arguments"
 msgstr ""
 
-#: compile/compile.c:744
+#: compile/compile.c:745
 msgid "Show compile command GCC command-line arguments"
 msgstr ""
 
-#: compile/compile.c:745
+#: compile/compile.c:746
 msgid ""
 "Use options like -I (include file directory) or ABI settings.\n"
 "String quoting is parsed like in shell, for example:\n"
 "  -mno-align-double \"-I/dir with a space/include\""
 msgstr ""
 
-#: compile/compile.c:772
+#: compile/compile.c:773
 msgid "Set compile command GCC driver filename"
 msgstr ""
 
-#: compile/compile.c:774
+#: compile/compile.c:775
 msgid "Show compile command GCC driver filename"
 msgstr ""
 
-#: compile/compile.c:776
+#: compile/compile.c:777
 msgid ""
 "It should be absolute filename of the gcc executable.\n"
 "If empty the default target triplet will be searched in $PATH."
@@ -29812,30 +29812,30 @@ msgstr ""
 msgid "expected space after format"
 msgstr ""
 
-#: typeprint.c:635
+#: typeprint.c:639
 msgid "internal error: unhandled type in print_type_scalar"
 msgstr ""
 
-#: typeprint.c:708
+#: typeprint.c:712
 #, possible-c-format
 msgid "Printing of methods defined in a class in %s\n"
 msgstr ""
 
-#: typeprint.c:725
+#: typeprint.c:729
 #, possible-c-format
 msgid "Printing of typedefs defined in a class in %s\n"
 msgstr ""
 
-#: typeprint.c:754
+#: typeprint.c:758
 msgid "Will not print nested types defined in a class\n"
 msgstr ""
 
-#: typeprint.c:759
+#: typeprint.c:763
 #, possible-c-format
 msgid "Will print %s nested types defined in a class\n"
 msgstr ""
 
-#: typeprint.c:769
+#: typeprint.c:773
 msgid ""
 "Print definition of type TYPE.\n"
 "Usage: ptype[/FLAGS] TYPE | EXPRESSION\n"
@@ -29854,51 +29854,51 @@ msgid ""
 "  /o    print offsets and sizes of fields in a struct (like pahole)\n"
 msgstr ""
 
-#: typeprint.c:788
+#: typeprint.c:792
 msgid ""
 "Print data type of expression EXP.\n"
 "Only one level of typedefs is unrolled.  See also \"ptype\"."
 msgstr ""
 
-#: typeprint.c:793
+#: typeprint.c:797
 msgid "Generic command for showing type-printing settings."
 msgstr ""
 
-#: typeprint.c:796
+#: typeprint.c:800
 msgid "Generic command for setting how types print."
 msgstr ""
 
-#: typeprint.c:800
+#: typeprint.c:804
 msgid "Set printing of methods defined in classes."
 msgstr ""
 
-#: typeprint.c:801
+#: typeprint.c:805
 msgid "Show printing of methods defined in classes."
 msgstr ""
 
-#: typeprint.c:807
+#: typeprint.c:811
 msgid "Set printing of typedefs defined in classes."
 msgstr ""
 
-#: typeprint.c:808
+#: typeprint.c:812
 msgid "Show printing of typedefs defined in classes."
 msgstr ""
 
-#: typeprint.c:816
+#: typeprint.c:820
 msgid ""
 "Set the number of recursive nested type definitions to print (\"unlimited\" "
 "or -1 to show all)."
 msgstr ""
 
-#: typeprint.c:818
+#: typeprint.c:822
 msgid "Show the number of recursive nested type definitions to print."
 msgstr ""
 
-#: typeprint.c:830
+#: typeprint.c:834
 msgid "<not allocated>"
 msgstr ""
 
-#: typeprint.c:838
+#: typeprint.c:842
 msgid "<not associated>"
 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.91.20180116/gdb/testsuite/ChangeLog ./gdb/testsuite/ChangeLog
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/gdb/testsuite/ChangeLog	2018-01-16 02:06:03.000000000 +0000
+++ ./gdb/testsuite/ChangeLog	2018-01-23 02:04:57.000000000 +0000
@@ -1,3 +1,14 @@
+2018-01-22  Pedro Alves  <palves@redhat.com>
+	    Sergio Durigan Junior  <sergiodj@redhat.com>
+
+	* gdb.base/whatis.exp: Add tests for 'set print object on' +
+	'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
+
+2018-01-17  Yao Qi  <yao.qi@linaro.org>
+
+	* gdb.compile/compile.exp: Match the address printed for
+	frame in the output of command "bt".
+
 2018-01-15  Tom Tromey  <tom@tromey.com>
 
 	* gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof 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.91.20180116/gdb/testsuite/gdb.base/whatis.exp ./gdb/testsuite/gdb.base/whatis.exp
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/gdb/testsuite/gdb.base/whatis.exp	2018-01-16 02:06:03.000000000 +0000
+++ ./gdb/testsuite/gdb.base/whatis.exp	2018-01-23 02:04:58.000000000 +0000
@@ -282,14 +282,31 @@ gdb_test "whatis v_double_pointer" \
 
 
 # test whatis command with structure types
+
+# First with a type argument, with both "set print object" set to "on"
+# and "off", ending with "off" for the following tests.
+foreach_with_prefix print_object {"on" "off"} {
+    gdb_test_no_output "set print object $print_object"
+
+    gdb_test "whatis struct t_struct" \
+	"type = struct t_struct" \
+	"whatis named structure using type name"
+
+    gdb_test "whatis struct t_struct *" \
+	"type = struct t_struct \\*" \
+	"whatis named structure using type name and pointer"
+
+    gdb_test "whatis struct t_struct &" \
+	"type = struct t_struct &" \
+	"whatis named structure using type name and reference"
+}
+
+# Now with an expression argument.
+
 gdb_test "whatis v_struct1" \
     "type = struct t_struct" \
     "whatis named structure"
 
-gdb_test "whatis struct t_struct" \
-    "type = struct t_struct" \
-    "whatis named structure using type name"
-
 gdb_test "whatis v_struct2" \
     "type = struct \{\.\.\.\}" \
     "whatis unnamed structure"
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.91.20180116/gdb/testsuite/gdb.compile/compile.exp ./gdb/testsuite/gdb.compile/compile.exp
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/gdb/testsuite/gdb.compile/compile.exp	2018-01-16 02:06:03.000000000 +0000
+++ ./gdb/testsuite/gdb.compile/compile.exp	2018-01-23 02:04:58.000000000 +0000
@@ -139,8 +139,11 @@ gdb_test "compile code func_doesnotexist
 gdb_test "compile code *(volatile int *) 0 = 0;" \
     "The program being debugged was signaled while in a function called from GDB\\.\r\nGDB remains in the frame where the signal was received\\.\r\n.*" \
     "compile code segfault first"
-gdb_test "bt" \
-    "\r\n#0  \[^\r\n\]* in _gdb_expr \[^\r\n\]*\r\n#1  <function called from gdb>\r\n.*"
+gdb_test "bt" [multi_line \
+		   "#0  ($hex in )?_gdb_expr .*" \
+		   "#1  <function called from gdb>" \
+		   "#2  .*" \
+		  ]
 
 set test "p/x \$pc"
 set infcall_pc 0
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.91.20180116/gdb/typeprint.c ./gdb/typeprint.c
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/gdb/typeprint.c	2018-01-16 02:06:03.000000000 +0000
+++ ./gdb/typeprint.c	2018-01-23 02:04:58.000000000 +0000
@@ -489,6 +489,10 @@ whatis_exp (const char *exp, int show)
 	  check_typedef (type);
 	  if (TYPE_CODE (type) == TYPE_CODE_TYPEDEF)
 	    type = TYPE_TARGET_TYPE (type);
+
+	  /* If the expression is actually a type, then there's no
+	     value to fetch the dynamic type from.  */
+	  val = NULL;
 	}
       else
 	{
@@ -506,7 +510,7 @@ whatis_exp (const char *exp, int show)
     }
 
   get_user_print_options (&opts);
-  if (opts.objectprint)
+  if (val != NULL && opts.objectprint)
     {
       if (((TYPE_CODE (type) == TYPE_CODE_PTR) || TYPE_IS_REFERENCE (type))
 	  && (TYPE_CODE (TYPE_TARGET_TYPE (type)) == TYPE_CODE_STRUCT))
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.91.20180116/md5.sum ./md5.sum
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/md5.sum	2018-01-16 02:10:04.000000000 +0000
+++ ./md5.sum	2018-01-23 02:09:04.000000000 +0000
@@ -40,7 +40,7 @@ bb45f17458fbd361569bfb2067575c7f  bfd/cp
 f15e31835a8d7272e1acd59dc86ebc2a  bfd/wasm-module.c
 2f1d48da02b5ed6e94cb3beb7dae5d9c  bfd/elf64-mips.c
 32c1c2c183f56bd2b5af2fb9c3ca94af  bfd/cpu-m9s12x.c
-74fa7c480c9b029bf87c39904ef04c90  bfd/version.h
+bdb623c0b89ded6dc96025b7084877eb  bfd/version.h
 25cd4c1378787d5bb9fa74b13a55098a  bfd/cpu-tilegx.c
 15946361c2ae68e8133d7e10485f7ed4  bfd/coff-mcore.c
 836b9de6d0ea1914f82c0ec0fa0341ef  bfd/cpu-avr.c
@@ -1184,7 +1184,7 @@ c924da8407c465c0db47754b07e866a3  gdb/ui
 da8fe61630bfcd15538771e7933f12be  gdb/user-regs.h
 762cc4015b932677369f1830f5ef162e  gdb/PROBLEMS
 d8b839d3a6e3c69149bcd628b9fc0a69  gdb/config.in
-0c15f53a23d4b18de01ef27812eef6fa  gdb/configure.ac
+5a325a88036eb68b88dcb4f8532bcb75  gdb/configure.ac
 752cc726423f319218ee7048b5dc7d38  gdb/ChangeLog-2015
 061e4671402dd0e7ded6e2e32902110e  gdb/amd64-sol2-tdep.c
 e6089cd2ed43337dcebc9325ee0d1243  gdb/vax-tdep.c
@@ -1302,7 +1302,7 @@ ab7b4f155d4f18f36096fad79338fdd8  gdb/li
 95747565b38d770f35b7cc5e3a5d6d4b  gdb/dbxread.c
 b79bf0d4df1c24d45695985ecf4d9032  gdb/remote-notif.c
 7fc733857220d977be1753bb536270d8  gdb/aarch64-linux-tdep.h
-d11e260d3bc06436037fb78db1cf39c3  gdb/aarch64-linux-tdep.c
+5993380e1caeed5fe8239b218911d6dc  gdb/aarch64-linux-tdep.c
 f9608701da59bffb74a570a334556f4d  gdb/f-lang.c
 92cccfe17e9b06965836d1a0a25ef723  gdb/break-catch-throw.c
 dab68109c15df636e61c7b8177b99c99  gdb/rs6000-aix-tdep.h
@@ -1313,7 +1313,7 @@ ea4dfef6c5e7870c92c37c74d978b27d  gdb/bl
 81ca19a0a94a9180c560287797777d6b  gdb/aarch64-tdep.c
 8f07b8c77be423bdb29b2c4a42c87478  gdb/sparc-ravenscar-thread.h
 0f7decb129c084c0d3fb704a564713be  gdb/m68k-tdep.h
-95fe86fc12b0be1023b46ee1b31ccf05  gdb/typeprint.c
+889428621c8d8cce7a5812377c0e9500  gdb/typeprint.c
 233aabf3ab7d221a0d49ad93eb709091  gdb/solib-aix.c
 a90a12ca7717fddf5de1057e1cdca4c1  gdb/warning.m4
 b5c43ad4aec100d70190078091d9f5b3  gdb/ppc-tdep.h
@@ -1477,7 +1477,7 @@ f8418be53031d55597bb8cbc75ac56f8  gdb/te
 55445ef070b3f708e26f8e0836948577  gdb/testsuite/config/dve.exp
 8ef3ef72b101fe66bc5a11d18257f77b  gdb/testsuite/config/monitor.exp
 a46c196d5571f9b4b1a2fb781c13dff3  gdb/testsuite/config/unix.exp
-5a6cb7520580670ca6ab82656d2474d6  gdb/testsuite/gdb.compile/compile.exp
+ff45559c569b63a16005ebfac4932abd  gdb/testsuite/gdb.compile/compile.exp
 6f14b3f423c82f6f7034adce80923c3f  gdb/testsuite/gdb.compile/compile-print.exp
 ddde74dfa986d7a5431cbfd9b4ecf30d  gdb/testsuite/gdb.compile/compile-print.c
 87314782da00a13b19496e46f23c4c92  gdb/testsuite/gdb.compile/compile-setjmp.c
@@ -3121,7 +3121,7 @@ ec658acbf0ecd0c2b8a88251cf47838e  gdb/te
 2cf208878558d60d6d9d26d6f5c9842a  gdb/testsuite/gdb.base/step-bt.exp
 fb6e5ff8dc2043bf6cfd0407d5db3aa3  gdb/testsuite/gdb.base/eu-strip-infcall.c
 799cbaa2e6242d0f63a23727222ba352  gdb/testsuite/gdb.base/bp-permanent.exp
-17527e49b803d742c9ffc810b147d742  gdb/testsuite/gdb.base/whatis.exp
+b5ba46009a1f24330637c65622164933  gdb/testsuite/gdb.base/whatis.exp
 6e8eff05d965ec8b8b75b3011c5b925d  gdb/testsuite/gdb.base/stack-checking.c
 a703638723abd3369a444c51fbd928a9  gdb/testsuite/gdb.base/vla-stub.exp
 b082cf674f2793832976cc451dcc7b50  gdb/testsuite/gdb.base/bp-cmds-execution-x-script.exp
@@ -4288,7 +4288,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
-266e645168047f6203f21be92e259e71  gdb/testsuite/ChangeLog
+205419238104b1654c189043a32fb2d7  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
@@ -4997,43 +4997,43 @@ d73a448e50a651ac6171a232b56ba1f1  gdb/te
 29209f0a84f981d84f100e8fc4c3a84b  gdb/f-valprint.c
 b6bbbfc248f90052ce30fda420c5916f  gdb/gdb_curses.h
 8108dd8f906f2654fecc74958cf383db  gdb/doc/psrc.sed
-e39a3fb1810c0c87241c83713301fe34  gdb/doc/gdb.info-3
-f3e24c0de6123b04ae40ff55fb129b3a  gdb/doc/gdb.info-4
+56889d244a908b6393ad19a293570f87  gdb/doc/gdb.info-3
+75f67def218f43bfe94da456299be127  gdb/doc/gdb.info-4
 ab0fe311032294b952da80585b8b90e7  gdb/doc/fdl.texi
 667bef4de7567c069421a0aa4b2b42ce  gdb/doc/Makefile.in
-77a01487fefc1746f8005f01e79cf794  gdb/doc/gdb.info-7
+572f7e9b5bff87ffaf5c1235939722b1  gdb/doc/gdb.info-7
 ce238ebd8ad1da77806acf2ccd2a592e  gdb/doc/observer.texi
-31439e3fab67e503f476e2b4f1d8933e  gdb/doc/gdbserver.1
+18b7a1d9e6c26aa5433ad31d318d3451  gdb/doc/gdbserver.1
 8a3211e1c1b6c1a9ae823c3c469675e8  gdb/doc/guile.texi
 f81a0e00e0cb9e41b078069fb9bedb07  gdb/doc/stack_frame.txt
 319d74c658533df2b0bedcca97af4d94  gdb/doc/stabs.info
-f52d84b995696f9f026bf118fb21d0d3  gdb/doc/gdb.info-5
+773611daff2411fc60d5ffa7b91b09a1  gdb/doc/gdb.info-5
 19abe6cc6d5cc545f19b7c7703223589  gdb/doc/agentexpr.texi
 66674dc351ba95941f422dc18cae24bb  gdb/doc/.gitignore
-2cde4bd5b44ed7666c7fe40535010e34  gdb/doc/gdb.info-1
+c890bd351ad60555c9c04a9565a90686  gdb/doc/gdb.info-1
 d5d06eaf9b4d44aa442a4a281aa9aea4  gdb/doc/a4rc.sed
-0f219c2b00bdd16bdab37e41660b6b18  gdb/doc/gdb.info-6
+e13423a9a09beb21f2b50152003fe94a  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
-d7136c9dda25b6d00802350db679a307  gdb/doc/gdb.info-2
+e77751f5713602b71e84ae760c01eed6  gdb/doc/gdb.info-2
 0e44f6ffe6996c2827630e31909c3e1e  gdb/doc/refcard.tex
 6076d300a46651562d4ecd0604442414  gdb/doc/stack_frame.png
-628c5a897da690cc2eee01ab628a388f  gdb/doc/gdb.info
+fdc3b22573e23b90e9b411e08298bf15  gdb/doc/gdb.info
 792ace4c71224d2dab899da2b265c147  gdb/doc/python.texi
 c3feb7ddebdf77fd82e65fc406bc2f23  gdb/doc/stabs.texinfo
 59b9502ecb343b50bcf56cbe20865eb6  gdb/doc/ChangeLog
-136b9674ee7f59eee9b1609ac409528d  gdb/doc/gdb.1
-2ae01e14094fe3f9557c52465bacf3de  gdb/doc/gcore.1
+a71845b413d5cc6a0b32e3250f636a5f  gdb/doc/gdb.1
+5c26edc15c956b9580242f2bb0e0c610  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
-07548ecbda15111b04060174d567120b  gdb/doc/gdbinit.5
+cf42e8ef6751ff83d03d419396fc906c  gdb/doc/gdbinit.5
 78d7bd07699d6e1b53e552cc3a1c16ef  gdb/doc/Doxyfile-gdb-xref.in
 d398b8cec3d96f0f3267dac6b8fe64bb  gdb/doc/annotate.texinfo
 5863a78c1571978dc97dccb25e481134  gdb/doc/doxy-index.in
@@ -5510,7 +5510,7 @@ edc4a27f2b925daefc04ecb2f8067e66  gdb/m3
 bd2190ae1f21bb6c32bc6c15e75647e8  gdb/frame-unwind.c
 1a4cf2a482540ae09973aab3c000b178  gdb/acinclude.m4
 ab116d0d4c883f3863e1cd60796d6926  gdb/arm-tdep.h
-d8f2be092c58c1c4005b7848427bffe7  gdb/configure
+b4b206c75037ba6dec103e6aad58c8d2  gdb/configure
 1b5e1b259305f46dfc332fdcc9d4972f  gdb/main.h
 e25d68df4dd055f4bd6b3b3e0068453c  gdb/alpha-tdep.c
 4aa8e4e40d1e2b12ddf1a2d2b172d84a  gdb/xml-tdesc.h
@@ -5527,7 +5527,7 @@ a9395d09415322faea2304f9a1d7d9e2  gdb/co
 c8ad35fbed9ae9f7955517bb9dfddaf3  gdb/std-regs.c
 94939358229d338905f052768534159b  gdb/go-lang.h
 08acbfe7a6b5373b372b4cbe252da59c  gdb/i386-windows-nat.c
-f1c3810c9c55a67869a0f4f424d1cf61  gdb/po/gdb.pot
+b11258069da8528910c7014d28b1eb17  gdb/po/gdb.pot
 1851bff0653201a488dcae18dde7efad  gdb/po/gdbtext
 e8b91e30ff3b4173fc9a5cfa9eda097f  gdb/break-catch-syscall.c
 de33c119605f9104ceecf43bcf8492ff  gdb/ada-lang.c
@@ -5557,7 +5557,7 @@ ff1c4ed48c7d2f16438d9d0db42e2b6d  gdb/ar
 6caec3f4ac5f65674e15355a60e14ecb  gdb/i386-fbsd-nat.c
 d5dd5836266ef25fc2ac5e704c1c0a09  gdb/mipsread.c
 1b4194bf7b4056dfa96ced19566459ad  gdb/amd64-darwin-tdep.c
-790e97b6088698d59ab2901eba85d3a5  gdb/ChangeLog
+c623e62f5e0472fb5efc88bbce449768  gdb/ChangeLog
 59570a0bc164919d36efd6a8d2ef0c89  gdb/go-typeprint.c
 fcd744f8bf7027eeddb24ddf43e290d1  gdb/score-tdep.c
 486e78403fa95b4893d415ec7e70766f  gdb/m88k-bsd-nat.c
@@ -5813,7 +5813,7 @@ ef1f780ebf5dc9aa3fa7325de54787e9  gdb/gd
 051386225be0bafdbbd83eae5da06132  gdb/gdbserver/lynx-low.h
 69133f2f32d99706fa48de77f6145fa9  gdb/gdbserver/tdesc.c
 b5060875a98573926155a1b87f27e06c  gdb/gdbserver/config.in
-57c7b6dd83efc508de9b53d5f298825b  gdb/gdbserver/configure.ac
+3257fe7803cd14697fd87cd7356b25ea  gdb/gdbserver/configure.ac
 791b58ddf159b59c7d9375e2c2f00a07  gdb/gdbserver/README
 e592ff47af6146259906f9893dcdb8ac  gdb/gdbserver/mem-break.c
 2049cb73a60db99ff0517d0d5fc03e76  gdb/gdbserver/linux-mips-low.c
@@ -5852,14 +5852,14 @@ af7835dd683710f8c69e2a8fbfb6eae4  gdb/gd
 b2a7840301f9a756598d35c02fea9c43  gdb/gdbserver/gdbreplay.c
 109d814fe3676a43a3e6203808262540  gdb/gdbserver/regcache.h
 9c1cff98ebfeb6dad31afb0416dae57e  gdb/gdbserver/acinclude.m4
-75740150398ac7e0410a4ff3569fb7b6  gdb/gdbserver/configure
+3ee65e473e27402f03f8638783b199e6  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
-1e038e184a62718f3e1bf6b8dfeb5b29  gdb/gdbserver/ChangeLog
+3b78ef73bdc14a4120e6c3e4509bdee6  gdb/gdbserver/ChangeLog
 617f7b084f0303a4edd1e990fdfc6f7e  gdb/gdbserver/linux-ppc-low.c
 28c9e80ca53f330cbf01e7bf0d505664  gdb/gdbserver/linux-low.c
 2ce8d0b523754928d0d12157dc96db5d  gdb/gdbserver/proc-service.list
@@ -6229,7 +6229,7 @@ a205dd1a408fafb7fa5fd3bd59318168  gdb/ta
 6e04664fcc821015c33f4c9b04e23ff5  gdb/alpha-mdebug-tdep.c
 f2cbeaffd808115d7cab8322728c536a  gdb/symmisc.c
 acf7e8747a65c0528dfa5f202c5024cd  gdb/compile/compile-loc2c.c
-41bfcad8aad4b86e0583aa5835eb703a  gdb/compile/compile.c
+bcc2698c882a81eb236afa8d69400969  gdb/compile/compile.c
 ce9306fc07761a9dee514d567ca01c7d  gdb/compile/compile.h
 eafcd9c1de6cad329c2a489b86a112ea  gdb/compile/compile-c-symbols.c
 1884269c365b328b46a183a1ef18ed88  gdb/compile/compile-object-run.h
@@ -6257,7 +6257,7 @@ bf8edbc5405da62b99be015d79b063bf  gdb/xs
 c4f8b232eecbe7b5480666d51f4494f1  gdb/i386-obsd-tdep.c
 d48dd8a116922c82604d8169df04ab75  gdb/ppc-nbsd-tdep.c
 8ba72793f00d56122230d68af16678a1  gdb/stabsread.c
-415c1ed97eb3af2098e63318fe30dbe4  gdb/MAINTAINERS
+7001531fb2241319981780a07e10a9c7  gdb/MAINTAINERS
 074caf11d670efb9f23fbcd727b37f0b  gdb/arm-fbsd-tdep.c
 7ab2d3c0feca39d0ec4712ca0c9a5f15  gdb/i386-bsd-nat.c
 feeeb8cba0f46c50b028311ac9b138bc  gdb/terminal.h
@@ -11453,7 +11453,7 @@ e0f079b68683b42c69d3b6f7155f42ad  sim/m3
 34bcb9589fe28755a72677133d0abd3a  sim/m32c/mem.c
 e26a2422f15f9a0c41617ca20cfe6b7a  sim/m32c/load.c
 85c1deb54c06b8ae6729098b6181879d  sim/m32c/safe-fgets.h
-cf10e022e78f2acf39212b778afbddff  sim/ChangeLog
+b872110a5437e99f9aafa6fe7b75a540  sim/ChangeLog
 c6fa511752eae573df303b42a819db2a  sim/m32r/mloopx.in
 1c955c8ca2c9d777e91fb85ae39e1daf  sim/m32r/model.c
 e4e4e9b3b05c4cbaeb76c91be288dd18  sim/m32r/cpu2.c
@@ -11696,7 +11696,7 @@ a54b409822a9f89d4709754a53e81e9f  sim/bf
 d0d63d88e36d781f5b5f3bdd9a83e758  sim/bfin/dv-bfin_uart2.c
 18078cbbbbb33856b9e93d874c81cf4c  sim/bfin/dv-bfin_sic.c
 e41886ebfd5e7fbf55757257431fa1f0  sim/bfin/dv-bfin_gptimer.c
-083aa03786cbaa65cacf0303ff8fba52  sim/MAINTAINERS
+6be02dc9c68f5c63254c33ff91090394  sim/MAINTAINERS
 04883961c382396eea44ba4959ec109d  sim/m68hc11/dv-m68hc11.c
 e9dfa9a1c581691f0160ad8c80ea7cf4  sim/m68hc11/Makefile.in
 aaa0f1a12e4df6712f453e7e85d73f2e  sim/m68hc11/dv-m68hc11sio.c
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.91.20180116/sim/ChangeLog ./sim/ChangeLog
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/sim/ChangeLog	2018-01-16 02:06:05.000000000 +0000
+++ ./sim/ChangeLog	2018-01-23 02:04:59.000000000 +0000
@@ -1,3 +1,7 @@
+2018-01-22  Maciej W. Rozycki  <macro@mips.com>
+
+	* MAINTAINERS: Update my company e-mail address.
+
 2017-12-12  Stafford Horne  <shorne@gmail.com>
 	    Peter Gavin  <pgavin@gmail.com>
 
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.91.20180116/sim/MAINTAINERS ./sim/MAINTAINERS
--- /sourceware/snapshot-tmp/gdb/snapshot/branch-gdb/update-snapshot/old/gdb-8.0.91.20180116/sim/MAINTAINERS	2018-01-16 02:06:05.000000000 +0000
+++ ./sim/MAINTAINERS	2018-01-23 02:04:59.000000000 +0000
@@ -27,7 +27,7 @@ m32c		DJ Delorie <dj@redhat.com>
 m32r		Doug Evans <dje@sebabeach.org>
 m68hc11		Stephane Carrez <Stephane.Carrez@gmail.com>
 microblaze	Michael Eager <eager@eagercon.com>
-mips		Maciej W. Rozycki <macro@imgtec.com>
+mips		Maciej W. Rozycki <macro@mips.com>
 moxie		Anthony Green <green@moxielogic.com>
 msp430		Nick Clifton <nickc@redhat.com>
 rx		DJ Delorie <dj@redhat.com>
