diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/bfd/bfd-in2.h ./bfd/bfd-in2.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/bfd/bfd-in2.h	2018-06-12 01:49:09.000000000 +0000
+++ ./bfd/bfd-in2.h	2018-06-19 01:49:00.000000000 +0000
@@ -5755,6 +5755,9 @@ the linker could optimize the movq to a 
 /* Same as BFD_RELOC_32_PCREL but with an implicit -4 addend.  */
   BFD_RELOC_MACH_O_X86_64_PCREL32_4,
 
+/* Used when referencing a TLV entry.  */
+  BFD_RELOC_MACH_O_X86_64_TLV,
+
 /* Addend for PAGE or PAGEOFF.  */
   BFD_RELOC_MACH_O_ARM64_ADDEND,
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/bfd/bfdio.c ./bfd/bfdio.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/bfd/bfdio.c	2018-06-12 01:49:09.000000000 +0000
+++ ./bfd/bfdio.c	2018-06-19 01:49:00.000000000 +0000
@@ -330,6 +330,10 @@ bfd_seek (bfd *abfd, file_ptr position, 
   if (direction != SEEK_CUR)
     position += offset;
 
+  if ((direction == SEEK_CUR && position == 0)
+      || (direction == SEEK_SET && (ufile_ptr) position == abfd->where))
+    return 0;
+
   result = abfd->iovec->bseek (abfd, position, direction);
   if (result != 0)
     {
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/bfd/ChangeLog ./bfd/ChangeLog
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/bfd/ChangeLog	2018-06-12 01:49:09.000000000 +0000
+++ ./bfd/ChangeLog	2018-06-19 01:49:00.000000000 +0000
@@ -1,3 +1,43 @@
+2018-06-18  Mephi  <mephi42@gmail.com>
+
+	PR 23297
+	* mach-o-x86-64.c (x86_64_howto_table): Add entry for
+	BFD_RELOC_MACH_O_X86_64_RELOC_TLV.
+	(bfd_mach_o_x86_64_canonicalize_one_reloc): Handle the new reloc.
+	(bfd_mach_o_x86_64_swap_reloc_out): Likewise.
+	* reloc.c (BFD_RELOC_MACH_O_X86_64_TV): New entry.
+	* bfd-in2.h: Regenerate.
+	* libbfd.h: Regenerate.
+
+2018-06-14  Faraz Shahbazker  <Faraz.Shahbazker@mips.com>
+
+	* elfxx-mips.c (print_mips_ases): Add GINV extension.
+
+2018-06-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR binutils/23267
+	* elf.c (_bfd_elf_get_symbol_version_string): Check if the first
+	symbol version is base version.
+
+2018-06-14  Alan Modra  <amodra@gmail.com>
+
+	* elf-bfd.h (struct elf_link_hash_table): Add "dynamic_relocs".
+	* elflink.c (_bfd_elf_init_2_index_sections): Comment fix.
+	(_bfd_elf_add_dynamic_entry): Set "dynamic_relocs".
+	(_bfd_elf_link_renumber_dynsyms): Exclude all section symbols when
+	"dynamic_relocs" is not set.
+	* elfxx-mips.c (count_section_dynsyms): Likewise.
+
+2018-06-14  Alan Modra  <amodra@gmail.com>
+
+	PR 23282
+	* bfdio.c (bfd_seek): Optimize away seeks to current position.
+
+2018-06-13  Scott Egerton  <scott.egerton@imgtec.com>
+	    Faraz Shahbazker  <Faraz.Shahbazker@mips.com>
+
+	* elfxx-mips.c (print_mips_ases): Add CRC.
+
 2018-06-08  H.J. Lu  <hongjiu.lu@intel.com>
 
 	PR ld/23161
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/bfd/doc/bfd.info ./bfd/doc/bfd.info
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/bfd/doc/bfd.info	2018-06-12 01:51:30.000000000 +0000
+++ ./bfd/doc/bfd.info	2018-06-19 01:51:19.000000000 +0000
@@ -6133,6 +6133,8 @@ attributes.
      Same as BFD_RELOC_32_PCREL but with an implicit -2 addend.
  -- : BFD_RELOC_MACH_O_X86_64_PCREL32_4
      Same as BFD_RELOC_32_PCREL but with an implicit -4 addend.
+ -- : BFD_RELOC_MACH_O_X86_64_TLV
+     Used when referencing a TLV entry.
  -- : BFD_RELOC_MACH_O_ARM64_ADDEND
      Addend for PAGE or PAGEOFF.
  -- : BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGE21
@@ -11533,7 +11535,7 @@ BFD Index
                                                              (line   83)
 * _bfd_generic_make_empty_symbol:        symbol handling functions.
                                                              (line   96)
-* _bfd_generic_set_reloc:                howto manager.      (line 3385)
+* _bfd_generic_set_reloc:                howto manager.      (line 3387)
 * _bfd_generic_verify_endian_match:      Writing the symbol table.
                                                              (line  172)
 * _bfd_link_add_symbols in target vector: Adding Symbols to the Hash Table.
@@ -11544,7 +11546,7 @@ BFD Index
                                                              (line    6)
 * _bfd_relocate_contents:                Relocating the section contents.
                                                              (line   22)
-* _bfd_unrecognized_reloc:               howto manager.      (line 3397)
+* _bfd_unrecognized_reloc:               howto manager.      (line 3399)
 * aout_SIZE_machine_type:                aout.               (line  145)
 * aout_SIZE_mkobject:                    aout.               (line  137)
 * aout_SIZE_new_section_hook:            aout.               (line  175)
@@ -11621,7 +11623,7 @@ BFD Index
                                                              (line  116)
 * bfd_default_arch_struct:               Architectures.      (line  565)
 * bfd_default_compatible:                Architectures.      (line  627)
-* bfd_default_reloc_type_lookup:         howto manager.      (line 3309)
+* bfd_default_reloc_type_lookup:         howto manager.      (line 3311)
 * bfd_default_scan:                      Architectures.      (line  636)
 * bfd_default_set_arch_mach:             Architectures.      (line  583)
 * bfd_demangle:                          Miscellaneous.      (line  339)
@@ -11652,12 +11654,12 @@ BFD Index
 * bfd_generic_define_start_stop:         Writing the symbol table.
                                                              (line   97)
 * bfd_generic_discard_group:             section prototypes. (line  304)
-* bfd_generic_gc_sections:               howto manager.      (line 3340)
-* bfd_generic_get_relocated_section_contents: howto manager. (line 3370)
+* bfd_generic_gc_sections:               howto manager.      (line 3342)
+* bfd_generic_get_relocated_section_contents: howto manager. (line 3372)
 * bfd_generic_is_group_section:          section prototypes. (line  296)
-* bfd_generic_lookup_section_flags:      howto manager.      (line 3350)
-* bfd_generic_merge_sections:            howto manager.      (line 3360)
-* bfd_generic_relax_section:             howto manager.      (line 3327)
+* bfd_generic_lookup_section_flags:      howto manager.      (line 3352)
+* bfd_generic_merge_sections:            howto manager.      (line 3362)
+* bfd_generic_relax_section:             howto manager.      (line 3329)
 * bfd_get_alt_debug_link_info:           Opening and Closing.
                                                              (line  329)
 * bfd_get_arch:                          Architectures.      (line  594)
@@ -11676,7 +11678,7 @@ BFD Index
 * bfd_get_mtime:                         Miscellaneous.      (line  448)
 * bfd_get_next_mapent:                   Archives.           (line   57)
 * bfd_get_next_section_by_name:          section prototypes. (line   25)
-* bfd_get_reloc_code_name:               howto manager.      (line 3318)
+* bfd_get_reloc_code_name:               howto manager.      (line 3320)
 * bfd_get_reloc_size:                    typedef arelent.    (line  330)
 * bfd_get_reloc_upper_bound:             Miscellaneous.      (line    8)
 * bfd_get_section_by_name:               section prototypes. (line   16)
@@ -11935,145 +11937,145 @@ BFD Index
 * BFD_RELOC_8_PCREL:                     howto manager.      (line   38)
 * BFD_RELOC_8_PLTOFF:                    howto manager.      (line   65)
 * BFD_RELOC_8_PLT_PCREL:                 howto manager.      (line   58)
-* BFD_RELOC_AARCH64_16:                  howto manager.      (line 2724)
-* BFD_RELOC_AARCH64_16_PCREL:            howto manager.      (line 2730)
-* BFD_RELOC_AARCH64_32:                  howto manager.      (line 2723)
-* BFD_RELOC_AARCH64_32_PCREL:            howto manager.      (line 2729)
-* BFD_RELOC_AARCH64_64:                  howto manager.      (line 2722)
-* BFD_RELOC_AARCH64_64_PCREL:            howto manager.      (line 2728)
-* BFD_RELOC_AARCH64_ADD_LO12:            howto manager.      (line 2803)
-* BFD_RELOC_AARCH64_ADR_GOT_PAGE:        howto manager.      (line 2849)
-* BFD_RELOC_AARCH64_ADR_HI21_NC_PCREL:   howto manager.      (line 2799)
-* BFD_RELOC_AARCH64_ADR_HI21_PCREL:      howto manager.      (line 2796)
-* BFD_RELOC_AARCH64_ADR_LO21_PCREL:      howto manager.      (line 2793)
-* BFD_RELOC_AARCH64_BRANCH19:            howto manager.      (line 2815)
-* BFD_RELOC_AARCH64_CALL26:              howto manager.      (line 2823)
-* BFD_RELOC_AARCH64_COPY:                howto manager.      (line 3016)
-* BFD_RELOC_AARCH64_GAS_INTERNAL_FIXUP:  howto manager.      (line 3040)
-* BFD_RELOC_AARCH64_GLOB_DAT:            howto manager.      (line 3018)
-* BFD_RELOC_AARCH64_GOT_LD_PREL19:       howto manager.      (line 2843)
-* BFD_RELOC_AARCH64_IRELATIVE:           howto manager.      (line 3032)
-* BFD_RELOC_AARCH64_JUMP26:              howto manager.      (line 2819)
-* BFD_RELOC_AARCH64_JUMP_SLOT:           howto manager.      (line 3020)
-* BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14:   howto manager.      (line 2870)
-* BFD_RELOC_AARCH64_LD32_GOT_LO12_NC:    howto manager.      (line 2857)
-* BFD_RELOC_AARCH64_LD64_GOTOFF_LO15:    howto manager.      (line 2867)
-* BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15:   howto manager.      (line 2873)
-* BFD_RELOC_AARCH64_LD64_GOT_LO12_NC:    howto manager.      (line 2853)
-* BFD_RELOC_AARCH64_LDST128_LO12:        howto manager.      (line 2839)
-* BFD_RELOC_AARCH64_LDST16_LO12:         howto manager.      (line 2827)
-* BFD_RELOC_AARCH64_LDST32_LO12:         howto manager.      (line 2831)
-* BFD_RELOC_AARCH64_LDST64_LO12:         howto manager.      (line 2835)
-* BFD_RELOC_AARCH64_LDST8_LO12:          howto manager.      (line 2807)
-* BFD_RELOC_AARCH64_LDST_LO12:           howto manager.      (line 3043)
-* BFD_RELOC_AARCH64_LD_GOT_LO12_NC:      howto manager.      (line 3061)
-* BFD_RELOC_AARCH64_LD_LO19_PCREL:       howto manager.      (line 2789)
-* BFD_RELOC_AARCH64_MOVW_G0:             howto manager.      (line 2733)
-* BFD_RELOC_AARCH64_MOVW_G0_NC:          howto manager.      (line 2736)
-* BFD_RELOC_AARCH64_MOVW_G0_S:           howto manager.      (line 2754)
-* BFD_RELOC_AARCH64_MOVW_G1:             howto manager.      (line 2739)
-* BFD_RELOC_AARCH64_MOVW_G1_NC:          howto manager.      (line 2742)
-* BFD_RELOC_AARCH64_MOVW_G1_S:           howto manager.      (line 2758)
-* BFD_RELOC_AARCH64_MOVW_G2:             howto manager.      (line 2745)
-* BFD_RELOC_AARCH64_MOVW_G2_NC:          howto manager.      (line 2748)
-* BFD_RELOC_AARCH64_MOVW_G2_S:           howto manager.      (line 2762)
-* BFD_RELOC_AARCH64_MOVW_G3:             howto manager.      (line 2751)
-* BFD_RELOC_AARCH64_MOVW_GOTOFF_G0_NC:   howto manager.      (line 2861)
-* BFD_RELOC_AARCH64_MOVW_GOTOFF_G1:      howto manager.      (line 2864)
-* BFD_RELOC_AARCH64_MOVW_PREL_G0:        howto manager.      (line 2766)
-* BFD_RELOC_AARCH64_MOVW_PREL_G0_NC:     howto manager.      (line 2770)
-* BFD_RELOC_AARCH64_MOVW_PREL_G1:        howto manager.      (line 2774)
-* BFD_RELOC_AARCH64_MOVW_PREL_G1_NC:     howto manager.      (line 2777)
-* BFD_RELOC_AARCH64_MOVW_PREL_G2:        howto manager.      (line 2780)
-* BFD_RELOC_AARCH64_MOVW_PREL_G2_NC:     howto manager.      (line 2783)
-* BFD_RELOC_AARCH64_MOVW_PREL_G3:        howto manager.      (line 2786)
-* BFD_RELOC_AARCH64_NONE:                howto manager.      (line 2720)
-* BFD_RELOC_AARCH64_NULL:                howto manager.      (line 2718)
-* BFD_RELOC_AARCH64_RELATIVE:            howto manager.      (line 3022)
-* BFD_RELOC_AARCH64_RELOC_END:           howto manager.      (line 3034)
-* BFD_RELOC_AARCH64_RELOC_START:         howto manager.      (line 2713)
-* BFD_RELOC_AARCH64_TLSDESC:             howto manager.      (line 3030)
-* BFD_RELOC_AARCH64_TLSDESC_ADD:         howto manager.      (line 3012)
-* BFD_RELOC_AARCH64_TLSDESC_ADD_LO12:    howto manager.      (line 3004)
-* BFD_RELOC_AARCH64_TLSDESC_ADR_PAGE21:  howto manager.      (line 2998)
-* BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21:  howto manager.      (line 2996)
-* BFD_RELOC_AARCH64_TLSDESC_CALL:        howto manager.      (line 3014)
-* BFD_RELOC_AARCH64_TLSDESC_LD32_LO12_NC: howto manager.     (line 3002)
-* BFD_RELOC_AARCH64_TLSDESC_LD64_LO12:   howto manager.      (line 3000)
-* BFD_RELOC_AARCH64_TLSDESC_LDR:         howto manager.      (line 3010)
-* BFD_RELOC_AARCH64_TLSDESC_LD_LO12_NC:  howto manager.      (line 3067)
-* BFD_RELOC_AARCH64_TLSDESC_LD_PREL19:   howto manager.      (line 2994)
-* BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC:   howto manager.      (line 3008)
-* BFD_RELOC_AARCH64_TLSDESC_OFF_G1:      howto manager.      (line 3006)
-* BFD_RELOC_AARCH64_TLSGD_ADD_LO12_NC:   howto manager.      (line 2883)
-* BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21:    howto manager.      (line 2876)
-* BFD_RELOC_AARCH64_TLSGD_ADR_PREL21:    howto manager.      (line 2881)
-* BFD_RELOC_AARCH64_TLSGD_MOVW_G0_NC:    howto manager.      (line 2887)
-* BFD_RELOC_AARCH64_TLSGD_MOVW_G1:       howto manager.      (line 2889)
+* BFD_RELOC_AARCH64_16:                  howto manager.      (line 2726)
+* BFD_RELOC_AARCH64_16_PCREL:            howto manager.      (line 2732)
+* BFD_RELOC_AARCH64_32:                  howto manager.      (line 2725)
+* BFD_RELOC_AARCH64_32_PCREL:            howto manager.      (line 2731)
+* BFD_RELOC_AARCH64_64:                  howto manager.      (line 2724)
+* BFD_RELOC_AARCH64_64_PCREL:            howto manager.      (line 2730)
+* BFD_RELOC_AARCH64_ADD_LO12:            howto manager.      (line 2805)
+* BFD_RELOC_AARCH64_ADR_GOT_PAGE:        howto manager.      (line 2851)
+* BFD_RELOC_AARCH64_ADR_HI21_NC_PCREL:   howto manager.      (line 2801)
+* BFD_RELOC_AARCH64_ADR_HI21_PCREL:      howto manager.      (line 2798)
+* BFD_RELOC_AARCH64_ADR_LO21_PCREL:      howto manager.      (line 2795)
+* BFD_RELOC_AARCH64_BRANCH19:            howto manager.      (line 2817)
+* BFD_RELOC_AARCH64_CALL26:              howto manager.      (line 2825)
+* BFD_RELOC_AARCH64_COPY:                howto manager.      (line 3018)
+* BFD_RELOC_AARCH64_GAS_INTERNAL_FIXUP:  howto manager.      (line 3042)
+* BFD_RELOC_AARCH64_GLOB_DAT:            howto manager.      (line 3020)
+* BFD_RELOC_AARCH64_GOT_LD_PREL19:       howto manager.      (line 2845)
+* BFD_RELOC_AARCH64_IRELATIVE:           howto manager.      (line 3034)
+* BFD_RELOC_AARCH64_JUMP26:              howto manager.      (line 2821)
+* BFD_RELOC_AARCH64_JUMP_SLOT:           howto manager.      (line 3022)
+* BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14:   howto manager.      (line 2872)
+* BFD_RELOC_AARCH64_LD32_GOT_LO12_NC:    howto manager.      (line 2859)
+* BFD_RELOC_AARCH64_LD64_GOTOFF_LO15:    howto manager.      (line 2869)
+* BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15:   howto manager.      (line 2875)
+* BFD_RELOC_AARCH64_LD64_GOT_LO12_NC:    howto manager.      (line 2855)
+* BFD_RELOC_AARCH64_LDST128_LO12:        howto manager.      (line 2841)
+* BFD_RELOC_AARCH64_LDST16_LO12:         howto manager.      (line 2829)
+* BFD_RELOC_AARCH64_LDST32_LO12:         howto manager.      (line 2833)
+* BFD_RELOC_AARCH64_LDST64_LO12:         howto manager.      (line 2837)
+* BFD_RELOC_AARCH64_LDST8_LO12:          howto manager.      (line 2809)
+* BFD_RELOC_AARCH64_LDST_LO12:           howto manager.      (line 3045)
+* BFD_RELOC_AARCH64_LD_GOT_LO12_NC:      howto manager.      (line 3063)
+* BFD_RELOC_AARCH64_LD_LO19_PCREL:       howto manager.      (line 2791)
+* BFD_RELOC_AARCH64_MOVW_G0:             howto manager.      (line 2735)
+* BFD_RELOC_AARCH64_MOVW_G0_NC:          howto manager.      (line 2738)
+* BFD_RELOC_AARCH64_MOVW_G0_S:           howto manager.      (line 2756)
+* BFD_RELOC_AARCH64_MOVW_G1:             howto manager.      (line 2741)
+* BFD_RELOC_AARCH64_MOVW_G1_NC:          howto manager.      (line 2744)
+* BFD_RELOC_AARCH64_MOVW_G1_S:           howto manager.      (line 2760)
+* BFD_RELOC_AARCH64_MOVW_G2:             howto manager.      (line 2747)
+* BFD_RELOC_AARCH64_MOVW_G2_NC:          howto manager.      (line 2750)
+* BFD_RELOC_AARCH64_MOVW_G2_S:           howto manager.      (line 2764)
+* BFD_RELOC_AARCH64_MOVW_G3:             howto manager.      (line 2753)
+* BFD_RELOC_AARCH64_MOVW_GOTOFF_G0_NC:   howto manager.      (line 2863)
+* BFD_RELOC_AARCH64_MOVW_GOTOFF_G1:      howto manager.      (line 2866)
+* BFD_RELOC_AARCH64_MOVW_PREL_G0:        howto manager.      (line 2768)
+* BFD_RELOC_AARCH64_MOVW_PREL_G0_NC:     howto manager.      (line 2772)
+* BFD_RELOC_AARCH64_MOVW_PREL_G1:        howto manager.      (line 2776)
+* BFD_RELOC_AARCH64_MOVW_PREL_G1_NC:     howto manager.      (line 2779)
+* BFD_RELOC_AARCH64_MOVW_PREL_G2:        howto manager.      (line 2782)
+* BFD_RELOC_AARCH64_MOVW_PREL_G2_NC:     howto manager.      (line 2785)
+* BFD_RELOC_AARCH64_MOVW_PREL_G3:        howto manager.      (line 2788)
+* BFD_RELOC_AARCH64_NONE:                howto manager.      (line 2722)
+* BFD_RELOC_AARCH64_NULL:                howto manager.      (line 2720)
+* BFD_RELOC_AARCH64_RELATIVE:            howto manager.      (line 3024)
+* BFD_RELOC_AARCH64_RELOC_END:           howto manager.      (line 3036)
+* BFD_RELOC_AARCH64_RELOC_START:         howto manager.      (line 2715)
+* BFD_RELOC_AARCH64_TLSDESC:             howto manager.      (line 3032)
+* BFD_RELOC_AARCH64_TLSDESC_ADD:         howto manager.      (line 3014)
+* BFD_RELOC_AARCH64_TLSDESC_ADD_LO12:    howto manager.      (line 3006)
+* BFD_RELOC_AARCH64_TLSDESC_ADR_PAGE21:  howto manager.      (line 3000)
+* BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21:  howto manager.      (line 2998)
+* BFD_RELOC_AARCH64_TLSDESC_CALL:        howto manager.      (line 3016)
+* BFD_RELOC_AARCH64_TLSDESC_LD32_LO12_NC: howto manager.     (line 3004)
+* BFD_RELOC_AARCH64_TLSDESC_LD64_LO12:   howto manager.      (line 3002)
+* BFD_RELOC_AARCH64_TLSDESC_LDR:         howto manager.      (line 3012)
+* BFD_RELOC_AARCH64_TLSDESC_LD_LO12_NC:  howto manager.      (line 3069)
+* BFD_RELOC_AARCH64_TLSDESC_LD_PREL19:   howto manager.      (line 2996)
+* BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC:   howto manager.      (line 3010)
+* BFD_RELOC_AARCH64_TLSDESC_OFF_G1:      howto manager.      (line 3008)
+* BFD_RELOC_AARCH64_TLSGD_ADD_LO12_NC:   howto manager.      (line 2885)
+* BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21:    howto manager.      (line 2878)
+* BFD_RELOC_AARCH64_TLSGD_ADR_PREL21:    howto manager.      (line 2883)
+* BFD_RELOC_AARCH64_TLSGD_MOVW_G0_NC:    howto manager.      (line 2889)
+* BFD_RELOC_AARCH64_TLSGD_MOVW_G1:       howto manager.      (line 2891)
 * BFD_RELOC_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21: howto manager.
-                                                             (line 2891)
+                                                             (line 2893)
 * BFD_RELOC_AARCH64_TLSIE_LD32_GOTTPREL_LO12_NC: howto manager.
-                                                             (line 2895)
+                                                             (line 2897)
 * BFD_RELOC_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC: howto manager.
-                                                             (line 2893)
+                                                             (line 2895)
 * BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_LO12_NC: howto manager.
-                                                             (line 3064)
-* BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19: howto manager. (line 2897)
+                                                             (line 3066)
+* BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19: howto manager. (line 2899)
 * BFD_RELOC_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC: howto manager.
-                                                             (line 2899)
-* BFD_RELOC_AARCH64_TLSIE_MOVW_GOTTPREL_G1: howto manager.   (line 2901)
-* BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_HI12: howto manager.    (line 2903)
-* BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12: howto manager.    (line 2905)
-* BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12_NC: howto manager. (line 2907)
-* BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC:   howto manager.      (line 2910)
-* BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21:    howto manager.      (line 2914)
-* BFD_RELOC_AARCH64_TLSLD_ADR_PREL21:    howto manager.      (line 2917)
-* BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12: howto manager. (line 2920)
+                                                             (line 2901)
+* BFD_RELOC_AARCH64_TLSIE_MOVW_GOTTPREL_G1: howto manager.   (line 2903)
+* BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_HI12: howto manager.    (line 2905)
+* BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12: howto manager.    (line 2907)
+* BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12_NC: howto manager. (line 2909)
+* BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC:   howto manager.      (line 2912)
+* BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21:    howto manager.      (line 2916)
+* BFD_RELOC_AARCH64_TLSLD_ADR_PREL21:    howto manager.      (line 2919)
+* BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12: howto manager. (line 2922)
 * BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC: howto manager.
-                                                             (line 2923)
-* BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12: howto manager. (line 2926)
+                                                             (line 2925)
+* BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12: howto manager. (line 2928)
 * BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC: howto manager.
-                                                             (line 2929)
-* BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12: howto manager. (line 2932)
+                                                             (line 2931)
+* BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12: howto manager. (line 2934)
 * BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC: howto manager.
-                                                             (line 2935)
-* BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12: howto manager.  (line 2938)
+                                                             (line 2937)
+* BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12: howto manager.  (line 2940)
 * BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC: howto manager.
-                                                             (line 2941)
-* BFD_RELOC_AARCH64_TLSLD_LDST_DTPREL_LO12: howto manager.   (line 3047)
+                                                             (line 2943)
+* BFD_RELOC_AARCH64_TLSLD_LDST_DTPREL_LO12: howto manager.   (line 3049)
 * BFD_RELOC_AARCH64_TLSLD_LDST_DTPREL_LO12_NC: howto manager.
-                                                             (line 3051)
-* BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G0: howto manager.     (line 2944)
-* BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G0_NC: howto manager.  (line 2946)
-* BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G1: howto manager.     (line 2948)
-* BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G1_NC: howto manager.  (line 2950)
-* BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G2: howto manager.     (line 2952)
-* BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_HI12: howto manager.     (line 2964)
-* BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_LO12: howto manager.     (line 2966)
-* BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_LO12_NC: howto manager.  (line 2968)
-* BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12: howto manager.  (line 2970)
+                                                             (line 3053)
+* BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G0: howto manager.     (line 2946)
+* BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G0_NC: howto manager.  (line 2948)
+* BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G1: howto manager.     (line 2950)
+* BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G1_NC: howto manager.  (line 2952)
+* BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G2: howto manager.     (line 2954)
+* BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_HI12: howto manager.     (line 2966)
+* BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_LO12: howto manager.     (line 2968)
+* BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_LO12_NC: howto manager.  (line 2970)
+* BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12: howto manager.  (line 2972)
 * BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12_NC: howto manager.
-                                                             (line 2973)
-* BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12: howto manager.  (line 2976)
+                                                             (line 2975)
+* BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12: howto manager.  (line 2978)
 * BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12_NC: howto manager.
-                                                             (line 2979)
-* BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12: howto manager.  (line 2982)
+                                                             (line 2981)
+* BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12: howto manager.  (line 2984)
 * BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12_NC: howto manager.
-                                                             (line 2985)
-* BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12: howto manager.   (line 2988)
+                                                             (line 2987)
+* BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12: howto manager.   (line 2990)
 * BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12_NC: howto manager.
-                                                             (line 2991)
-* BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12: howto manager.    (line 3054)
-* BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12_NC: howto manager. (line 3058)
-* BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G0: howto manager.      (line 2960)
-* BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G0_NC: howto manager.   (line 2962)
-* BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G1: howto manager.      (line 2956)
-* BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G1_NC: howto manager.   (line 2958)
-* BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G2: howto manager.      (line 2954)
-* BFD_RELOC_AARCH64_TLS_DTPMOD:          howto manager.      (line 3024)
-* BFD_RELOC_AARCH64_TLS_DTPREL:          howto manager.      (line 3026)
-* BFD_RELOC_AARCH64_TLS_TPREL:           howto manager.      (line 3028)
-* BFD_RELOC_AARCH64_TSTBR14:             howto manager.      (line 2811)
+                                                             (line 2993)
+* BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12: howto manager.    (line 3056)
+* BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12_NC: howto manager. (line 3060)
+* BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G0: howto manager.      (line 2962)
+* BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G0_NC: howto manager.   (line 2964)
+* BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G1: howto manager.      (line 2958)
+* BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G1_NC: howto manager.   (line 2960)
+* BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G2: howto manager.      (line 2956)
+* BFD_RELOC_AARCH64_TLS_DTPMOD:          howto manager.      (line 3026)
+* BFD_RELOC_AARCH64_TLS_DTPREL:          howto manager.      (line 3028)
+* BFD_RELOC_AARCH64_TLS_TPREL:           howto manager.      (line 3030)
+* BFD_RELOC_AARCH64_TSTBR14:             howto manager.      (line 2813)
 * BFD_RELOC_AC_SECTOFF_S9:               howto manager.      (line 1018)
 * BFD_RELOC_AC_SECTOFF_S9_1:             howto manager.      (line 1019)
 * BFD_RELOC_AC_SECTOFF_S9_2:             howto manager.      (line 1020)
@@ -12475,13 +12477,13 @@ BFD Index
 * BFD_RELOC_DLX_HI16_S:                  howto manager.      (line 1180)
 * BFD_RELOC_DLX_JMP26:                   howto manager.      (line 1184)
 * BFD_RELOC_DLX_LO16:                    howto manager.      (line 1182)
-* BFD_RELOC_EPIPHANY_HIGH:               howto manager.      (line 3264)
-* BFD_RELOC_EPIPHANY_IMM11:              howto manager.      (line 3270)
-* BFD_RELOC_EPIPHANY_IMM8:               howto manager.      (line 3273)
-* BFD_RELOC_EPIPHANY_LOW:                howto manager.      (line 3266)
-* BFD_RELOC_EPIPHANY_SIMM11:             howto manager.      (line 3268)
-* BFD_RELOC_EPIPHANY_SIMM24:             howto manager.      (line 3262)
-* BFD_RELOC_EPIPHANY_SIMM8:              howto manager.      (line 3260)
+* BFD_RELOC_EPIPHANY_HIGH:               howto manager.      (line 3266)
+* BFD_RELOC_EPIPHANY_IMM11:              howto manager.      (line 3272)
+* BFD_RELOC_EPIPHANY_IMM8:               howto manager.      (line 3275)
+* BFD_RELOC_EPIPHANY_LOW:                howto manager.      (line 3268)
+* BFD_RELOC_EPIPHANY_SIMM11:             howto manager.      (line 3270)
+* BFD_RELOC_EPIPHANY_SIMM24:             howto manager.      (line 3264)
+* BFD_RELOC_EPIPHANY_SIMM8:              howto manager.      (line 3262)
 * BFD_RELOC_FR30_10_IN_8:                howto manager.      (line 1554)
 * BFD_RELOC_FR30_12_PCREL:               howto manager.      (line 1560)
 * BFD_RELOC_FR30_20:                     howto manager.      (line 1542)
@@ -12711,10 +12713,10 @@ BFD Index
 * BFD_RELOC_M68HC12_9_PCREL:             howto manager.      (line 2189)
 * BFD_RELOC_M68HC12_HI8XG:               howto manager.      (line 2196)
 * BFD_RELOC_M68HC12_LO8XG:               howto manager.      (line 2193)
-* BFD_RELOC_MACH_O_ARM64_ADDEND:         howto manager.      (line 2634)
-* BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGE21: howto manager.     (line 2636)
-* BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGEOFF12: howto manager.  (line 2638)
-* BFD_RELOC_MACH_O_ARM64_POINTER_TO_GOT: howto manager.      (line 2640)
+* BFD_RELOC_MACH_O_ARM64_ADDEND:         howto manager.      (line 2636)
+* BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGE21: howto manager.     (line 2638)
+* BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGEOFF12: howto manager.  (line 2640)
+* BFD_RELOC_MACH_O_ARM64_POINTER_TO_GOT: howto manager.      (line 2642)
 * BFD_RELOC_MACH_O_LOCAL_SECTDIFF:       howto manager.      (line 2611)
 * BFD_RELOC_MACH_O_PAIR:                 howto manager.      (line 2613)
 * BFD_RELOC_MACH_O_SECTDIFF:             howto manager.      (line 2608)
@@ -12727,6 +12729,7 @@ BFD Index
 * BFD_RELOC_MACH_O_X86_64_PCREL32_1:     howto manager.      (line 2628)
 * BFD_RELOC_MACH_O_X86_64_PCREL32_2:     howto manager.      (line 2630)
 * BFD_RELOC_MACH_O_X86_64_PCREL32_4:     howto manager.      (line 2632)
+* BFD_RELOC_MACH_O_X86_64_TLV:           howto manager.      (line 2634)
 * BFD_RELOC_MCORE_PCREL_32:              howto manager.      (line 1566)
 * BFD_RELOC_MCORE_PCREL_IMM11BY2:        howto manager.      (line 1564)
 * BFD_RELOC_MCORE_PCREL_IMM4BY2:         howto manager.      (line 1565)
@@ -12791,28 +12794,28 @@ BFD Index
 * BFD_RELOC_METAG_TLS_LE_HI16:           howto manager.      (line 1627)
 * BFD_RELOC_METAG_TLS_LE_LO16:           howto manager.      (line 1628)
 * BFD_RELOC_METAG_TLS_TPOFF:             howto manager.      (line 1623)
-* BFD_RELOC_MICROBLAZE_32_GOTOFF:        howto manager.      (line 2676)
-* BFD_RELOC_MICROBLAZE_32_LO:            howto manager.      (line 2642)
-* BFD_RELOC_MICROBLAZE_32_LO_PCREL:      howto manager.      (line 2645)
-* BFD_RELOC_MICROBLAZE_32_ROSDA:         howto manager.      (line 2648)
-* BFD_RELOC_MICROBLAZE_32_RWSDA:         howto manager.      (line 2651)
-* BFD_RELOC_MICROBLAZE_32_SYM_OP_SYM:    howto manager.      (line 2654)
-* BFD_RELOC_MICROBLAZE_32_TLSDTPMOD:     howto manager.      (line 2692)
-* BFD_RELOC_MICROBLAZE_32_TLSDTPREL:     howto manager.      (line 2694)
-* BFD_RELOC_MICROBLAZE_64_GOT:           howto manager.      (line 2665)
-* BFD_RELOC_MICROBLAZE_64_GOTOFF:        howto manager.      (line 2672)
-* BFD_RELOC_MICROBLAZE_64_GOTPC:         howto manager.      (line 2661)
-* BFD_RELOC_MICROBLAZE_64_NONE:          howto manager.      (line 2657)
-* BFD_RELOC_MICROBLAZE_64_PLT:           howto manager.      (line 2668)
-* BFD_RELOC_MICROBLAZE_64_TEXTPCREL:     howto manager.      (line 2705)
-* BFD_RELOC_MICROBLAZE_64_TEXTREL:       howto manager.      (line 2709)
-* BFD_RELOC_MICROBLAZE_64_TLS:           howto manager.      (line 2682)
-* BFD_RELOC_MICROBLAZE_64_TLSDTPREL:     howto manager.      (line 2696)
-* BFD_RELOC_MICROBLAZE_64_TLSGD:         howto manager.      (line 2684)
-* BFD_RELOC_MICROBLAZE_64_TLSGOTTPREL:   howto manager.      (line 2699)
-* BFD_RELOC_MICROBLAZE_64_TLSLD:         howto manager.      (line 2688)
-* BFD_RELOC_MICROBLAZE_64_TLSTPREL:      howto manager.      (line 2702)
-* BFD_RELOC_MICROBLAZE_COPY:             howto manager.      (line 2679)
+* BFD_RELOC_MICROBLAZE_32_GOTOFF:        howto manager.      (line 2678)
+* BFD_RELOC_MICROBLAZE_32_LO:            howto manager.      (line 2644)
+* BFD_RELOC_MICROBLAZE_32_LO_PCREL:      howto manager.      (line 2647)
+* BFD_RELOC_MICROBLAZE_32_ROSDA:         howto manager.      (line 2650)
+* BFD_RELOC_MICROBLAZE_32_RWSDA:         howto manager.      (line 2653)
+* BFD_RELOC_MICROBLAZE_32_SYM_OP_SYM:    howto manager.      (line 2656)
+* BFD_RELOC_MICROBLAZE_32_TLSDTPMOD:     howto manager.      (line 2694)
+* BFD_RELOC_MICROBLAZE_32_TLSDTPREL:     howto manager.      (line 2696)
+* BFD_RELOC_MICROBLAZE_64_GOT:           howto manager.      (line 2667)
+* BFD_RELOC_MICROBLAZE_64_GOTOFF:        howto manager.      (line 2674)
+* BFD_RELOC_MICROBLAZE_64_GOTPC:         howto manager.      (line 2663)
+* BFD_RELOC_MICROBLAZE_64_NONE:          howto manager.      (line 2659)
+* BFD_RELOC_MICROBLAZE_64_PLT:           howto manager.      (line 2670)
+* BFD_RELOC_MICROBLAZE_64_TEXTPCREL:     howto manager.      (line 2707)
+* BFD_RELOC_MICROBLAZE_64_TEXTREL:       howto manager.      (line 2711)
+* BFD_RELOC_MICROBLAZE_64_TLS:           howto manager.      (line 2684)
+* BFD_RELOC_MICROBLAZE_64_TLSDTPREL:     howto manager.      (line 2698)
+* BFD_RELOC_MICROBLAZE_64_TLSGD:         howto manager.      (line 2686)
+* BFD_RELOC_MICROBLAZE_64_TLSGOTTPREL:   howto manager.      (line 2701)
+* BFD_RELOC_MICROBLAZE_64_TLSLD:         howto manager.      (line 2690)
+* BFD_RELOC_MICROBLAZE_64_TLSTPREL:      howto manager.      (line 2704)
+* BFD_RELOC_MICROBLAZE_COPY:             howto manager.      (line 2681)
 * BFD_RELOC_MICROMIPS_10_PCREL_S1:       howto manager.      (line  352)
 * BFD_RELOC_MICROMIPS_16_PCREL_S1:       howto manager.      (line  353)
 * BFD_RELOC_MICROMIPS_7_PCREL_S1:        howto manager.      (line  351)
@@ -13652,201 +13655,201 @@ BFD Index
 * BFD_RELOC_TIC54X_MS7_OF_23:            howto manager.      (line 1506)
 * BFD_RELOC_TIC54X_PARTLS7:              howto manager.      (line 1492)
 * BFD_RELOC_TIC54X_PARTMS9:              howto manager.      (line 1496)
-* BFD_RELOC_TILEGX_BROFF_X1:             howto manager.      (line 3161)
-* BFD_RELOC_TILEGX_COPY:                 howto manager.      (line 3157)
-* BFD_RELOC_TILEGX_DEST_IMM8_X1:         howto manager.      (line 3168)
-* BFD_RELOC_TILEGX_GLOB_DAT:             howto manager.      (line 3158)
-* BFD_RELOC_TILEGX_HW0:                  howto manager.      (line 3150)
-* BFD_RELOC_TILEGX_HW0_LAST:             howto manager.      (line 3154)
-* BFD_RELOC_TILEGX_HW1:                  howto manager.      (line 3151)
-* BFD_RELOC_TILEGX_HW1_LAST:             howto manager.      (line 3155)
-* BFD_RELOC_TILEGX_HW2:                  howto manager.      (line 3152)
-* BFD_RELOC_TILEGX_HW2_LAST:             howto manager.      (line 3156)
-* BFD_RELOC_TILEGX_HW3:                  howto manager.      (line 3153)
-* BFD_RELOC_TILEGX_IMM16_X0_HW0:         howto manager.      (line 3177)
-* BFD_RELOC_TILEGX_IMM16_X0_HW0_GOT:     howto manager.      (line 3205)
-* BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST:    howto manager.      (line 3185)
-* BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_GOT: howto manager.     (line 3213)
-* BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_PCREL: howto manager.   (line 3199)
+* BFD_RELOC_TILEGX_BROFF_X1:             howto manager.      (line 3163)
+* BFD_RELOC_TILEGX_COPY:                 howto manager.      (line 3159)
+* BFD_RELOC_TILEGX_DEST_IMM8_X1:         howto manager.      (line 3170)
+* BFD_RELOC_TILEGX_GLOB_DAT:             howto manager.      (line 3160)
+* BFD_RELOC_TILEGX_HW0:                  howto manager.      (line 3152)
+* BFD_RELOC_TILEGX_HW0_LAST:             howto manager.      (line 3156)
+* BFD_RELOC_TILEGX_HW1:                  howto manager.      (line 3153)
+* BFD_RELOC_TILEGX_HW1_LAST:             howto manager.      (line 3157)
+* BFD_RELOC_TILEGX_HW2:                  howto manager.      (line 3154)
+* BFD_RELOC_TILEGX_HW2_LAST:             howto manager.      (line 3158)
+* BFD_RELOC_TILEGX_HW3:                  howto manager.      (line 3155)
+* BFD_RELOC_TILEGX_IMM16_X0_HW0:         howto manager.      (line 3179)
+* BFD_RELOC_TILEGX_IMM16_X0_HW0_GOT:     howto manager.      (line 3207)
+* BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST:    howto manager.      (line 3187)
+* BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_GOT: howto manager.     (line 3215)
+* BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_PCREL: howto manager.   (line 3201)
 * BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_PLT_PCREL: howto manager.
-                                                             (line 3233)
-* BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_TLS_GD: howto manager.  (line 3227)
-* BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_TLS_IE: howto manager.  (line 3239)
-* BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_TLS_LE: howto manager.  (line 3223)
-* BFD_RELOC_TILEGX_IMM16_X0_HW0_PCREL:   howto manager.      (line 3191)
-* BFD_RELOC_TILEGX_IMM16_X0_HW0_PLT_PCREL: howto manager.    (line 3207)
-* BFD_RELOC_TILEGX_IMM16_X0_HW0_TLS_GD:  howto manager.      (line 3219)
-* BFD_RELOC_TILEGX_IMM16_X0_HW0_TLS_IE:  howto manager.      (line 3231)
-* BFD_RELOC_TILEGX_IMM16_X0_HW0_TLS_LE:  howto manager.      (line 3221)
-* BFD_RELOC_TILEGX_IMM16_X0_HW1:         howto manager.      (line 3179)
-* BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST:    howto manager.      (line 3187)
-* BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_GOT: howto manager.     (line 3215)
-* BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_PCREL: howto manager.   (line 3201)
-* BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_PLT_PCREL: howto manager.
                                                              (line 3235)
-* BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_TLS_GD: howto manager.  (line 3229)
-* BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_TLS_IE: howto manager.  (line 3241)
-* BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_TLS_LE: howto manager.  (line 3225)
-* BFD_RELOC_TILEGX_IMM16_X0_HW1_PCREL:   howto manager.      (line 3193)
-* BFD_RELOC_TILEGX_IMM16_X0_HW1_PLT_PCREL: howto manager.    (line 3209)
-* BFD_RELOC_TILEGX_IMM16_X0_HW2:         howto manager.      (line 3181)
-* BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST:    howto manager.      (line 3189)
-* BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_PCREL: howto manager.   (line 3203)
-* BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_PLT_PCREL: howto manager.
+* BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_TLS_GD: howto manager.  (line 3229)
+* BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_TLS_IE: howto manager.  (line 3241)
+* BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_TLS_LE: howto manager.  (line 3225)
+* BFD_RELOC_TILEGX_IMM16_X0_HW0_PCREL:   howto manager.      (line 3193)
+* BFD_RELOC_TILEGX_IMM16_X0_HW0_PLT_PCREL: howto manager.    (line 3209)
+* BFD_RELOC_TILEGX_IMM16_X0_HW0_TLS_GD:  howto manager.      (line 3221)
+* BFD_RELOC_TILEGX_IMM16_X0_HW0_TLS_IE:  howto manager.      (line 3233)
+* BFD_RELOC_TILEGX_IMM16_X0_HW0_TLS_LE:  howto manager.      (line 3223)
+* BFD_RELOC_TILEGX_IMM16_X0_HW1:         howto manager.      (line 3181)
+* BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST:    howto manager.      (line 3189)
+* BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_GOT: howto manager.     (line 3217)
+* BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_PCREL: howto manager.   (line 3203)
+* BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_PLT_PCREL: howto manager.
                                                              (line 3237)
-* BFD_RELOC_TILEGX_IMM16_X0_HW2_PCREL:   howto manager.      (line 3195)
-* BFD_RELOC_TILEGX_IMM16_X0_HW2_PLT_PCREL: howto manager.    (line 3211)
-* BFD_RELOC_TILEGX_IMM16_X0_HW3:         howto manager.      (line 3183)
-* BFD_RELOC_TILEGX_IMM16_X0_HW3_PCREL:   howto manager.      (line 3197)
-* BFD_RELOC_TILEGX_IMM16_X0_HW3_PLT_PCREL: howto manager.    (line 3217)
-* BFD_RELOC_TILEGX_IMM16_X1_HW0:         howto manager.      (line 3178)
-* BFD_RELOC_TILEGX_IMM16_X1_HW0_GOT:     howto manager.      (line 3206)
-* BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST:    howto manager.      (line 3186)
-* BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_GOT: howto manager.     (line 3214)
-* BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_PCREL: howto manager.   (line 3200)
+* BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_TLS_GD: howto manager.  (line 3231)
+* BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_TLS_IE: howto manager.  (line 3243)
+* BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_TLS_LE: howto manager.  (line 3227)
+* BFD_RELOC_TILEGX_IMM16_X0_HW1_PCREL:   howto manager.      (line 3195)
+* BFD_RELOC_TILEGX_IMM16_X0_HW1_PLT_PCREL: howto manager.    (line 3211)
+* BFD_RELOC_TILEGX_IMM16_X0_HW2:         howto manager.      (line 3183)
+* BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST:    howto manager.      (line 3191)
+* BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_PCREL: howto manager.   (line 3205)
+* BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_PLT_PCREL: howto manager.
+                                                             (line 3239)
+* BFD_RELOC_TILEGX_IMM16_X0_HW2_PCREL:   howto manager.      (line 3197)
+* BFD_RELOC_TILEGX_IMM16_X0_HW2_PLT_PCREL: howto manager.    (line 3213)
+* BFD_RELOC_TILEGX_IMM16_X0_HW3:         howto manager.      (line 3185)
+* BFD_RELOC_TILEGX_IMM16_X0_HW3_PCREL:   howto manager.      (line 3199)
+* BFD_RELOC_TILEGX_IMM16_X0_HW3_PLT_PCREL: howto manager.    (line 3219)
+* BFD_RELOC_TILEGX_IMM16_X1_HW0:         howto manager.      (line 3180)
+* BFD_RELOC_TILEGX_IMM16_X1_HW0_GOT:     howto manager.      (line 3208)
+* BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST:    howto manager.      (line 3188)
+* BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_GOT: howto manager.     (line 3216)
+* BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_PCREL: howto manager.   (line 3202)
 * BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_PLT_PCREL: howto manager.
-                                                             (line 3234)
-* BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_TLS_GD: howto manager.  (line 3228)
-* BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_TLS_IE: howto manager.  (line 3240)
-* BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_TLS_LE: howto manager.  (line 3224)
-* BFD_RELOC_TILEGX_IMM16_X1_HW0_PCREL:   howto manager.      (line 3192)
-* BFD_RELOC_TILEGX_IMM16_X1_HW0_PLT_PCREL: howto manager.    (line 3208)
-* BFD_RELOC_TILEGX_IMM16_X1_HW0_TLS_GD:  howto manager.      (line 3220)
-* BFD_RELOC_TILEGX_IMM16_X1_HW0_TLS_IE:  howto manager.      (line 3232)
-* BFD_RELOC_TILEGX_IMM16_X1_HW0_TLS_LE:  howto manager.      (line 3222)
-* BFD_RELOC_TILEGX_IMM16_X1_HW1:         howto manager.      (line 3180)
-* BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST:    howto manager.      (line 3188)
-* BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_GOT: howto manager.     (line 3216)
-* BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_PCREL: howto manager.   (line 3202)
-* BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_PLT_PCREL: howto manager.
                                                              (line 3236)
-* BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_TLS_GD: howto manager.  (line 3230)
-* BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_TLS_IE: howto manager.  (line 3242)
-* BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_TLS_LE: howto manager.  (line 3226)
-* BFD_RELOC_TILEGX_IMM16_X1_HW1_PCREL:   howto manager.      (line 3194)
-* BFD_RELOC_TILEGX_IMM16_X1_HW1_PLT_PCREL: howto manager.    (line 3210)
-* BFD_RELOC_TILEGX_IMM16_X1_HW2:         howto manager.      (line 3182)
-* BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST:    howto manager.      (line 3190)
-* BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_PCREL: howto manager.   (line 3204)
-* BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_PLT_PCREL: howto manager.
+* BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_TLS_GD: howto manager.  (line 3230)
+* BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_TLS_IE: howto manager.  (line 3242)
+* BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_TLS_LE: howto manager.  (line 3226)
+* BFD_RELOC_TILEGX_IMM16_X1_HW0_PCREL:   howto manager.      (line 3194)
+* BFD_RELOC_TILEGX_IMM16_X1_HW0_PLT_PCREL: howto manager.    (line 3210)
+* BFD_RELOC_TILEGX_IMM16_X1_HW0_TLS_GD:  howto manager.      (line 3222)
+* BFD_RELOC_TILEGX_IMM16_X1_HW0_TLS_IE:  howto manager.      (line 3234)
+* BFD_RELOC_TILEGX_IMM16_X1_HW0_TLS_LE:  howto manager.      (line 3224)
+* BFD_RELOC_TILEGX_IMM16_X1_HW1:         howto manager.      (line 3182)
+* BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST:    howto manager.      (line 3190)
+* BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_GOT: howto manager.     (line 3218)
+* BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_PCREL: howto manager.   (line 3204)
+* BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_PLT_PCREL: howto manager.
                                                              (line 3238)
-* BFD_RELOC_TILEGX_IMM16_X1_HW2_PCREL:   howto manager.      (line 3196)
-* BFD_RELOC_TILEGX_IMM16_X1_HW2_PLT_PCREL: howto manager.    (line 3212)
-* BFD_RELOC_TILEGX_IMM16_X1_HW3:         howto manager.      (line 3184)
-* BFD_RELOC_TILEGX_IMM16_X1_HW3_PCREL:   howto manager.      (line 3198)
-* BFD_RELOC_TILEGX_IMM16_X1_HW3_PLT_PCREL: howto manager.    (line 3218)
-* BFD_RELOC_TILEGX_IMM8_X0:              howto manager.      (line 3164)
-* BFD_RELOC_TILEGX_IMM8_X0_TLS_ADD:      howto manager.      (line 3255)
-* BFD_RELOC_TILEGX_IMM8_X0_TLS_GD_ADD:   howto manager.      (line 3250)
-* BFD_RELOC_TILEGX_IMM8_X1:              howto manager.      (line 3166)
-* BFD_RELOC_TILEGX_IMM8_X1_TLS_ADD:      howto manager.      (line 3256)
-* BFD_RELOC_TILEGX_IMM8_X1_TLS_GD_ADD:   howto manager.      (line 3251)
-* BFD_RELOC_TILEGX_IMM8_Y0:              howto manager.      (line 3165)
-* BFD_RELOC_TILEGX_IMM8_Y0_TLS_ADD:      howto manager.      (line 3257)
-* BFD_RELOC_TILEGX_IMM8_Y0_TLS_GD_ADD:   howto manager.      (line 3252)
-* BFD_RELOC_TILEGX_IMM8_Y1:              howto manager.      (line 3167)
-* BFD_RELOC_TILEGX_IMM8_Y1_TLS_ADD:      howto manager.      (line 3258)
-* BFD_RELOC_TILEGX_IMM8_Y1_TLS_GD_ADD:   howto manager.      (line 3253)
-* BFD_RELOC_TILEGX_JMP_SLOT:             howto manager.      (line 3159)
-* BFD_RELOC_TILEGX_JUMPOFF_X1:           howto manager.      (line 3162)
-* BFD_RELOC_TILEGX_JUMPOFF_X1_PLT:       howto manager.      (line 3163)
-* BFD_RELOC_TILEGX_MF_IMM14_X1:          howto manager.      (line 3170)
-* BFD_RELOC_TILEGX_MMEND_X0:             howto manager.      (line 3172)
-* BFD_RELOC_TILEGX_MMSTART_X0:           howto manager.      (line 3171)
-* BFD_RELOC_TILEGX_MT_IMM14_X1:          howto manager.      (line 3169)
-* BFD_RELOC_TILEGX_RELATIVE:             howto manager.      (line 3160)
-* BFD_RELOC_TILEGX_SHAMT_X0:             howto manager.      (line 3173)
-* BFD_RELOC_TILEGX_SHAMT_X1:             howto manager.      (line 3174)
-* BFD_RELOC_TILEGX_SHAMT_Y0:             howto manager.      (line 3175)
-* BFD_RELOC_TILEGX_SHAMT_Y1:             howto manager.      (line 3176)
-* BFD_RELOC_TILEGX_TLS_DTPMOD32:         howto manager.      (line 3246)
-* BFD_RELOC_TILEGX_TLS_DTPMOD64:         howto manager.      (line 3243)
-* BFD_RELOC_TILEGX_TLS_DTPOFF32:         howto manager.      (line 3247)
-* BFD_RELOC_TILEGX_TLS_DTPOFF64:         howto manager.      (line 3244)
-* BFD_RELOC_TILEGX_TLS_GD_CALL:          howto manager.      (line 3249)
-* BFD_RELOC_TILEGX_TLS_IE_LOAD:          howto manager.      (line 3254)
-* BFD_RELOC_TILEGX_TLS_TPOFF32:          howto manager.      (line 3248)
-* BFD_RELOC_TILEGX_TLS_TPOFF64:          howto manager.      (line 3245)
-* BFD_RELOC_TILEPRO_BROFF_X1:            howto manager.      (line 3074)
-* BFD_RELOC_TILEPRO_COPY:                howto manager.      (line 3070)
-* BFD_RELOC_TILEPRO_DEST_IMM8_X1:        howto manager.      (line 3081)
-* BFD_RELOC_TILEPRO_GLOB_DAT:            howto manager.      (line 3071)
-* BFD_RELOC_TILEPRO_IMM16_X0:            howto manager.      (line 3084)
-* BFD_RELOC_TILEPRO_IMM16_X0_GOT:        howto manager.      (line 3100)
-* BFD_RELOC_TILEPRO_IMM16_X0_GOT_HA:     howto manager.      (line 3106)
-* BFD_RELOC_TILEPRO_IMM16_X0_GOT_HI:     howto manager.      (line 3104)
-* BFD_RELOC_TILEPRO_IMM16_X0_GOT_LO:     howto manager.      (line 3102)
-* BFD_RELOC_TILEPRO_IMM16_X0_HA:         howto manager.      (line 3090)
-* BFD_RELOC_TILEPRO_IMM16_X0_HA_PCREL:   howto manager.      (line 3098)
-* BFD_RELOC_TILEPRO_IMM16_X0_HI:         howto manager.      (line 3088)
-* BFD_RELOC_TILEPRO_IMM16_X0_HI_PCREL:   howto manager.      (line 3096)
-* BFD_RELOC_TILEPRO_IMM16_X0_LO:         howto manager.      (line 3086)
-* BFD_RELOC_TILEPRO_IMM16_X0_LO_PCREL:   howto manager.      (line 3094)
-* BFD_RELOC_TILEPRO_IMM16_X0_PCREL:      howto manager.      (line 3092)
-* BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD:     howto manager.      (line 3122)
-* BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD_HA:  howto manager.      (line 3128)
-* BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD_HI:  howto manager.      (line 3126)
-* BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD_LO:  howto manager.      (line 3124)
-* BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE:     howto manager.      (line 3130)
-* BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE_HA:  howto manager.      (line 3136)
-* BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE_HI:  howto manager.      (line 3134)
-* BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE_LO:  howto manager.      (line 3132)
-* BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE:     howto manager.      (line 3141)
-* BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_HA:  howto manager.      (line 3147)
-* BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_HI:  howto manager.      (line 3145)
-* BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_LO:  howto manager.      (line 3143)
-* BFD_RELOC_TILEPRO_IMM16_X1:            howto manager.      (line 3085)
-* BFD_RELOC_TILEPRO_IMM16_X1_GOT:        howto manager.      (line 3101)
-* BFD_RELOC_TILEPRO_IMM16_X1_GOT_HA:     howto manager.      (line 3107)
-* BFD_RELOC_TILEPRO_IMM16_X1_GOT_HI:     howto manager.      (line 3105)
-* BFD_RELOC_TILEPRO_IMM16_X1_GOT_LO:     howto manager.      (line 3103)
-* BFD_RELOC_TILEPRO_IMM16_X1_HA:         howto manager.      (line 3091)
-* BFD_RELOC_TILEPRO_IMM16_X1_HA_PCREL:   howto manager.      (line 3099)
-* BFD_RELOC_TILEPRO_IMM16_X1_HI:         howto manager.      (line 3089)
-* BFD_RELOC_TILEPRO_IMM16_X1_HI_PCREL:   howto manager.      (line 3097)
-* BFD_RELOC_TILEPRO_IMM16_X1_LO:         howto manager.      (line 3087)
-* BFD_RELOC_TILEPRO_IMM16_X1_LO_PCREL:   howto manager.      (line 3095)
-* BFD_RELOC_TILEPRO_IMM16_X1_PCREL:      howto manager.      (line 3093)
-* BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD:     howto manager.      (line 3123)
-* BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD_HA:  howto manager.      (line 3129)
-* BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD_HI:  howto manager.      (line 3127)
-* BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD_LO:  howto manager.      (line 3125)
-* BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE:     howto manager.      (line 3131)
-* BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE_HA:  howto manager.      (line 3137)
-* BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE_HI:  howto manager.      (line 3135)
-* BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE_LO:  howto manager.      (line 3133)
-* BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE:     howto manager.      (line 3142)
-* BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_HA:  howto manager.      (line 3148)
-* BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_HI:  howto manager.      (line 3146)
-* BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_LO:  howto manager.      (line 3144)
-* BFD_RELOC_TILEPRO_IMM8_X0:             howto manager.      (line 3077)
-* BFD_RELOC_TILEPRO_IMM8_X0_TLS_GD_ADD:  howto manager.      (line 3117)
-* BFD_RELOC_TILEPRO_IMM8_X1:             howto manager.      (line 3079)
-* BFD_RELOC_TILEPRO_IMM8_X1_TLS_GD_ADD:  howto manager.      (line 3118)
-* BFD_RELOC_TILEPRO_IMM8_Y0:             howto manager.      (line 3078)
-* BFD_RELOC_TILEPRO_IMM8_Y0_TLS_GD_ADD:  howto manager.      (line 3119)
-* BFD_RELOC_TILEPRO_IMM8_Y1:             howto manager.      (line 3080)
-* BFD_RELOC_TILEPRO_IMM8_Y1_TLS_GD_ADD:  howto manager.      (line 3120)
-* BFD_RELOC_TILEPRO_JMP_SLOT:            howto manager.      (line 3072)
-* BFD_RELOC_TILEPRO_JOFFLONG_X1:         howto manager.      (line 3075)
-* BFD_RELOC_TILEPRO_JOFFLONG_X1_PLT:     howto manager.      (line 3076)
-* BFD_RELOC_TILEPRO_MF_IMM15_X1:         howto manager.      (line 3083)
-* BFD_RELOC_TILEPRO_MMEND_X0:            howto manager.      (line 3109)
-* BFD_RELOC_TILEPRO_MMEND_X1:            howto manager.      (line 3111)
-* BFD_RELOC_TILEPRO_MMSTART_X0:          howto manager.      (line 3108)
-* BFD_RELOC_TILEPRO_MMSTART_X1:          howto manager.      (line 3110)
-* BFD_RELOC_TILEPRO_MT_IMM15_X1:         howto manager.      (line 3082)
-* BFD_RELOC_TILEPRO_RELATIVE:            howto manager.      (line 3073)
-* BFD_RELOC_TILEPRO_SHAMT_X0:            howto manager.      (line 3112)
-* BFD_RELOC_TILEPRO_SHAMT_X1:            howto manager.      (line 3113)
-* BFD_RELOC_TILEPRO_SHAMT_Y0:            howto manager.      (line 3114)
-* BFD_RELOC_TILEPRO_SHAMT_Y1:            howto manager.      (line 3115)
-* BFD_RELOC_TILEPRO_TLS_DTPMOD32:        howto manager.      (line 3138)
-* BFD_RELOC_TILEPRO_TLS_DTPOFF32:        howto manager.      (line 3139)
-* BFD_RELOC_TILEPRO_TLS_GD_CALL:         howto manager.      (line 3116)
-* BFD_RELOC_TILEPRO_TLS_IE_LOAD:         howto manager.      (line 3121)
-* BFD_RELOC_TILEPRO_TLS_TPOFF32:         howto manager.      (line 3140)
-* bfd_reloc_type_lookup:                 howto manager.      (line 3296)
+* BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_TLS_GD: howto manager.  (line 3232)
+* BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_TLS_IE: howto manager.  (line 3244)
+* BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_TLS_LE: howto manager.  (line 3228)
+* BFD_RELOC_TILEGX_IMM16_X1_HW1_PCREL:   howto manager.      (line 3196)
+* BFD_RELOC_TILEGX_IMM16_X1_HW1_PLT_PCREL: howto manager.    (line 3212)
+* BFD_RELOC_TILEGX_IMM16_X1_HW2:         howto manager.      (line 3184)
+* BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST:    howto manager.      (line 3192)
+* BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_PCREL: howto manager.   (line 3206)
+* BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_PLT_PCREL: howto manager.
+                                                             (line 3240)
+* BFD_RELOC_TILEGX_IMM16_X1_HW2_PCREL:   howto manager.      (line 3198)
+* BFD_RELOC_TILEGX_IMM16_X1_HW2_PLT_PCREL: howto manager.    (line 3214)
+* BFD_RELOC_TILEGX_IMM16_X1_HW3:         howto manager.      (line 3186)
+* BFD_RELOC_TILEGX_IMM16_X1_HW3_PCREL:   howto manager.      (line 3200)
+* BFD_RELOC_TILEGX_IMM16_X1_HW3_PLT_PCREL: howto manager.    (line 3220)
+* BFD_RELOC_TILEGX_IMM8_X0:              howto manager.      (line 3166)
+* BFD_RELOC_TILEGX_IMM8_X0_TLS_ADD:      howto manager.      (line 3257)
+* BFD_RELOC_TILEGX_IMM8_X0_TLS_GD_ADD:   howto manager.      (line 3252)
+* BFD_RELOC_TILEGX_IMM8_X1:              howto manager.      (line 3168)
+* BFD_RELOC_TILEGX_IMM8_X1_TLS_ADD:      howto manager.      (line 3258)
+* BFD_RELOC_TILEGX_IMM8_X1_TLS_GD_ADD:   howto manager.      (line 3253)
+* BFD_RELOC_TILEGX_IMM8_Y0:              howto manager.      (line 3167)
+* BFD_RELOC_TILEGX_IMM8_Y0_TLS_ADD:      howto manager.      (line 3259)
+* BFD_RELOC_TILEGX_IMM8_Y0_TLS_GD_ADD:   howto manager.      (line 3254)
+* BFD_RELOC_TILEGX_IMM8_Y1:              howto manager.      (line 3169)
+* BFD_RELOC_TILEGX_IMM8_Y1_TLS_ADD:      howto manager.      (line 3260)
+* BFD_RELOC_TILEGX_IMM8_Y1_TLS_GD_ADD:   howto manager.      (line 3255)
+* BFD_RELOC_TILEGX_JMP_SLOT:             howto manager.      (line 3161)
+* BFD_RELOC_TILEGX_JUMPOFF_X1:           howto manager.      (line 3164)
+* BFD_RELOC_TILEGX_JUMPOFF_X1_PLT:       howto manager.      (line 3165)
+* BFD_RELOC_TILEGX_MF_IMM14_X1:          howto manager.      (line 3172)
+* BFD_RELOC_TILEGX_MMEND_X0:             howto manager.      (line 3174)
+* BFD_RELOC_TILEGX_MMSTART_X0:           howto manager.      (line 3173)
+* BFD_RELOC_TILEGX_MT_IMM14_X1:          howto manager.      (line 3171)
+* BFD_RELOC_TILEGX_RELATIVE:             howto manager.      (line 3162)
+* BFD_RELOC_TILEGX_SHAMT_X0:             howto manager.      (line 3175)
+* BFD_RELOC_TILEGX_SHAMT_X1:             howto manager.      (line 3176)
+* BFD_RELOC_TILEGX_SHAMT_Y0:             howto manager.      (line 3177)
+* BFD_RELOC_TILEGX_SHAMT_Y1:             howto manager.      (line 3178)
+* BFD_RELOC_TILEGX_TLS_DTPMOD32:         howto manager.      (line 3248)
+* BFD_RELOC_TILEGX_TLS_DTPMOD64:         howto manager.      (line 3245)
+* BFD_RELOC_TILEGX_TLS_DTPOFF32:         howto manager.      (line 3249)
+* BFD_RELOC_TILEGX_TLS_DTPOFF64:         howto manager.      (line 3246)
+* BFD_RELOC_TILEGX_TLS_GD_CALL:          howto manager.      (line 3251)
+* BFD_RELOC_TILEGX_TLS_IE_LOAD:          howto manager.      (line 3256)
+* BFD_RELOC_TILEGX_TLS_TPOFF32:          howto manager.      (line 3250)
+* BFD_RELOC_TILEGX_TLS_TPOFF64:          howto manager.      (line 3247)
+* BFD_RELOC_TILEPRO_BROFF_X1:            howto manager.      (line 3076)
+* BFD_RELOC_TILEPRO_COPY:                howto manager.      (line 3072)
+* BFD_RELOC_TILEPRO_DEST_IMM8_X1:        howto manager.      (line 3083)
+* BFD_RELOC_TILEPRO_GLOB_DAT:            howto manager.      (line 3073)
+* BFD_RELOC_TILEPRO_IMM16_X0:            howto manager.      (line 3086)
+* BFD_RELOC_TILEPRO_IMM16_X0_GOT:        howto manager.      (line 3102)
+* BFD_RELOC_TILEPRO_IMM16_X0_GOT_HA:     howto manager.      (line 3108)
+* BFD_RELOC_TILEPRO_IMM16_X0_GOT_HI:     howto manager.      (line 3106)
+* BFD_RELOC_TILEPRO_IMM16_X0_GOT_LO:     howto manager.      (line 3104)
+* BFD_RELOC_TILEPRO_IMM16_X0_HA:         howto manager.      (line 3092)
+* BFD_RELOC_TILEPRO_IMM16_X0_HA_PCREL:   howto manager.      (line 3100)
+* BFD_RELOC_TILEPRO_IMM16_X0_HI:         howto manager.      (line 3090)
+* BFD_RELOC_TILEPRO_IMM16_X0_HI_PCREL:   howto manager.      (line 3098)
+* BFD_RELOC_TILEPRO_IMM16_X0_LO:         howto manager.      (line 3088)
+* BFD_RELOC_TILEPRO_IMM16_X0_LO_PCREL:   howto manager.      (line 3096)
+* BFD_RELOC_TILEPRO_IMM16_X0_PCREL:      howto manager.      (line 3094)
+* BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD:     howto manager.      (line 3124)
+* BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD_HA:  howto manager.      (line 3130)
+* BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD_HI:  howto manager.      (line 3128)
+* BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD_LO:  howto manager.      (line 3126)
+* BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE:     howto manager.      (line 3132)
+* BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE_HA:  howto manager.      (line 3138)
+* BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE_HI:  howto manager.      (line 3136)
+* BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE_LO:  howto manager.      (line 3134)
+* BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE:     howto manager.      (line 3143)
+* BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_HA:  howto manager.      (line 3149)
+* BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_HI:  howto manager.      (line 3147)
+* BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_LO:  howto manager.      (line 3145)
+* BFD_RELOC_TILEPRO_IMM16_X1:            howto manager.      (line 3087)
+* BFD_RELOC_TILEPRO_IMM16_X1_GOT:        howto manager.      (line 3103)
+* BFD_RELOC_TILEPRO_IMM16_X1_GOT_HA:     howto manager.      (line 3109)
+* BFD_RELOC_TILEPRO_IMM16_X1_GOT_HI:     howto manager.      (line 3107)
+* BFD_RELOC_TILEPRO_IMM16_X1_GOT_LO:     howto manager.      (line 3105)
+* BFD_RELOC_TILEPRO_IMM16_X1_HA:         howto manager.      (line 3093)
+* BFD_RELOC_TILEPRO_IMM16_X1_HA_PCREL:   howto manager.      (line 3101)
+* BFD_RELOC_TILEPRO_IMM16_X1_HI:         howto manager.      (line 3091)
+* BFD_RELOC_TILEPRO_IMM16_X1_HI_PCREL:   howto manager.      (line 3099)
+* BFD_RELOC_TILEPRO_IMM16_X1_LO:         howto manager.      (line 3089)
+* BFD_RELOC_TILEPRO_IMM16_X1_LO_PCREL:   howto manager.      (line 3097)
+* BFD_RELOC_TILEPRO_IMM16_X1_PCREL:      howto manager.      (line 3095)
+* BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD:     howto manager.      (line 3125)
+* BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD_HA:  howto manager.      (line 3131)
+* BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD_HI:  howto manager.      (line 3129)
+* BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD_LO:  howto manager.      (line 3127)
+* BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE:     howto manager.      (line 3133)
+* BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE_HA:  howto manager.      (line 3139)
+* BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE_HI:  howto manager.      (line 3137)
+* BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE_LO:  howto manager.      (line 3135)
+* BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE:     howto manager.      (line 3144)
+* BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_HA:  howto manager.      (line 3150)
+* BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_HI:  howto manager.      (line 3148)
+* BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_LO:  howto manager.      (line 3146)
+* BFD_RELOC_TILEPRO_IMM8_X0:             howto manager.      (line 3079)
+* BFD_RELOC_TILEPRO_IMM8_X0_TLS_GD_ADD:  howto manager.      (line 3119)
+* BFD_RELOC_TILEPRO_IMM8_X1:             howto manager.      (line 3081)
+* BFD_RELOC_TILEPRO_IMM8_X1_TLS_GD_ADD:  howto manager.      (line 3120)
+* BFD_RELOC_TILEPRO_IMM8_Y0:             howto manager.      (line 3080)
+* BFD_RELOC_TILEPRO_IMM8_Y0_TLS_GD_ADD:  howto manager.      (line 3121)
+* BFD_RELOC_TILEPRO_IMM8_Y1:             howto manager.      (line 3082)
+* BFD_RELOC_TILEPRO_IMM8_Y1_TLS_GD_ADD:  howto manager.      (line 3122)
+* BFD_RELOC_TILEPRO_JMP_SLOT:            howto manager.      (line 3074)
+* BFD_RELOC_TILEPRO_JOFFLONG_X1:         howto manager.      (line 3077)
+* BFD_RELOC_TILEPRO_JOFFLONG_X1_PLT:     howto manager.      (line 3078)
+* BFD_RELOC_TILEPRO_MF_IMM15_X1:         howto manager.      (line 3085)
+* BFD_RELOC_TILEPRO_MMEND_X0:            howto manager.      (line 3111)
+* BFD_RELOC_TILEPRO_MMEND_X1:            howto manager.      (line 3113)
+* BFD_RELOC_TILEPRO_MMSTART_X0:          howto manager.      (line 3110)
+* BFD_RELOC_TILEPRO_MMSTART_X1:          howto manager.      (line 3112)
+* BFD_RELOC_TILEPRO_MT_IMM15_X1:         howto manager.      (line 3084)
+* BFD_RELOC_TILEPRO_RELATIVE:            howto manager.      (line 3075)
+* BFD_RELOC_TILEPRO_SHAMT_X0:            howto manager.      (line 3114)
+* BFD_RELOC_TILEPRO_SHAMT_X1:            howto manager.      (line 3115)
+* BFD_RELOC_TILEPRO_SHAMT_Y0:            howto manager.      (line 3116)
+* BFD_RELOC_TILEPRO_SHAMT_Y1:            howto manager.      (line 3117)
+* BFD_RELOC_TILEPRO_TLS_DTPMOD32:        howto manager.      (line 3140)
+* BFD_RELOC_TILEPRO_TLS_DTPOFF32:        howto manager.      (line 3141)
+* BFD_RELOC_TILEPRO_TLS_GD_CALL:         howto manager.      (line 3118)
+* BFD_RELOC_TILEPRO_TLS_IE_LOAD:         howto manager.      (line 3123)
+* BFD_RELOC_TILEPRO_TLS_TPOFF32:         howto manager.      (line 3142)
+* bfd_reloc_type_lookup:                 howto manager.      (line 3298)
 * BFD_RELOC_V850_16_GOT:                 howto manager.      (line 1464)
 * BFD_RELOC_V850_16_GOTOFF:              howto manager.      (line 1480)
 * BFD_RELOC_V850_16_PCREL:               howto manager.      (line 1444)
@@ -13892,27 +13895,27 @@ BFD Index
 * BFD_RELOC_VAX_GLOB_DAT:                howto manager.      (line 2388)
 * BFD_RELOC_VAX_JMP_SLOT:                howto manager.      (line 2389)
 * BFD_RELOC_VAX_RELATIVE:                howto manager.      (line 2390)
-* BFD_RELOC_VISIUM_HI16:                 howto manager.      (line 3275)
-* BFD_RELOC_VISIUM_HI16_PCREL:           howto manager.      (line 3279)
-* BFD_RELOC_VISIUM_IM16:                 howto manager.      (line 3277)
-* BFD_RELOC_VISIUM_IM16_PCREL:           howto manager.      (line 3281)
-* BFD_RELOC_VISIUM_LO16:                 howto manager.      (line 3276)
-* BFD_RELOC_VISIUM_LO16_PCREL:           howto manager.      (line 3280)
-* BFD_RELOC_VISIUM_REL16:                howto manager.      (line 3278)
+* BFD_RELOC_VISIUM_HI16:                 howto manager.      (line 3277)
+* BFD_RELOC_VISIUM_HI16_PCREL:           howto manager.      (line 3281)
+* BFD_RELOC_VISIUM_IM16:                 howto manager.      (line 3279)
+* BFD_RELOC_VISIUM_IM16_PCREL:           howto manager.      (line 3283)
+* BFD_RELOC_VISIUM_LO16:                 howto manager.      (line 3278)
+* BFD_RELOC_VISIUM_LO16_PCREL:           howto manager.      (line 3282)
+* BFD_RELOC_VISIUM_REL16:                howto manager.      (line 3280)
 * BFD_RELOC_VPE4KMATH_DATA:              howto manager.      (line 2020)
 * BFD_RELOC_VPE4KMATH_INSN:              howto manager.      (line 2021)
 * BFD_RELOC_VTABLE_ENTRY:                howto manager.      (line 2024)
 * BFD_RELOC_VTABLE_INHERIT:              howto manager.      (line 2023)
-* BFD_RELOC_WASM32_ABS32_CODE:           howto manager.      (line 3288)
-* BFD_RELOC_WASM32_CODE_POINTER:         howto manager.      (line 3290)
-* BFD_RELOC_WASM32_COPY:                 howto manager.      (line 3289)
-* BFD_RELOC_WASM32_INDEX:                howto manager.      (line 3291)
-* BFD_RELOC_WASM32_LEB128:               howto manager.      (line 3283)
-* BFD_RELOC_WASM32_LEB128_GOT:           howto manager.      (line 3284)
-* BFD_RELOC_WASM32_LEB128_GOT_CODE:      howto manager.      (line 3285)
-* BFD_RELOC_WASM32_LEB128_PLT:           howto manager.      (line 3286)
-* BFD_RELOC_WASM32_PLT_INDEX:            howto manager.      (line 3287)
-* BFD_RELOC_WASM32_PLT_SIG:              howto manager.      (line 3292)
+* BFD_RELOC_WASM32_ABS32_CODE:           howto manager.      (line 3290)
+* BFD_RELOC_WASM32_CODE_POINTER:         howto manager.      (line 3292)
+* BFD_RELOC_WASM32_COPY:                 howto manager.      (line 3291)
+* BFD_RELOC_WASM32_INDEX:                howto manager.      (line 3293)
+* BFD_RELOC_WASM32_LEB128:               howto manager.      (line 3285)
+* BFD_RELOC_WASM32_LEB128_GOT:           howto manager.      (line 3286)
+* BFD_RELOC_WASM32_LEB128_GOT_CODE:      howto manager.      (line 3287)
+* BFD_RELOC_WASM32_LEB128_PLT:           howto manager.      (line 3288)
+* BFD_RELOC_WASM32_PLT_INDEX:            howto manager.      (line 3289)
+* BFD_RELOC_WASM32_PLT_SIG:              howto manager.      (line 3294)
 * BFD_RELOC_X86_64_32S:                  howto manager.      (line  554)
 * BFD_RELOC_X86_64_COPY:                 howto manager.      (line  549)
 * BFD_RELOC_X86_64_DTPMOD64:             howto manager.      (line  555)
@@ -14114,41 +14117,41 @@ Node: Formats114894
 Node: Relocations117845
 Node: typedef arelent118572
 Node: howto manager134540
-Node: Core Files262440
-Node: Targets264478
-Node: bfd_target266453
-Node: Architectures291919
-Node: Opening and Closing321640
-Node: Internal339815
-Node: File Caching346140
-Node: Linker Functions348058
-Node: Creating a Linker Hash Table349732
-Node: Adding Symbols to the Hash Table351471
-Node: Differing file formats352371
-Node: Adding symbols from an object file354096
-Node: Adding symbols from an archive356246
-Node: Performing the Final Link358592
-Node: Information provided by the linker359833
-Node: Relocating the section contents360987
-Node: Writing the symbol table362739
-Node: Hash Tables369893
-Node: Creating and Freeing a Hash Table371091
-Node: Looking Up or Entering a String372341
-Node: Traversing a Hash Table373594
-Node: Deriving a New Hash Table Type374383
-Node: Define the Derived Structures375449
-Node: Write the Derived Creation Routine376530
-Node: Write Other Derived Routines379155
-Node: BFD back ends380470
-Node: What to Put Where380740
-Node: aout380920
-Node: coff387202
-Node: elf415353
-Node: mmo415754
-Node: File layout416624
-Node: Symbol-table422537
-Node: mmo section mapping426300
-Node: GNU Free Documentation License429954
-Node: BFD Index455018
+Node: Core Files262514
+Node: Targets264552
+Node: bfd_target266527
+Node: Architectures291993
+Node: Opening and Closing321714
+Node: Internal339889
+Node: File Caching346214
+Node: Linker Functions348132
+Node: Creating a Linker Hash Table349806
+Node: Adding Symbols to the Hash Table351545
+Node: Differing file formats352445
+Node: Adding symbols from an object file354170
+Node: Adding symbols from an archive356320
+Node: Performing the Final Link358666
+Node: Information provided by the linker359907
+Node: Relocating the section contents361061
+Node: Writing the symbol table362813
+Node: Hash Tables369967
+Node: Creating and Freeing a Hash Table371165
+Node: Looking Up or Entering a String372415
+Node: Traversing a Hash Table373668
+Node: Deriving a New Hash Table Type374457
+Node: Define the Derived Structures375523
+Node: Write the Derived Creation Routine376604
+Node: Write Other Derived Routines379229
+Node: BFD back ends380544
+Node: What to Put Where380814
+Node: aout380994
+Node: coff387276
+Node: elf415427
+Node: mmo415828
+Node: File layout416698
+Node: Symbol-table422611
+Node: mmo section mapping426374
+Node: GNU Free Documentation License430028
+Node: BFD Index455092
 
 End Tag Table
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/bfd/doc/reloc.texi ./bfd/doc/reloc.texi
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/bfd/doc/reloc.texi	2018-06-12 01:51:23.000000000 +0000
+++ ./bfd/doc/reloc.texi	2018-06-19 01:51:12.000000000 +0000
@@ -3587,6 +3587,9 @@ Same as BFD_RELOC_32_PCREL but with an i
 @deffn {} BFD_RELOC_MACH_O_X86_64_PCREL32_4
 Same as BFD_RELOC_32_PCREL but with an implicit -4 addend.
 @end deffn
+@deffn {} BFD_RELOC_MACH_O_X86_64_TLV
+Used when referencing a TLV entry.
+@end deffn
 @deffn {} BFD_RELOC_MACH_O_ARM64_ADDEND
 Addend for PAGE or PAGEOFF.
 @end deffn
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/bfd/elf-bfd.h ./bfd/elf-bfd.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/bfd/elf-bfd.h	2018-06-12 01:49:09.000000000 +0000
+++ ./bfd/elf-bfd.h	2018-06-19 01:49:00.000000000 +0000
@@ -543,6 +543,9 @@ struct elf_link_hash_table
      when linking against or generating a shared object.  */
   bfd_boolean dynamic_sections_created;
 
+  /* Whether dynamic relocations are present.  */
+  bfd_boolean dynamic_relocs;
+
   /* True if this target has relocatable executables, so needs dynamic
      section symbols.  */
   bfd_boolean is_relocatable_executable;
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/bfd/elf.c ./bfd/elf.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/bfd/elf.c	2018-06-12 01:49:09.000000000 +0000
+++ ./bfd/elf.c	2018-06-19 01:49:00.000000000 +0000
@@ -1865,7 +1865,10 @@ _bfd_elf_get_symbol_version_string (bfd 
 
       if (vernum == 0)
 	version_string = "";
-      else if (vernum == 1)
+      else if (vernum == 1
+	       && (vernum > elf_tdata (abfd)->cverdefs
+		   || (elf_tdata (abfd)->verdef[0].vd_flags
+		       == VER_FLG_BASE)))
 	version_string = "Base";
       else if (vernum <= elf_tdata (abfd)->cverdefs)
 	version_string =
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/bfd/elflink.c ./bfd/elflink.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/bfd/elflink.c	2018-06-12 01:49:09.000000000 +0000
+++ ./bfd/elflink.c	2018-06-19 01:49:00.000000000 +0000
@@ -953,6 +953,7 @@ _bfd_elf_link_renumber_dynsyms (bfd *out
       for (p = output_bfd->sections; p ; p = p->next)
 	if ((p->flags & SEC_EXCLUDE) == 0
 	    && (p->flags & SEC_ALLOC) != 0
+	    && elf_hash_table (info)->dynamic_relocs
 	    && !(*bed->elf_backend_omit_section_dynsym) (output_bfd, info, p))
 	  {
 	    ++dynsymcount;
@@ -3456,6 +3457,9 @@ _bfd_elf_add_dynamic_entry (struct bfd_l
   if (! is_elf_hash_table (hash_table))
     return FALSE;
 
+  if (tag == DT_RELA || tag == DT_REL)
+    hash_table->dynamic_relocs = TRUE;
+
   bed = get_elf_backend_data (hash_table->dynobj);
   s = bfd_get_linker_section (hash_table->dynobj, ".dynamic");
   BFD_ASSERT (s != NULL);
@@ -7015,7 +7019,7 @@ _bfd_elf_init_2_index_sections (bfd *out
   asection *s;
 
   /* Data first, since setting text_index_section changes
-     _bfd_elf_link_omit_section_dynsym.  */
+     _bfd_elf_omit_section_dynsym_default.  */
   for (s = output_bfd->sections; s != NULL; s = s->next)
     if (((s->flags & (SEC_EXCLUDE | SEC_ALLOC | SEC_READONLY)) == SEC_ALLOC)
 	&& !_bfd_elf_omit_section_dynsym_default (output_bfd, info, s))
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/bfd/elfxx-mips.c ./bfd/elfxx-mips.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/bfd/elfxx-mips.c	2018-06-12 01:49:09.000000000 +0000
+++ ./bfd/elfxx-mips.c	2018-06-19 01:49:00.000000000 +0000
@@ -3813,6 +3813,7 @@ count_section_dynsyms (bfd *output_bfd, 
       for (p = output_bfd->sections; p ; p = p->next)
 	if ((p->flags & SEC_EXCLUDE) == 0
 	    && (p->flags & SEC_ALLOC) != 0
+	    && elf_hash_table (info)->dynamic_relocs
 	    && !(*bed->elf_backend_omit_section_dynsym) (output_bfd, info, p))
 	  ++count;
     }
@@ -15641,6 +15642,10 @@ print_mips_ases (FILE *file, unsigned in
     fputs ("\n\tXPA ASE", file);
   if (mask & AFL_ASE_MIPS16E2)
     fputs ("\n\tMIPS16e2 ASE", file);
+  if (mask & AFL_ASE_CRC)
+    fputs ("\n\tCRC ASE", file);
+  if (mask & AFL_ASE_GINV)
+    fputs ("\n\tGINV ASE", file);
   if (mask == 0)
     fprintf (file, "\n\t%s", _("None"));
   else if ((mask & ~AFL_ASE_MASK) != 0)
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/bfd/libbfd.h ./bfd/libbfd.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/bfd/libbfd.h	2018-06-12 01:49:09.000000000 +0000
+++ ./bfd/libbfd.h	2018-06-19 01:49:00.000000000 +0000
@@ -2852,6 +2852,7 @@ static const char *const bfd_reloc_code_
   "BFD_RELOC_MACH_O_X86_64_PCREL32_1",
   "BFD_RELOC_MACH_O_X86_64_PCREL32_2",
   "BFD_RELOC_MACH_O_X86_64_PCREL32_4",
+  "BFD_RELOC_MACH_O_X86_64_TLV",
   "BFD_RELOC_MACH_O_ARM64_ADDEND",
   "BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGE21",
   "BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGEOFF12",
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/bfd/mach-o-x86-64.c ./bfd/mach-o-x86-64.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/bfd/mach-o-x86-64.c	2018-06-12 01:49:09.000000000 +0000
+++ ./bfd/mach-o-x86-64.c	2018-06-19 01:49:00.000000000 +0000
@@ -117,6 +117,11 @@ static reloc_howto_type x86_64_howto_tab
 	complain_overflow_bitfield,
 	NULL, "BRANCH8",
 	FALSE, 0xff, 0xff, TRUE),
+  /* 12 */
+  HOWTO(BFD_RELOC_MACH_O_X86_64_TLV, 0, 2, 32, TRUE, 0,
+	complain_overflow_bitfield,
+	NULL, "TLV",
+	FALSE, 0xffffffff, 0xffffffff, TRUE),
 };
 
 static bfd_boolean
@@ -220,6 +225,13 @@ bfd_mach_o_x86_64_canonicalize_one_reloc
 	  return TRUE;
 	}
       break;
+    case BFD_MACH_O_X86_64_RELOC_TLV:
+      if (reloc.r_length == 2 && reloc.r_pcrel && reloc.r_extern)
+	{
+	  res->howto = &x86_64_howto_table[12];
+	  return TRUE;
+	}
+      break;
     default:
       return FALSE;
     }
@@ -288,6 +300,11 @@ bfd_mach_o_x86_64_swap_reloc_out (arelen
       rinfo->r_pcrel = 1;
       rinfo->r_length = 2;
       break;
+    case BFD_RELOC_MACH_O_X86_64_TLV:
+      rinfo->r_type = BFD_MACH_O_X86_64_RELOC_TLV;
+      rinfo->r_pcrel = 1;
+      rinfo->r_length = 2;
+      break;
     default:
       return FALSE;
     }
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/bfd/reloc.c ./bfd/reloc.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/bfd/reloc.c	2018-06-12 01:49:09.000000000 +0000
+++ ./bfd/reloc.c	2018-06-19 01:49:00.000000000 +0000
@@ -6816,6 +6816,10 @@ ENUM
   BFD_RELOC_MACH_O_X86_64_PCREL32_4
 ENUMDOC
   Same as BFD_RELOC_32_PCREL but with an implicit -4 addend.
+ENUM
+  BFD_RELOC_MACH_O_X86_64_TLV
+ENUMDOC
+  Used when referencing a TLV entry.
 
 
 ENUM
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/bfd/version.h ./bfd/version.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/bfd/version.h	2018-06-12 01:49:09.000000000 +0000
+++ ./bfd/version.h	2018-06-19 01:49:00.000000000 +0000
@@ -16,7 +16,7 @@
 
    In releases, the date is not included in either version strings or
    sonames.  */
-#define BFD_VERSION_DATE 20180612
+#define BFD_VERSION_DATE 20180619
 #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/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/ChangeLog ./ChangeLog
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/ChangeLog	2018-06-12 01:49:09.000000000 +0000
+++ ./ChangeLog	2018-06-19 01:49:00.000000000 +0000
@@ -1,3 +1,15 @@
+2018-06-18  Eric Botcazou  <ebotcazou@adacore.com>
+
+	* Makefile.def (fortran): Add check-target-libgomp-fortran.
+	* Makefile.tpl (check-target-libgomp-fortran): New phony target.
+	* Makefile.in: Regenerate.
+
+	* configure: Regenerate.
+
+2018-06-18  Simon Marchi  <simon.marchi@ericsson.com>
+
+	* configure.ac: Sync with GCC, remove MPX-related things.
+
 2018-05-01  Nick Clifton  <nickc@redhat.com>
 
 	* config.guess: Synchronize with config project master sources.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/config/acx.m4 ./config/acx.m4
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/config/acx.m4	2018-06-12 01:49:09.000000000 +0000
+++ ./config/acx.m4	2018-06-19 01:49:01.000000000 +0000
@@ -246,7 +246,7 @@ AC_DEFUN([GCC_BASE_VER],
   [AS_HELP_STRING([--with-gcc-major-version-only], [use only GCC major number in filesystem paths])],
   [if test x$with_gcc_major_version_only = xyes ; then
     changequote(,)dnl
-    get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
+    get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
     changequote([,])dnl
   fi
   ])
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/config/ax_pthread.m4 ./config/ax_pthread.m4
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/config/ax_pthread.m4	1970-01-01 00:00:00.000000000 +0000
+++ ./config/ax_pthread.m4	2018-06-19 01:49:01.000000000 +0000
@@ -0,0 +1,485 @@
+# ===========================================================================
+#        https://www.gnu.org/software/autoconf-archive/ax_pthread.html
+# ===========================================================================
+#
+# SYNOPSIS
+#
+#   AX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
+#
+# DESCRIPTION
+#
+#   This macro figures out how to build C programs using POSIX threads. It
+#   sets the PTHREAD_LIBS output variable to the threads library and linker
+#   flags, and the PTHREAD_CFLAGS output variable to any special C compiler
+#   flags that are needed. (The user can also force certain compiler
+#   flags/libs to be tested by setting these environment variables.)
+#
+#   Also sets PTHREAD_CC to any special C compiler that is needed for
+#   multi-threaded programs (defaults to the value of CC otherwise). (This
+#   is necessary on AIX to use the special cc_r compiler alias.)
+#
+#   NOTE: You are assumed to not only compile your program with these flags,
+#   but also to link with them as well. For example, you might link with
+#   $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS
+#
+#   If you are only building threaded programs, you may wish to use these
+#   variables in your default LIBS, CFLAGS, and CC:
+#
+#     LIBS="$PTHREAD_LIBS $LIBS"
+#     CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
+#     CC="$PTHREAD_CC"
+#
+#   In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant
+#   has a nonstandard name, this macro defines PTHREAD_CREATE_JOINABLE to
+#   that name (e.g. PTHREAD_CREATE_UNDETACHED on AIX).
+#
+#   Also HAVE_PTHREAD_PRIO_INHERIT is defined if pthread is found and the
+#   PTHREAD_PRIO_INHERIT symbol is defined when compiling with
+#   PTHREAD_CFLAGS.
+#
+#   ACTION-IF-FOUND is a list of shell commands to run if a threads library
+#   is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it
+#   is not found. If ACTION-IF-FOUND is not specified, the default action
+#   will define HAVE_PTHREAD.
+#
+#   Please let the authors know if this macro fails on any platform, or if
+#   you have any other suggestions or comments. This macro was based on work
+#   by SGJ on autoconf scripts for FFTW (http://www.fftw.org/) (with help
+#   from M. Frigo), as well as ac_pthread and hb_pthread macros posted by
+#   Alejandro Forero Cuervo to the autoconf macro repository. We are also
+#   grateful for the helpful feedback of numerous users.
+#
+#   Updated for Autoconf 2.68 by Daniel Richard G.
+#
+# LICENSE
+#
+#   Copyright (c) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
+#   Copyright (c) 2011 Daniel Richard G. <skunk@iSKUNK.ORG>
+#
+#   This program is free software: you can redistribute it and/or modify it
+#   under the terms of the GNU General Public License as published by the
+#   Free Software Foundation, either version 3 of the License, or (at your
+#   option) any later version.
+#
+#   This program is distributed in the hope that it will be useful, but
+#   WITHOUT ANY WARRANTY; without even the implied warranty of
+#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+#   Public License for more details.
+#
+#   You should have received a copy of the GNU General Public License along
+#   with this program. If not, see <https://www.gnu.org/licenses/>.
+#
+#   As a special exception, the respective Autoconf Macro's copyright owner
+#   gives unlimited permission to copy, distribute and modify the configure
+#   scripts that are the output of Autoconf when processing the Macro. You
+#   need not follow the terms of the GNU General Public License when using
+#   or distributing such scripts, even though portions of the text of the
+#   Macro appear in them. The GNU General Public License (GPL) does govern
+#   all other use of the material that constitutes the Autoconf Macro.
+#
+#   This special exception to the GPL applies to versions of the Autoconf
+#   Macro released by the Autoconf Archive. When you make and distribute a
+#   modified version of the Autoconf Macro, you may extend this special
+#   exception to the GPL to apply to your modified version as well.
+
+#serial 24
+
+AU_ALIAS([ACX_PTHREAD], [AX_PTHREAD])
+AC_DEFUN([AX_PTHREAD], [
+AC_REQUIRE([AC_CANONICAL_HOST])
+AC_REQUIRE([AC_PROG_CC])
+AC_REQUIRE([AC_PROG_SED])
+AC_LANG_PUSH([C])
+ax_pthread_ok=no
+
+# We used to check for pthread.h first, but this fails if pthread.h
+# requires special compiler flags (e.g. on Tru64 or Sequent).
+# It gets checked for in the link test anyway.
+
+# First of all, check if the user has set any of the PTHREAD_LIBS,
+# etcetera environment variables, and if threads linking works using
+# them:
+if test "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then
+        ax_pthread_save_CC="$CC"
+        ax_pthread_save_CFLAGS="$CFLAGS"
+        ax_pthread_save_LIBS="$LIBS"
+        AS_IF([test "x$PTHREAD_CC" != "x"], [CC="$PTHREAD_CC"])
+        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
+        LIBS="$PTHREAD_LIBS $LIBS"
+        AC_MSG_CHECKING([for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS])
+        AC_LINK_IFELSE([AC_LANG_CALL([], [pthread_join])], [ax_pthread_ok=yes])
+        AC_MSG_RESULT([$ax_pthread_ok])
+        if test "x$ax_pthread_ok" = "xno"; then
+                PTHREAD_LIBS=""
+                PTHREAD_CFLAGS=""
+        fi
+        CC="$ax_pthread_save_CC"
+        CFLAGS="$ax_pthread_save_CFLAGS"
+        LIBS="$ax_pthread_save_LIBS"
+fi
+
+# We must check for the threads library under a number of different
+# names; the ordering is very important because some systems
+# (e.g. DEC) have both -lpthread and -lpthreads, where one of the
+# libraries is broken (non-POSIX).
+
+# Create a list of thread flags to try.  Items starting with a "-" are
+# C compiler flags, and other items are library names, except for "none"
+# which indicates that we try without any flags at all, and "pthread-config"
+# which is a program returning the flags for the Pth emulation library.
+
+ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
+
+# The ordering *is* (sometimes) important.  Some notes on the
+# individual items follow:
+
+# pthreads: AIX (must check this before -lpthread)
+# none: in case threads are in libc; should be tried before -Kthread and
+#       other compiler flags to prevent continual compiler warnings
+# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
+# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
+#           (Note: HP C rejects this with "bad form for `-t' option")
+# -pthreads: Solaris/gcc (Note: HP C also rejects)
+# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
+#      doesn't hurt to check since this sometimes defines pthreads and
+#      -D_REENTRANT too), HP C (must be checked before -lpthread, which
+#      is present but should not be used directly; and before -mthreads,
+#      because the compiler interprets this as "-mt" + "-hreads")
+# -mthreads: Mingw32/gcc, Lynx/gcc
+# pthread: Linux, etcetera
+# --thread-safe: KAI C++
+# pthread-config: use pthread-config program (for GNU Pth library)
+
+case $host_os in
+
+        freebsd*)
+
+        # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
+        # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
+
+        ax_pthread_flags="-kthread lthread $ax_pthread_flags"
+        ;;
+
+        hpux*)
+
+        # From the cc(1) man page: "[-mt] Sets various -D flags to enable
+        # multi-threading and also sets -lpthread."
+
+        ax_pthread_flags="-mt -pthread pthread $ax_pthread_flags"
+        ;;
+
+        openedition*)
+
+        # IBM z/OS requires a feature-test macro to be defined in order to
+        # enable POSIX threads at all, so give the user a hint if this is
+        # not set. (We don't define these ourselves, as they can affect
+        # other portions of the system API in unpredictable ways.)
+
+        AC_EGREP_CPP([AX_PTHREAD_ZOS_MISSING],
+            [
+#            if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
+             AX_PTHREAD_ZOS_MISSING
+#            endif
+            ],
+            [AC_MSG_WARN([IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support.])])
+        ;;
+
+        solaris*)
+
+        # On Solaris (at least, for some versions), libc contains stubbed
+        # (non-functional) versions of the pthreads routines, so link-based
+        # tests will erroneously succeed. (N.B.: The stubs are missing
+        # pthread_cleanup_push, or rather a function called by this macro,
+        # so we could check for that, but who knows whether they'll stub
+        # that too in a future libc.)  So we'll check first for the
+        # standard Solaris way of linking pthreads (-mt -lpthread).
+
+        ax_pthread_flags="-mt,pthread pthread $ax_pthread_flags"
+        ;;
+esac
+
+# GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC)
+
+AS_IF([test "x$GCC" = "xyes"],
+      [ax_pthread_flags="-pthread -pthreads $ax_pthread_flags"])
+
+# The presence of a feature test macro requesting re-entrant function
+# definitions is, on some systems, a strong hint that pthreads support is
+# correctly enabled
+
+case $host_os in
+        darwin* | hpux* | linux* | osf* | solaris*)
+        ax_pthread_check_macro="_REENTRANT"
+        ;;
+
+        aix*)
+        ax_pthread_check_macro="_THREAD_SAFE"
+        ;;
+
+        *)
+        ax_pthread_check_macro="--"
+        ;;
+esac
+AS_IF([test "x$ax_pthread_check_macro" = "x--"],
+      [ax_pthread_check_cond=0],
+      [ax_pthread_check_cond="!defined($ax_pthread_check_macro)"])
+
+# Are we compiling with Clang?
+
+AC_CACHE_CHECK([whether $CC is Clang],
+    [ax_cv_PTHREAD_CLANG],
+    [ax_cv_PTHREAD_CLANG=no
+     # Note that Autoconf sets GCC=yes for Clang as well as GCC
+     if test "x$GCC" = "xyes"; then
+        AC_EGREP_CPP([AX_PTHREAD_CC_IS_CLANG],
+            [/* Note: Clang 2.7 lacks __clang_[a-z]+__ */
+#            if defined(__clang__) && defined(__llvm__)
+             AX_PTHREAD_CC_IS_CLANG
+#            endif
+            ],
+            [ax_cv_PTHREAD_CLANG=yes])
+     fi
+    ])
+ax_pthread_clang="$ax_cv_PTHREAD_CLANG"
+
+ax_pthread_clang_warning=no
+
+# Clang needs special handling, because older versions handle the -pthread
+# option in a rather... idiosyncratic way
+
+if test "x$ax_pthread_clang" = "xyes"; then
+
+        # Clang takes -pthread; it has never supported any other flag
+
+        # (Note 1: This will need to be revisited if a system that Clang
+        # supports has POSIX threads in a separate library.  This tends not
+        # to be the way of modern systems, but it's conceivable.)
+
+        # (Note 2: On some systems, notably Darwin, -pthread is not needed
+        # to get POSIX threads support; the API is always present and
+        # active.  We could reasonably leave PTHREAD_CFLAGS empty.  But
+        # -pthread does define _REENTRANT, and while the Darwin headers
+        # ignore this macro, third-party headers might not.)
+
+        PTHREAD_CFLAGS="-pthread"
+        PTHREAD_LIBS=
+
+        ax_pthread_ok=yes
+
+        # However, older versions of Clang make a point of warning the user
+        # that, in an invocation where only linking and no compilation is
+        # taking place, the -pthread option has no effect ("argument unused
+        # during compilation").  They expect -pthread to be passed in only
+        # when source code is being compiled.
+        #
+        # Problem is, this is at odds with the way Automake and most other
+        # C build frameworks function, which is that the same flags used in
+        # compilation (CFLAGS) are also used in linking.  Many systems
+        # supported by AX_PTHREAD require exactly this for POSIX threads
+        # support, and in fact it is often not straightforward to specify a
+        # flag that is used only in the compilation phase and not in
+        # linking.  Such a scenario is extremely rare in practice.
+        #
+        # Even though use of the -pthread flag in linking would only print
+        # a warning, this can be a nuisance for well-run software projects
+        # that build with -Werror.  So if the active version of Clang has
+        # this misfeature, we search for an option to squash it.
+
+        AC_CACHE_CHECK([whether Clang needs flag to prevent "argument unused" warning when linking with -pthread],
+            [ax_cv_PTHREAD_CLANG_NO_WARN_FLAG],
+            [ax_cv_PTHREAD_CLANG_NO_WARN_FLAG=unknown
+             # Create an alternate version of $ac_link that compiles and
+             # links in two steps (.c -> .o, .o -> exe) instead of one
+             # (.c -> exe), because the warning occurs only in the second
+             # step
+             ax_pthread_save_ac_link="$ac_link"
+             ax_pthread_sed='s/conftest\.\$ac_ext/conftest.$ac_objext/g'
+             ax_pthread_link_step=`$as_echo "$ac_link" | sed "$ax_pthread_sed"`
+             ax_pthread_2step_ac_link="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)"
+             ax_pthread_save_CFLAGS="$CFLAGS"
+             for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do
+                AS_IF([test "x$ax_pthread_try" = "xunknown"], [break])
+                CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS"
+                ac_link="$ax_pthread_save_ac_link"
+                AC_LINK_IFELSE([AC_LANG_SOURCE([[int main(void){return 0;}]])],
+                    [ac_link="$ax_pthread_2step_ac_link"
+                     AC_LINK_IFELSE([AC_LANG_SOURCE([[int main(void){return 0;}]])],
+                         [break])
+                    ])
+             done
+             ac_link="$ax_pthread_save_ac_link"
+             CFLAGS="$ax_pthread_save_CFLAGS"
+             AS_IF([test "x$ax_pthread_try" = "x"], [ax_pthread_try=no])
+             ax_cv_PTHREAD_CLANG_NO_WARN_FLAG="$ax_pthread_try"
+            ])
+
+        case "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" in
+                no | unknown) ;;
+                *) PTHREAD_CFLAGS="$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG $PTHREAD_CFLAGS" ;;
+        esac
+
+fi # $ax_pthread_clang = yes
+
+if test "x$ax_pthread_ok" = "xno"; then
+for ax_pthread_try_flag in $ax_pthread_flags; do
+
+        case $ax_pthread_try_flag in
+                none)
+                AC_MSG_CHECKING([whether pthreads work without any flags])
+                ;;
+
+                -mt,pthread)
+                AC_MSG_CHECKING([whether pthreads work with -mt -lpthread])
+                PTHREAD_CFLAGS="-mt"
+                PTHREAD_LIBS="-lpthread"
+                ;;
+
+                -*)
+                AC_MSG_CHECKING([whether pthreads work with $ax_pthread_try_flag])
+                PTHREAD_CFLAGS="$ax_pthread_try_flag"
+                ;;
+
+                pthread-config)
+                AC_CHECK_PROG([ax_pthread_config], [pthread-config], [yes], [no])
+                AS_IF([test "x$ax_pthread_config" = "xno"], [continue])
+                PTHREAD_CFLAGS="`pthread-config --cflags`"
+                PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
+                ;;
+
+                *)
+                AC_MSG_CHECKING([for the pthreads library -l$ax_pthread_try_flag])
+                PTHREAD_LIBS="-l$ax_pthread_try_flag"
+                ;;
+        esac
+
+        ax_pthread_save_CFLAGS="$CFLAGS"
+        ax_pthread_save_LIBS="$LIBS"
+        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
+        LIBS="$PTHREAD_LIBS $LIBS"
+
+        # Check for various functions.  We must include pthread.h,
+        # since some functions may be macros.  (On the Sequent, we
+        # need a special flag -Kthread to make this header compile.)
+        # We check for pthread_join because it is in -lpthread on IRIX
+        # while pthread_create is in libc.  We check for pthread_attr_init
+        # due to DEC craziness with -lpthreads.  We check for
+        # pthread_cleanup_push because it is one of the few pthread
+        # functions on Solaris that doesn't have a non-functional libc stub.
+        # We try pthread_create on general principles.
+
+        AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pthread.h>
+#                       if $ax_pthread_check_cond
+#                        error "$ax_pthread_check_macro must be defined"
+#                       endif
+                        static void routine(void *a) { a = 0; }
+                        static void *start_routine(void *a) { return a; }],
+                       [pthread_t th; pthread_attr_t attr;
+                        pthread_create(&th, 0, start_routine, 0);
+                        pthread_join(th, 0);
+                        pthread_attr_init(&attr);
+                        pthread_cleanup_push(routine, 0);
+                        pthread_cleanup_pop(0) /* ; */])],
+            [ax_pthread_ok=yes],
+            [])
+
+        CFLAGS="$ax_pthread_save_CFLAGS"
+        LIBS="$ax_pthread_save_LIBS"
+
+        AC_MSG_RESULT([$ax_pthread_ok])
+        AS_IF([test "x$ax_pthread_ok" = "xyes"], [break])
+
+        PTHREAD_LIBS=""
+        PTHREAD_CFLAGS=""
+done
+fi
+
+# Various other checks:
+if test "x$ax_pthread_ok" = "xyes"; then
+        ax_pthread_save_CFLAGS="$CFLAGS"
+        ax_pthread_save_LIBS="$LIBS"
+        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
+        LIBS="$PTHREAD_LIBS $LIBS"
+
+        # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
+        AC_CACHE_CHECK([for joinable pthread attribute],
+            [ax_cv_PTHREAD_JOINABLE_ATTR],
+            [ax_cv_PTHREAD_JOINABLE_ATTR=unknown
+             for ax_pthread_attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
+                 AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pthread.h>],
+                                                 [int attr = $ax_pthread_attr; return attr /* ; */])],
+                                [ax_cv_PTHREAD_JOINABLE_ATTR=$ax_pthread_attr; break],
+                                [])
+             done
+            ])
+        AS_IF([test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xunknown" && \
+               test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xPTHREAD_CREATE_JOINABLE" && \
+               test "x$ax_pthread_joinable_attr_defined" != "xyes"],
+              [AC_DEFINE_UNQUOTED([PTHREAD_CREATE_JOINABLE],
+                                  [$ax_cv_PTHREAD_JOINABLE_ATTR],
+                                  [Define to necessary symbol if this constant
+                                   uses a non-standard name on your system.])
+               ax_pthread_joinable_attr_defined=yes
+              ])
+
+        AC_CACHE_CHECK([whether more special flags are required for pthreads],
+            [ax_cv_PTHREAD_SPECIAL_FLAGS],
+            [ax_cv_PTHREAD_SPECIAL_FLAGS=no
+             case $host_os in
+             solaris*)
+             ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS"
+             ;;
+             esac
+            ])
+        AS_IF([test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
+               test "x$ax_pthread_special_flags_added" != "xyes"],
+              [PTHREAD_CFLAGS="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
+               ax_pthread_special_flags_added=yes])
+
+        AC_CACHE_CHECK([for PTHREAD_PRIO_INHERIT],
+            [ax_cv_PTHREAD_PRIO_INHERIT],
+            [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <pthread.h>]],
+                                             [[int i = PTHREAD_PRIO_INHERIT;]])],
+                            [ax_cv_PTHREAD_PRIO_INHERIT=yes],
+                            [ax_cv_PTHREAD_PRIO_INHERIT=no])
+            ])
+        AS_IF([test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes" && \
+               test "x$ax_pthread_prio_inherit_defined" != "xyes"],
+              [AC_DEFINE([HAVE_PTHREAD_PRIO_INHERIT], [1], [Have PTHREAD_PRIO_INHERIT.])
+               ax_pthread_prio_inherit_defined=yes
+              ])
+
+        CFLAGS="$ax_pthread_save_CFLAGS"
+        LIBS="$ax_pthread_save_LIBS"
+
+        # More AIX lossage: compile with *_r variant
+        if test "x$GCC" != "xyes"; then
+            case $host_os in
+                aix*)
+                AS_CASE(["x/$CC"],
+                    [x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6],
+                    [#handle absolute path differently from PATH based program lookup
+                     AS_CASE(["x$CC"],
+                         [x/*],
+                         [AS_IF([AS_EXECUTABLE_P([${CC}_r])],[PTHREAD_CC="${CC}_r"])],
+                         [AC_CHECK_PROGS([PTHREAD_CC],[${CC}_r],[$CC])])])
+                ;;
+            esac
+        fi
+fi
+
+test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
+
+AC_SUBST([PTHREAD_LIBS])
+AC_SUBST([PTHREAD_CFLAGS])
+AC_SUBST([PTHREAD_CC])
+
+# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
+if test "x$ax_pthread_ok" = "xyes"; then
+        ifelse([$1],,[AC_DEFINE([HAVE_PTHREAD],[1],[Define if you have POSIX threads libraries and header files.])],[$1])
+        :
+else
+        ax_pthread_ok=no
+        $2
+fi
+AC_LANG_POP
+])dnl AX_PTHREAD
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/config/bootstrap-cet.mk ./config/bootstrap-cet.mk
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/config/bootstrap-cet.mk	2018-06-12 01:49:09.000000000 +0000
+++ ./config/bootstrap-cet.mk	2018-06-19 01:49:01.000000000 +0000
@@ -1,4 +1,5 @@
-# This option enables -fcf-protection -mcet for stage2 and stage3.
+# This option enables -fcf-protection for stage2, stage3 and stage4.
 
-STAGE2_CFLAGS += -fcf-protection -mcet
-STAGE3_CFLAGS += -fcf-protection -mcet
+STAGE2_CFLAGS += -fcf-protection
+STAGE3_CFLAGS += -fcf-protection
+STAGE4_CFLAGS += -fcf-protection
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/config/bootstrap-lto.mk ./config/bootstrap-lto.mk
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/config/bootstrap-lto.mk	2018-06-12 01:49:09.000000000 +0000
+++ ./config/bootstrap-lto.mk	2018-06-19 01:49:01.000000000 +0000
@@ -13,3 +13,5 @@ LTO_RANLIB = $$r/$(HOST_SUBDIR)/prev-gcc
 LTO_EXPORTS = AR="$(LTO_AR)"; export AR; \
 	      RANLIB="$(LTO_RANLIB)"; export RANLIB;
 LTO_FLAGS_TO_PASS = AR="$(LTO_AR)" RANLIB="$(LTO_RANLIB)"
+
+do-compare = $(SHELL) $(srcdir)/contrib/compare-lto $$f1 $$f2
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/config/bootstrap-lto-noplugin.mk ./config/bootstrap-lto-noplugin.mk
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/config/bootstrap-lto-noplugin.mk	2018-06-12 01:49:09.000000000 +0000
+++ ./config/bootstrap-lto-noplugin.mk	2018-06-19 01:49:01.000000000 +0000
@@ -6,3 +6,4 @@ STAGE3_CFLAGS += -flto=jobserver -frando
 STAGEprofile_CFLAGS += -flto=jobserver -frandom-seed=1
 STAGEtrain_CFLAGS += -flto=jobserver -frandom-seed=1
 STAGEfeedback_CFLAGS += -flto=jobserver -frandom-seed=1
+do-compare = /bin/true
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/config/bootstrap-mpx.mk ./config/bootstrap-mpx.mk
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/config/bootstrap-mpx.mk	2018-06-12 01:49:09.000000000 +0000
+++ ./config/bootstrap-mpx.mk	1970-01-01 00:00:00.000000000 +0000
@@ -1,9 +0,0 @@
-# This option enables -fcheck-pointer-bounds -mmpx for stage2 and stage3.
-
-STAGE2_CFLAGS += -fcheck-pointer-bounds -mmpx -frandom-seed=1
-STAGE3_CFLAGS += -fcheck-pointer-bounds -mmpx -frandom-seed=1
-POSTSTAGE1_LDFLAGS += -fcheck-pointer-bounds -mmpx -frandom-seed=1 \
-		      -static-libmpx -static-libmpxwrappers \
-		      -B$$r/prev-$(TARGET_SUBDIR)/libmpx \
-		      -B$$r/prev-$(TARGET_SUBDIR)/libmpx/mpxrt/.libs \
-		      -B$$r/prev-$(TARGET_SUBDIR)/libmpx/mpxwrap/.libs
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/config/bootstrap-ubsan.mk ./config/bootstrap-ubsan.mk
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/config/bootstrap-ubsan.mk	2018-06-12 01:49:09.000000000 +0000
+++ ./config/bootstrap-ubsan.mk	2018-06-19 01:49:01.000000000 +0000
@@ -1,8 +1,8 @@
 # This option enables -fsanitize=undefined for stage2 and stage3.
 
-STAGE2_CFLAGS += -fsanitize=undefined
-STAGE3_CFLAGS += -fsanitize=undefined
-POSTSTAGE1_LDFLAGS += -fsanitize=undefined -static-libubsan \
+STAGE2_CFLAGS += -fsanitize=undefined -DUBSAN_BOOTSTRAP
+STAGE3_CFLAGS += -fsanitize=undefined -DUBSAN_BOOTSTRAP
+POSTSTAGE1_LDFLAGS += -fsanitize=undefined -static-libubsan -DUBSAN_BOOTSTRAP \
 		      -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ \
 		      -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/ \
 		      -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/.libs
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/config/cet.m4 ./config/cet.m4
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/config/cet.m4	2018-06-12 01:49:09.000000000 +0000
+++ ./config/cet.m4	2018-06-19 01:49:01.000000000 +0000
@@ -3,14 +3,14 @@ dnl GCC_CET_FLAGS
 dnl    (SHELL-CODE_HANDLER)
 dnl
 AC_DEFUN([GCC_CET_FLAGS],[dnl
-GCC_ENABLE(cet, default, ,[enable Intel CET in target libraries],
-	   permit yes|no|default)
+GCC_ENABLE(cet, no, ,[enable Intel CET in target libraries],
+	   permit yes|no|auto)
 AC_MSG_CHECKING([for CET support])
 
 case "$host" in
   i[[34567]]86-*-linux* | x86_64-*-linux*)
     case "$enable_cet" in
-      default)
+      auto)
 	# Check if target supports multi-byte NOPs
 	# and if assembler supports CET insn.
 	AC_COMPILE_IFELSE(
@@ -42,7 +42,7 @@ asm ("setssbsy");
     ;;
 esac
 if test x$enable_cet = xyes; then
-  $1="-fcf-protection -mcet"
+  $1="-fcf-protection -mshstk"
   AC_MSG_RESULT([yes])
 else
   AC_MSG_RESULT([no])
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/config/ChangeLog ./config/ChangeLog
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/config/ChangeLog	2018-06-12 01:49:09.000000000 +0000
+++ ./config/ChangeLog	2018-06-19 01:49:01.000000000 +0000
@@ -1,3 +1,51 @@
+2018-06-18  Simon Marchi  <simon.marchi@ericsson.com>
+
+	Sync with GCC
+	2018-06-08  Martin Liska  <mliska@suse.cz>
+
+	* bootstrap-mpx.mk: Remove.
+
+	2018-05-10  Martin Liska  <mliska@suse.cz>
+
+	PR bootstrap/64914
+	* bootstrap-ubsan.mk: Define UBSAN_BOOTSTRAP.
+
+	2018-05-09  Joshua Watt <jpewhacker@gmail.com>
+
+        * ax_pthread.m4: Add file.
+
+	2018-05-08  Richard Biener  <rguenther@suse.de>
+
+	PR bootstrap/85571
+	* bootstrap-lto-noplugin.mk: Disable compare.
+	* bootstrap-lto.mk: Supply contrib/compare-lto for do-compare.
+
+	2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR bootstrap/85490
+	* bootstrap-cet.mk (STAGE4_CFLAGS): New.
+
+	2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR target/85485
+	* bootstrap-cet.mk (STAGE2_CFLAGS): Remove -mcet.
+	(STAGE3_CFLAGS): Likewise.
+
+	2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR target/85485
+	* cet.m4 (GCC_CET_FLAGS): Replace -mcet with -mshstk.
+
+	2018-04-19  Jakub Jelinek  <jakub@redhat.com>
+
+	* cet.m4 (GCC_CET_FLAGS): Default to --disable-cet, replace
+	--enable-cet=default with --enable-cet=auto.
+
+	2018-04-18  David Malcolm  <dmalcolm@redhat.com>
+
+	PR jit/85384
+	* acx.m4 (GCC_BASE_VER): Remove \$\$ from sed expression.
+
 2018-04-05  H.J. Lu  <hongjiu.lu@intel.com>
 
 	Sync with GCC
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/configure ./configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/configure	2018-06-12 01:49:09.000000000 +0000
+++ ./configure	2018-06-19 01:49:01.000000000 +0000
@@ -2758,7 +2758,6 @@ target_libraries="target-libgcc \
 		target-libstdc++-v3 \
 		target-libsanitizer \
 		target-libvtv \
-		target-libmpx \
 		target-libssp \
 		target-libquadmath \
 		target-libgfortran \
@@ -3264,25 +3263,6 @@ if test -d ${srcdir}/libvtv; then
 fi
 
 
-# Enable libmpx on supported systems by request.
-if test -d ${srcdir}/libmpx; then
-    if test x$enable_libmpx = x; then
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmpx support" >&5
-$as_echo_n "checking for libmpx support... " >&6; }
-       if (srcdir=${srcdir}/libmpx; \
-               . ${srcdir}/configure.tgt; \
-               test "$LIBMPX_SUPPORTED" != "yes")
-       then
-           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-           noconfigdirs="$noconfigdirs target-libmpx"
-       else
-           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-       fi
-    fi
-fi
-
 # Disable libhsail-rt on unsupported systems.
 if test -d ${srcdir}/libhsail-rt; then
     if test x$enable_libhsail_rt = x; then
@@ -6656,7 +6636,7 @@ fi
 # Check whether --with-gcc-major-version-only was given.
 if test "${with_gcc_major_version_only+set}" = set; then :
   withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
-        get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
+        get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
       fi
 
 fi
@@ -7110,16 +7090,6 @@ if echo " ${target_configdirs} " | grep 
   bootstrap_target_libs=${bootstrap_target_libs}target-libvtv,
 fi
 
-# If we are building libmpx and $BUILD_CONFIG contains bootstrap-mpx,
-# bootstrap it.
-if echo " ${target_configdirs} " | grep " libmpx " > /dev/null 2>&1; then
-  case "$BUILD_CONFIG" in
-    *bootstrap-mpx* )
-      bootstrap_target_libs=${bootstrap_target_libs}target-libmpx,
-      ;;
-  esac
-fi
-
 # Determine whether gdb needs tk/tcl or not.
 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
 # and in that case we want gdb to be built without tk.  Ugh!
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/configure.ac ./configure.ac
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/configure.ac	2018-06-12 01:53:46.000000000 +0000
+++ ./configure.ac	2018-06-19 01:53:36.000000000 +0000
@@ -157,7 +157,6 @@ target_libraries="target-libgcc \
 		target-libstdc++-v3 \
 		target-libsanitizer \
 		target-libvtv \
-		target-libmpx \
 		target-libssp \
 		target-libquadmath \
 		target-libgfortran \
@@ -601,22 +600,6 @@ if test -d ${srcdir}/libvtv; then
 fi
 
 
-# Enable libmpx on supported systems by request.
-if test -d ${srcdir}/libmpx; then
-    if test x$enable_libmpx = x; then
-       AC_MSG_CHECKING([for libmpx support])
-       if (srcdir=${srcdir}/libmpx; \
-               . ${srcdir}/configure.tgt; \
-               test "$LIBMPX_SUPPORTED" != "yes")
-       then
-           AC_MSG_RESULT([no])
-           noconfigdirs="$noconfigdirs target-libmpx"
-       else
-           AC_MSG_RESULT([yes])
-       fi
-    fi
-fi
-
 # Disable libhsail-rt on unsupported systems.
 if test -d ${srcdir}/libhsail-rt; then
     if test x$enable_libhsail_rt = x; then
@@ -2696,16 +2679,6 @@ if echo " ${target_configdirs} " | grep 
   bootstrap_target_libs=${bootstrap_target_libs}target-libvtv,
 fi
 
-# If we are building libmpx and $BUILD_CONFIG contains bootstrap-mpx,
-# bootstrap it.
-if echo " ${target_configdirs} " | grep " libmpx " > /dev/null 2>&1; then
-  case "$BUILD_CONFIG" in
-    *bootstrap-mpx* )
-      bootstrap_target_libs=${bootstrap_target_libs}target-libmpx,
-      ;;
-  esac
-fi
-
 # Determine whether gdb needs tk/tcl or not.
 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
 # and in that case we want gdb to be built without tk.  Ugh!
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/djunpack.bat ./djunpack.bat
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/djunpack.bat	2018-06-12 01:53:51.000000000 +0000
+++ ./djunpack.bat	2018-06-19 01:53: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.1.50.20180612
-if "%GDBVER%"=="$package-8.1.50.20180612" GoTo EnvOk
+set GDBVER=$package-8.1.50.20180619
+if "%GDBVER%"=="$package-8.1.50.20180619" 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/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/aarch64-linux-nat.c ./gdb/aarch64-linux-nat.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/aarch64-linux-nat.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/aarch64-linux-nat.c	2018-06-19 01:49:02.000000000 +0000
@@ -384,19 +384,62 @@ store_fpregs_to_thread (const struct reg
     }
 }
 
+/* Fill GDB's register array with the sve register values
+   from the current thread.  */
+
+static void
+fetch_sveregs_from_thread (struct regcache *regcache)
+{
+  std::unique_ptr<gdb_byte[]> base
+    = aarch64_sve_get_sveregs (ptid_get_lwp (regcache->ptid ()));
+  aarch64_sve_regs_copy_to_reg_buf (regcache, base.get ());
+}
+
+/* Store to the current thread the valid sve register
+   values in the GDB's register array.  */
+
+static void
+store_sveregs_to_thread (struct regcache *regcache)
+{
+  int ret;
+  struct iovec iovec;
+  int tid = ptid_get_lwp (regcache->ptid ());
+
+  /* Obtain a dump of SVE registers from ptrace.  */
+  std::unique_ptr<gdb_byte[]> base = aarch64_sve_get_sveregs (tid);
+
+  /* Overwrite with regcache state.  */
+  aarch64_sve_regs_copy_from_reg_buf (regcache, base.get ());
+
+  /* Write back to the kernel.  */
+  iovec.iov_base = base.get ();
+  iovec.iov_len = ((struct user_sve_header *) base.get ())->size;
+  ret = ptrace (PTRACE_SETREGSET, tid, NT_ARM_SVE, &iovec);
+
+  if (ret < 0)
+    perror_with_name (_("Unable to store sve registers"));
+}
+
 /* Implement the "fetch_registers" target_ops method.  */
 
 void
 aarch64_linux_nat_target::fetch_registers (struct regcache *regcache,
 					   int regno)
 {
+  struct gdbarch_tdep *tdep = gdbarch_tdep (regcache->arch ());
+
   if (regno == -1)
     {
       fetch_gregs_from_thread (regcache);
-      fetch_fpregs_from_thread (regcache);
+      if (tdep->has_sve ())
+	fetch_sveregs_from_thread (regcache);
+      else
+	fetch_fpregs_from_thread (regcache);
     }
   else if (regno < AARCH64_V0_REGNUM)
     fetch_gregs_from_thread (regcache);
+  else if (tdep->has_sve ())
+    fetch_sveregs_from_thread (regcache);
   else
     fetch_fpregs_from_thread (regcache);
 }
@@ -407,13 +450,20 @@ void
 aarch64_linux_nat_target::store_registers (struct regcache *regcache,
 					   int regno)
 {
+  struct gdbarch_tdep *tdep = gdbarch_tdep (regcache->arch ());
+
   if (regno == -1)
     {
       store_gregs_to_thread (regcache);
-      store_fpregs_to_thread (regcache);
+      if (tdep->has_sve ())
+	store_sveregs_to_thread (regcache);
+      else
+	store_fpregs_to_thread (regcache);
     }
   else if (regno < AARCH64_V0_REGNUM)
     store_gregs_to_thread (regcache);
+  else if (tdep->has_sve ())
+    store_sveregs_to_thread (regcache);
   else
     store_fpregs_to_thread (regcache);
 }
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/ada-exp.c ./gdb/ada-exp.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/ada-exp.c	2018-06-12 01:53:13.000000000 +0000
+++ ./gdb/ada-exp.c	2018-06-19 01:53:04.000000000 +0000
@@ -113,7 +113,7 @@ int yyparse (void);
 
 static int yylex (void);
 
-void yyerror (const char *);
+static void yyerror (const char *);
 
 static void write_int (struct parser_state *, LONGEST, struct type *);
 
@@ -2981,7 +2981,7 @@ ada_parse (struct parser_state *par_stat
   return yyparse ();
 }
 
-void
+static void
 yyerror (const char *msg)
 {
   error (_("Error in expression, near `%s'."), lexptr);
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/ada-exp.y ./gdb/ada-exp.y
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/ada-exp.y	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/ada-exp.y	2018-06-19 01:49:02.000000000 +0000
@@ -77,7 +77,7 @@ int yyparse (void);
 
 static int yylex (void);
 
-void yyerror (const char *);
+static void yyerror (const char *);
 
 static void write_int (struct parser_state *, LONGEST, struct type *);
 
@@ -742,7 +742,7 @@ ada_parse (struct parser_state *par_stat
   return yyparse ();
 }
 
-void
+static void
 yyerror (const char *msg)
 {
   error (_("Error in expression, near `%s'."), lexptr);
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/ada-lang.c ./gdb/ada-lang.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/ada-lang.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/ada-lang.c	2018-06-19 01:49:02.000000000 +0000
@@ -14360,7 +14360,6 @@ extern const struct language_defn ada_la
   ada_extensions,
   &ada_exp_descriptor,
   parse,
-  ada_yyerror,
   resolve,
   ada_printchar,                /* Print a character constant */
   ada_printstr,                 /* Function to print string constant */
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/ada-lang.h ./gdb/ada-lang.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/ada-lang.h	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/ada-lang.h	2018-06-19 01:49:02.000000000 +0000
@@ -166,8 +166,6 @@ extern int ada_get_field_index (const st
 
 extern int ada_parse (struct parser_state *);    /* Defined in ada-exp.y */
 
-extern void ada_yyerror (const char *); /* Defined in ada-exp.y */
-
                         /* Defined in ada-typeprint.c */
 extern void ada_print_type (struct type *, const char *, struct ui_file *, int,
                             int, const struct type_print_options *);
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/aix-thread.c ./gdb/aix-thread.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/aix-thread.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/aix-thread.c	2018-06-19 01:49:02.000000000 +0000
@@ -1732,7 +1732,7 @@ aix_thread_target::xfer_partial (enum ta
 void
 aix_thread_target::mourn_inferior ()
 {
-  target_ops *beneath = beneath ();
+  target_ops *beneath = this->beneath ();
 
   pd_deactivate ();
   beneath->mourn_inferior ();
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/arch-utils.c ./gdb/arch-utils.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/arch-utils.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/arch-utils.c	2018-06-19 01:49:02.000000000 +0000
@@ -994,7 +994,7 @@ default_in_indirect_branch_thunk (gdbarc
 ULONGEST
 default_type_align (struct gdbarch *gdbarch, struct type *type)
 {
-  return TYPE_LENGTH (check_typedef (type));
+  return type_length_units (check_typedef (type));
 }
 
 void
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/c-exp.c ./gdb/c-exp.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/c-exp.c	2018-06-12 01:53:13.000000000 +0000
+++ ./gdb/c-exp.c	2018-06-19 01:53:04.000000000 +0000
@@ -106,7 +106,7 @@ int yyparse (void);
 
 static int yylex (void);
 
-void yyerror (const char *);
+static void yyerror (const char *);
 
 static int type_aggregate_p (struct type *);
 
@@ -6374,12 +6374,12 @@ c_print_token (FILE *file, int type, YYS
 
 #endif
 
-void
+static void
 yyerror (const char *msg)
 {
   if (prev_lexptr)
     lexptr = prev_lexptr;
 
-  error (_("A %s in expression, near `%s'."), (msg ? msg : "error"), lexptr);
+  error (_("A %s in expression, near `%s'."), msg, lexptr);
 }
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/c-exp.y ./gdb/c-exp.y
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/c-exp.y	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/c-exp.y	2018-06-19 01:49:02.000000000 +0000
@@ -70,7 +70,7 @@ int yyparse (void);
 
 static int yylex (void);
 
-void yyerror (const char *);
+static void yyerror (const char *);
 
 static int type_aggregate_p (struct type *);
 
@@ -3334,11 +3334,11 @@ c_print_token (FILE *file, int type, YYS
 
 #endif
 
-void
+static void
 yyerror (const char *msg)
 {
   if (prev_lexptr)
     lexptr = prev_lexptr;
 
-  error (_("A %s in expression, near `%s'."), (msg ? msg : "error"), lexptr);
+  error (_("A %s in expression, near `%s'."), msg, lexptr);
 }
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/ChangeLog ./gdb/ChangeLog
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/ChangeLog	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/ChangeLog	2018-06-19 01:49:02.000000000 +0000
@@ -1,3 +1,228 @@
+2018-06-18  Tom Tromey  <tom@tromey.com>
+
+	* solib-aix.c (solib_aix_get_section_offsets): Return
+	unique_xmalloc_ptr.
+	(solib_aix_solib_create_inferior_hook): Update.
+
+2018-06-18  Tom Tromey  <tom@tromey.com>
+
+	* solib-darwin.c (darwin_current_sos): Use unique_xmalloc_ptr.
+
+2018-06-18  Tom Tromey  <tom@tromey.com>
+
+	* solib-frv.c (frv_relocate_main_executable): Use
+	unique_xmalloc_ptr.
+	* solib-dsbt.c (dsbt_relocate_main_executable): Use
+	unique_xmalloc_ptr.
+
+2018-06-18  Tom Tromey  <tom@tromey.com>
+
+	* objfiles.h (inhibit_section_map_updates): Update.
+	(resume_section_map_updates, resume_section_map_updates_cleanup):
+	Remove.
+	* solib-svr4.c (svr4_handle_solib_event): Update.
+	* objfiles.c (inhibit_section_map_updates): Return
+	scoped_restore_tmpl<int>.
+	(resume_section_map_updates, resume_section_map_updates_cleanup):
+	Remove.
+
+2018-06-18  Tom Tromey  <tom@tromey.com>
+
+	* valprint.h (read_string): Update.
+	* valprint.c (read_string): Change type of "buffer".
+	(val_print_string): Update.
+	* python/py-value.c (valpy_string): Update.
+	* language.h (struct language_defn) <la_get_string>: Change
+	type of "buffer".
+	(default_get_string, c_get_string): Update.
+	* language.c (default_get_string): Change type of "buffer".
+	* guile/scm-value.c (gdbscm_value_to_string): Update.
+	* c-lang.c (c_get_string): Change type of "buffer".
+
+2018-06-18  Tom Tromey  <tom@tromey.com>
+
+	* ser-mingw.c (struct pipe_state_destroyer): New.
+	(pipe_state_up): New typedef.
+	(cleanup_pipe_state): Remove.
+	(pipe_windows_open): Use pipe_state_up.  Don't release argv.
+
+2018-06-18  Tom Tromey  <tom@tromey.com>
+
+	* rust-lang.h (rust_yyerror): Don't declare.
+	* rust-lang.c (rust_language_defn): Update.
+	* rust-exp.y (yyerror): Now static.
+	* parse.c (parse_exp_in_context_1): Update.
+	* p-lang.h (p_yyerror): Don't declare.
+	* p-lang.c (p_language_defn): Update.
+	* p-exp.y (yyerror): Now static.
+	* opencl-lang.c (opencl_language_defn): Update.
+	* objc-lang.c (objc_language_defn): Update.
+	* m2-lang.h (m2_yyerror): Don't declare.
+	* m2-lang.c (m2_language_defn): Update.
+	* m2-exp.y (yyerror): Now static.
+	* language.h (struct language_defn) <la_error>: Remove.
+	* language.c (unk_lang_error): Remove.
+	(unknown_language_defn, auto_language_defn): Remove.
+	* go-lang.h (go_yyerror): Don't declare.
+	* go-lang.c (go_language_defn): Update.
+	* go-exp.y (yyerror): Now static.
+	* f-lang.h (f_yyerror): Don't declare.
+	* f-lang.c (f_language_defn): Update.
+	* f-exp.y (yyerror): Now static.
+	* d-lang.h (d_yyerror): Don't declare.
+	* d-lang.c (d_language_defn): Update.
+	* d-exp.y (yyerror): Now static.
+	* c-lang.h (c_yyerror): Don't declare.
+	* c-lang.c (c_language_defn, cplus_language_defn)
+	(asm_language_defn, minimal_language_defn): Update.
+	* c-exp.y (yyerror): Now static.
+	* ada-lang.h (ada_yyerror): Don't declare.
+	* ada-lang.c (ada_language_defn): Update.
+	* ada-exp.y (yyerror): Now static.
+
+2018-06-18  Alan Hayward  <alan.hayward@arm.com>
+
+	* aarch64-linux-nat.c (fetch_sveregs_from_thread): New function.
+	(store_sveregs_to_thread): Likewise.
+	(aarch64_linux_fetch_inferior_registers): Check for SVE.
+	(aarch64_linux_store_inferior_registers): Likewise.
+	* nat/aarch64-sve-linux-ptrace.c (aarch64_sve_get_sveregs): New
+	function.
+	(aarch64_sve_regs_copy_to_regcache): Likewise.
+	(aarch64_sve_regs_copy_from_regcache): Likewise.
+	* nat/aarch64-sve-linux-ptrace.h (aarch64_sve_get_sveregs): New
+	declaration.
+	(aarch64_sve_regs_copy_to_regcache): Likewise.
+	(aarch64_sve_regs_copy_from_regcache): Likewise.
+	(sve_context): Structure from Linux headers.
+	(SVE_SIG_ZREGS_SIZE): Define from Linux headers.
+	(SVE_SIG_ZREG_SIZE): Likewise.
+	(SVE_SIG_PREG_SIZE): Likewise.
+	(SVE_SIG_FFR_SIZE): Likewise.
+	(SVE_SIG_REGS_OFFSET): Likewise.
+	(SVE_SIG_ZREGS_OFFSET): Likewise.
+	(SVE_SIG_ZREG_OFFSET): Likewise.
+	(SVE_SIG_ZREGS_SIZE): Likewise.
+	(SVE_SIG_PREGS_OFFSET): Likewise.
+	(SVE_SIG_PREG_OFFSET): Likewise.
+	(SVE_SIG_PREGS_SIZE): Likewise.
+	(SVE_SIG_FFR_OFFSET): Likewise.
+	(SVE_SIG_REGS_SIZE): Likewise.
+	(SVE_SIG_CONTEXT_SIZE): Likewise.
+	(SVE_PT_REGS_MASK): Likewise.
+	(SVE_PT_REGS_FPSIMD): Likewise.
+	(SVE_PT_REGS_SVE): Likewise.
+	(SVE_PT_VL_INHERIT): Likewise.
+	(SVE_PT_VL_ONEXEC): Likewise.
+	(SVE_PT_REGS_OFFSET): Likewise.
+	(SVE_PT_FPSIMD_OFFSET): Likewise.
+	(SVE_PT_FPSIMD_SIZE): Likewise.
+	(SVE_PT_SVE_ZREG_SIZE): Likewise.
+	(SVE_PT_SVE_PREG_SIZE): Likewise.
+	(SVE_PT_SVE_FFR_SIZE): Likewise.
+	(SVE_PT_SVE_FPSR_SIZE): Likewise.
+	(SVE_PT_SVE_FPCR_SIZE): Likewise.
+	(__SVE_SIG_TO_PT): Likewise.
+	(SVE_PT_SVE_OFFSET): Likewise.
+	(SVE_PT_SVE_ZREGS_OFFSET): Likewise.
+	(SVE_PT_SVE_ZREG_OFFSET): Likewise.
+	(SVE_PT_SVE_ZREGS_SIZE): Likewise.
+	(SVE_PT_SVE_PREGS_OFFSET): Likewise.
+	(SVE_PT_SVE_PREG_OFFSET): Likewise.
+	(SVE_PT_SVE_PREGS_SIZE): Likewise.
+	(SVE_PT_SVE_FFR_OFFSET): Likewise.
+	(SVE_PT_SVE_FPSR_OFFSET): Likewise.
+	(SVE_PT_SVE_FPCR_OFFSET): Likewise.
+	(SVE_PT_SVE_SIZE): Likewise.
+	(SVE_PT_SIZE): Likewise.
+	(HAS_SVE_STATE): New define.
+
+2018-06-18  Alan Hayward  <alan.hayward@arm.com>
+
+	* nat/aarch64-sve-linux-sigcontext.h: New file.
+	* nat/aarch64-sve-linux-ptrace.h (SVE_VQ_BYTES): Move to
+	new files.
+	(SVE_VQ_MIN): Likewise.
+	(SVE_VQ_MAX): Likewise.
+	(SVE_VL_MIN): Likewise.
+	(SVE_VL_MAX): Likewise.
+	(SVE_NUM_ZREGS): Likewise.
+	(SVE_NUM_PREGS): Likewise.
+	(sve_vl_valid): Likewise.
+	(struct user_sve_header): Likewise.
+
+2018-06-16  Andrew Burgess  <andrew.burgess@embecosm.com>
+	    Richard Bunt <Richard.Bunt@arm.com>
+
+	* linux-nat.c (stop_wait_callback): Don't discard SIGSTOP if it
+	was requested by GDB.
+
+2018-06-15  Tom de Vries  <tdevries@suse.de>
+
+	* MAINTAINERS (Write After Approval): Add Tom de Vries.
+
+2018-06-14  Simon Marchi  <simon.marchi@polymtl.ca>
+
+	* gnulib/update-gnulib.sh: Print expected versions of
+	autoconf/aclocal.
+
+2018-06-14  Simon Marchi  <simon.marchi@ericsson.com>
+
+	* arch-utils.c (default_type_align): Use type_length_units.
+	* gdbtypes.c (type_align): Use type_length_units.
+
+2018-06-14  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+	* cli/cli-script.c (_initialize_cli_script): Fix online documentation
+	of 'define' command.
+
+2018-06-14  Tom de Vries  <tdevries@suse.de>
+
+	PR cli/22573
+	* infcmd.c (print_return_value_1): Use get_user_print_options instead of
+	get_no_prettyformat_print_options.
+
+2018-06-13  Simon Marchi  <simon.marchi@ericsson.com>
+
+	* sparc-nat.h: Include target.h.
+	* sparc64-linux-nat.c (class sparc64_linux_nat_target)
+	<fetch_registers>: Remove this argument in function call.
+	<store_registers>: Remove this argument in function call, remove
+	extra semicolon.
+	<low_forget_process>: Call sparc64_forget_process instead of
+	sparc_forget_process.
+
+2018-06-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+	* procfs.c (_initialize_procfs): Use add_inf_child_target.
+	(procfs_target::make_corefile_notes): Adjust to new
+	target_read_alloc return type.
+
+2018-06-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+	    Stephen Roberts  <stephen.roberts@arm.com>
+
+	PR gdb/22882
+	* infrun.c (fetch_inferior_event): If GDB is not proceeding then
+	run INF_EXEC_COMPLETE handler, even when not calling normal_stop.
+	Move should_notify_stop local into more inner scope.
+
+2018-06-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+	    Stephen Roberts  <stephen.roberts@arm.com>
+
+	PR gdb/22882
+	* infrun.c (resume_1): Add call to mark_async_event_handler.
+
+2018-06-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+	* infrun.c (do_target_wait): Change old version of $pc printed.
+
+2018-06-11  Simon Marchi  <simon.marchi@ericsson.com>
+
+	* dwarf2read.c (read_index_from_section): Rename to...
+	(read_gdb_index_from_section): ... this, update all callers.
+	(dwarf2_read_index): Rename to...
+	(dwarf2_read_gdb_index): ... this, update all callers.
+
 2018-06-11  John David Anglin  <danglin@gcc.gnu.org>
 
 	* gdb/hppa-linux-nat.c
@@ -745,6 +970,12 @@
 	* symfile.c (addr_info_make_relative): Likewise.
 	* thread.c (value_in_thread_stack_temporaries): Likewise.
 
+2018-06-12  Weimin Pan  <weimin.pan@oracle.com>
+
+	PR gdb/16841
+	* valops.c (value_struct_elt_for_reference): Call check_typedef on
+	aggregate type to get its real type before accessing it.
+
 2018-05-29  Weimin Pan  <weimin.pan@oracle.com>
 
 	* minsyms.h (lookup_minimal_symbol_and_objfile): Remove declaration.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/c-lang.c ./gdb/c-lang.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/c-lang.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/c-lang.c	2018-06-19 01:49:02.000000000 +0000
@@ -234,7 +234,7 @@ c_printstr (struct ui_file *stream, stru
    target charset.  */
 
 void
-c_get_string (struct value *value, gdb_byte **buffer,
+c_get_string (struct value *value, gdb::unique_xmalloc_ptr<gdb_byte> *buffer,
 	      int *length, struct type **char_type,
 	      const char **charset)
 {
@@ -300,8 +300,8 @@ c_get_string (struct value *value, gdb_b
       /* I is now either a user-defined length, the number of non-null
  	 characters, or FETCHLIMIT.  */
       *length = i * width;
-      *buffer = (gdb_byte *) xmalloc (*length);
-      memcpy (*buffer, contents, *length);
+      buffer->reset ((gdb_byte *) xmalloc (*length));
+      memcpy (buffer->get (), contents, *length);
       err = 0;
     }
   else
@@ -326,10 +326,7 @@ c_get_string (struct value *value, gdb_b
       err = read_string (addr, *length, width, fetchlimit,
 			 byte_order, buffer, length);
       if (err != 0)
-	{
-	  xfree (*buffer);
-	  memory_error (TARGET_XFER_E_IO, addr);
-	}
+	memory_error (TARGET_XFER_E_IO, addr);
     }
 
   /* If the LENGTH is specified at -1, we want to return the string
@@ -339,7 +336,7 @@ c_get_string (struct value *value, gdb_b
   if (req_length == -1)
     /* If the last character is null, subtract it from LENGTH.  */
     if (*length > 0
- 	&& extract_unsigned_integer (*buffer + *length - width,
+	&& extract_unsigned_integer (buffer->get () + *length - width,
 				     width, byte_order) == 0)
       *length -= width;
   
@@ -843,7 +840,6 @@ extern const struct language_defn c_lang
   c_extensions,
   &exp_descriptor_c,
   c_parse,
-  c_yyerror,
   null_post_parser,
   c_printchar,			/* Print a character constant */
   c_printstr,			/* Function to print string constant */
@@ -989,7 +985,6 @@ extern const struct language_defn cplus_
   cplus_extensions,
   &exp_descriptor_c,
   c_parse,
-  c_yyerror,
   null_post_parser,
   c_printchar,			/* Print a character constant */
   c_printstr,			/* Function to print string constant */
@@ -1044,7 +1039,6 @@ extern const struct language_defn asm_la
   asm_extensions,
   &exp_descriptor_c,
   c_parse,
-  c_yyerror,
   null_post_parser,
   c_printchar,			/* Print a character constant */
   c_printstr,			/* Function to print string constant */
@@ -1099,7 +1093,6 @@ extern const struct language_defn minima
   NULL,
   &exp_descriptor_c,
   c_parse,
-  c_yyerror,
   null_post_parser,
   c_printchar,			/* Print a character constant */
   c_printstr,			/* Function to print string constant */
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/c-lang.h ./gdb/c-lang.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/c-lang.h	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/c-lang.h	2018-06-19 01:49:02.000000000 +0000
@@ -63,8 +63,6 @@ DEF_ENUM_FLAGS_TYPE (enum c_string_type_
 
 extern int c_parse (struct parser_state *);
 
-extern void c_yyerror (const char *);
-
 extern int c_parse_escape (const char **, struct obstack *);
 
 /* Defined in c-typeprint.c */
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/cli/cli-script.c ./gdb/cli/cli-script.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/cli/cli-script.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/cli/cli-script.c	2018-06-19 01:49:02.000000000 +0000
@@ -1602,7 +1602,9 @@ Define a new command name.  Command name
 Definition appears on following lines, one command per line.\n\
 End with a line of just \"end\".\n\
 Use the \"document\" command to give documentation for the new command.\n\
-Commands defined in this way may have up to ten arguments."));
+Commands defined in this way may accept an unlimited number of arguments\n\
+accessed via $arg0 .. $argN.  $argc tells how many arguments have\n\
+been passed."));
 
   add_com ("while", class_support, while_command, _("\
 Execute nested commands WHILE the conditional expression is non zero.\n\
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/d-exp.c ./gdb/d-exp.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/d-exp.c	2018-06-12 01:53:13.000000000 +0000
+++ ./gdb/d-exp.c	2018-06-19 01:53:05.000000000 +0000
@@ -102,7 +102,7 @@ int yyparse (void);
 
 static int yylex (void);
 
-void yyerror (const char *);
+static void yyerror (const char *);
 
 static int type_aggregate_p (struct type *);
 
@@ -3576,13 +3576,13 @@ d_parse (struct parser_state *par_state)
   return yyparse ();
 }
 
-void
+static void
 yyerror (const char *msg)
 {
   if (prev_lexptr)
     lexptr = prev_lexptr;
 
-  error (_("A %s in expression, near `%s'."), (msg ? msg : "error"), lexptr);
+  error (_("A %s in expression, near `%s'."), msg, lexptr);
 }
 
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/d-exp.y ./gdb/d-exp.y
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/d-exp.y	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/d-exp.y	2018-06-19 01:49:02.000000000 +0000
@@ -69,7 +69,7 @@ int yyparse (void);
 
 static int yylex (void);
 
-void yyerror (const char *);
+static void yyerror (const char *);
 
 static int type_aggregate_p (struct type *);
 
@@ -1627,12 +1627,12 @@ d_parse (struct parser_state *par_state)
   return yyparse ();
 }
 
-void
+static void
 yyerror (const char *msg)
 {
   if (prev_lexptr)
     lexptr = prev_lexptr;
 
-  error (_("A %s in expression, near `%s'."), (msg ? msg : "error"), lexptr);
+  error (_("A %s in expression, near `%s'."), msg, lexptr);
 }
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/d-lang.c ./gdb/d-lang.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/d-lang.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/d-lang.c	2018-06-19 01:49:02.000000000 +0000
@@ -216,7 +216,6 @@ extern const struct language_defn d_lang
   d_extensions,
   &exp_descriptor_c,
   d_parse,
-  d_yyerror,
   null_post_parser,
   c_printchar,			/* Print a character constant.  */
   c_printstr,			/* Function to print string constant.  */
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/d-lang.h ./gdb/d-lang.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/d-lang.h	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/d-lang.h	2018-06-19 01:49:02.000000000 +0000
@@ -58,8 +58,6 @@ struct builtin_d_type
 
 extern int d_parse (struct parser_state *);
 
-extern void d_yyerror (const char *);
-
 /* Defined in d-lang.c  */
 
 extern const char *d_main_name (void);
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/doc/ChangeLog ./gdb/doc/ChangeLog
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/doc/ChangeLog	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/doc/ChangeLog	2018-06-19 01:49:02.000000000 +0000
@@ -1,3 +1,7 @@
+2018-06-14  Tom de Vries  <tdevries@suse.de>
+
+	* gdb.texinfo (Background Execution): Add @cindex for '&'.
+
 2018-06-11  Eli Zaretskii  <eliz@gnu.org>
 
 	* gdb.texinfo (Maintenance Commands): Add a missing @anchor.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/doc/gcore.1 ./gdb/doc/gcore.1
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/doc/gcore.1	2018-06-12 01:53:44.000000000 +0000
+++ ./gdb/doc/gcore.1	2018-06-19 01:53:34.000000000 +0000
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "GCORE 1"
-.TH GCORE 1 "2018-06-12" "gdb-8.1.50.20180612-git" "GNU Development Tools"
+.TH GCORE 1 "2018-06-19" "gdb-8.1.50.20180619-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/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/doc/gdb.1 ./gdb/doc/gdb.1
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/doc/gdb.1	2018-06-12 01:53:43.000000000 +0000
+++ ./gdb/doc/gdb.1	2018-06-19 01:53:33.000000000 +0000
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "GDB 1"
-.TH GDB 1 "2018-06-12" "gdb-8.1.50.20180612-git" "GNU Development Tools"
+.TH GDB 1 "2018-06-19" "gdb-8.1.50.20180619-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/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/doc/gdb-add-index.1 ./gdb/doc/gdb-add-index.1
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/doc/gdb-add-index.1	2018-06-12 01:53:44.000000000 +0000
+++ ./gdb/doc/gdb-add-index.1	2018-06-19 01:53:34.000000000 +0000
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "GDB-ADD-INDEX 1"
-.TH GDB-ADD-INDEX 1 "2018-06-12" "gdb-8.1.50.20180612-git" "GNU Development Tools"
+.TH GDB-ADD-INDEX 1 "2018-06-19" "gdb-8.1.50.20180619-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/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/doc/gdb.info ./gdb/doc/gdb.info
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/doc/gdb.info	2018-06-12 01:53:40.000000000 +0000
+++ ./gdb/doc/gdb.info	2018-06-19 01:53:30.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.1.50.20180612-git.
+Source-Level Debugger' for GDB (GDB) Version 8.1.50.20180619-git.
 
    Copyright (C) 1988-2018 Free Software Foundation, Inc.
 
@@ -783,6 +783,6 @@ Ref: gdb-add-index1893714
 Node: Copying1894588
 Node: GNU Free Documentation License1932149
 Node: Concept Index1957296
-Node: Command and Variable Index2094574
+Node: Command and Variable Index2094710
 
 End Tag Table
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/doc/gdb.info-1 ./gdb/doc/gdb.info-1
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/doc/gdb.info-1	2018-06-12 01:53:28.000000000 +0000
+++ ./gdb/doc/gdb.info-1	2018-06-19 01:53:17.000000000 +0000
@@ -21,7 +21,7 @@ END-INFO-DIR-ENTRY
    This file documents the GNU debugger GDB.
 
    This is the Tenth Edition, of 'Debugging with GDB: the GNU
-Source-Level Debugger' for GDB (GDB) Version 8.1.50.20180612-git.
+Source-Level Debugger' for GDB (GDB) Version 8.1.50.20180619-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.1.50.20180612-git.
+   This is the Tenth Edition, for GDB (GDB) Version 8.1.50.20180619-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.1.50.20180612-git, Copyright 1999 Free Software Foundation, Inc...
+     GDB 8.1.50.20180619-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/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/doc/gdb.info-2 ./gdb/doc/gdb.info-2
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/doc/gdb.info-2	2018-06-12 01:53:30.000000000 +0000
+++ ./gdb/doc/gdb.info-2	2018-06-19 01:53:20.000000000 +0000
@@ -21,7 +21,7 @@ END-INFO-DIR-ENTRY
    This file documents the GNU debugger GDB.
 
    This is the Tenth Edition, of 'Debugging with GDB: the GNU
-Source-Level Debugger' for GDB (GDB) Version 8.1.50.20180612-git.
+Source-Level Debugger' for GDB (GDB) Version 8.1.50.20180619-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/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/doc/gdb.info-3 ./gdb/doc/gdb.info-3
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/doc/gdb.info-3	2018-06-12 01:53:32.000000000 +0000
+++ ./gdb/doc/gdb.info-3	2018-06-19 01:53:22.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.1.50.20180612-git.
+Source-Level Debugger' for GDB (GDB) Version 8.1.50.20180619-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/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/doc/gdb.info-4 ./gdb/doc/gdb.info-4
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/doc/gdb.info-4	2018-06-12 01:53:34.000000000 +0000
+++ ./gdb/doc/gdb.info-4	2018-06-19 01:53:24.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.1.50.20180612-git.
+Source-Level Debugger' for GDB (GDB) Version 8.1.50.20180619-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/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/doc/gdb.info-5 ./gdb/doc/gdb.info-5
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/doc/gdb.info-5	2018-06-12 01:53:36.000000000 +0000
+++ ./gdb/doc/gdb.info-5	2018-06-19 01:53:26.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.1.50.20180612-git.
+Source-Level Debugger' for GDB (GDB) Version 8.1.50.20180619-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/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/doc/gdb.info-6 ./gdb/doc/gdb.info-6
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/doc/gdb.info-6	2018-06-12 01:53:38.000000000 +0000
+++ ./gdb/doc/gdb.info-6	2018-06-19 01:53:28.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.1.50.20180612-git.
+Source-Level Debugger' for GDB (GDB) Version 8.1.50.20180619-git.
 
    Copyright (C) 1988-2018 Free Software Foundation, Inc.
 
@@ -1555,7 +1555,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.1.50.20180612-git/gdb/gdb.info', and it refers to subordinate
+'gdb-8.1.50.20180619-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'
@@ -1565,8 +1565,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.1.50.20180612-git', in the case of version
-8.1.50.20180612-git), you can make the Info file by typing:
+directory ('gdb-8.1.50.20180619-git', in the case of version
+8.1.50.20180619-git), you can make the Info file by typing:
 
      cd gdb
      make gdb.info
@@ -1591,7 +1591,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.1.50.20180612-git/gdb')
+main source directory (for example, to 'gdb-8.1.50.20180619-git/gdb')
 and type:
 
      make gdb.dvi
@@ -1600,8 +1600,8 @@ and type:
 
    ---------- Footnotes ----------
 
-   (1) In 'gdb-8.1.50.20180612-git/gdb/refcard.ps' of the version
-8.1.50.20180612-git release.
+   (1) In 'gdb-8.1.50.20180619-git/gdb/refcard.ps' of the version
+8.1.50.20180619-git release.
 
 
 File: gdb.info,  Node: Installing GDB,  Next: Maintenance Commands,  Prev: Formatting Documentation,  Up: Top
@@ -1719,39 +1719,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.1.50.20180612-git distribution is in
-the 'gdb-8.1.50.20180612-git' directory.  That directory contains:
+   For example, the GDB version 8.1.50.20180619-git distribution is in
+the 'gdb-8.1.50.20180619-git' directory.  That directory contains:
 
-'gdb-8.1.50.20180612-git/configure (and supporting files)'
+'gdb-8.1.50.20180619-git/configure (and supporting files)'
      script for configuring GDB and all its supporting libraries
 
-'gdb-8.1.50.20180612-git/gdb'
+'gdb-8.1.50.20180619-git/gdb'
      the source specific to GDB itself
 
-'gdb-8.1.50.20180612-git/bfd'
+'gdb-8.1.50.20180619-git/bfd'
      source for the Binary File Descriptor library
 
-'gdb-8.1.50.20180612-git/include'
+'gdb-8.1.50.20180619-git/include'
      GNU include files
 
-'gdb-8.1.50.20180612-git/libiberty'
+'gdb-8.1.50.20180619-git/libiberty'
      source for the '-liberty' free software library
 
-'gdb-8.1.50.20180612-git/opcodes'
+'gdb-8.1.50.20180619-git/opcodes'
      source for the library of opcode tables and disassemblers
 
-'gdb-8.1.50.20180612-git/readline'
+'gdb-8.1.50.20180619-git/readline'
      source for the GNU command-line interface
 
-'gdb-8.1.50.20180612-git/glob'
+'gdb-8.1.50.20180619-git/glob'
      source for the GNU filename pattern-matching subroutine
 
-'gdb-8.1.50.20180612-git/mmalloc'
+'gdb-8.1.50.20180619-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.1.50.20180612-git' directory.
+the 'gdb-8.1.50.20180619-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
@@ -1759,7 +1759,7 @@ platform on which GDB will run as an arg
 
    For example:
 
-     cd gdb-8.1.50.20180612-git
+     cd gdb-8.1.50.20180619-git
      ./configure HOST
      make
 
@@ -1781,8 +1781,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.1.50.20180612-git' source directory for version
-8.1.50.20180612-git, 'configure' creates configuration files for every
+'gdb-8.1.50.20180619-git' source directory for version
+8.1.50.20180619-git, 'configure' creates configuration files for every
 directory level underneath (unless you tell it not to, with the
 '--norecursion' option).
 
@@ -1822,13 +1822,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.1.50.20180612-git, you can build GDB in a
+   For example, with version 8.1.50.20180619-git, you can build GDB in a
 separate directory for a Sun 4 like this:
 
-     cd gdb-8.1.50.20180612-git
+     cd gdb-8.1.50.20180619-git
      mkdir ../gdb-sun4
      cd ../gdb-sun4
-     ../gdb-8.1.50.20180612-git/configure sun4
+     ../gdb-8.1.50.20180619-git/configure sun4
      make
 
    When 'configure' builds a configuration using a remote source
@@ -1839,7 +1839,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.1.50.20180612-git/gdb/configure', you are configuring only one
+'../gdb-8.1.50.20180619-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'.
 
@@ -1855,8 +1855,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.1.50.20180612-git' (or in a separate configured directory
-configured with '--srcdir=DIRNAME/gdb-8.1.50.20180612-git'), you will
+'gdb-8.1.50.20180619-git' (or in a separate configured directory
+configured with '--srcdir=DIRNAME/gdb-8.1.50.20180619-git'), you will
 build all the required libraries, and then build GDB.
 
    When you have multiple hosts or targets configured in separate
@@ -1901,7 +1901,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.1.50.20180612-git', for version 8.1.50.20180612-git).
+('gdb-8.1.50.20180619-git', for version 8.1.50.20180619-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/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/doc/gdb.info-7 ./gdb/doc/gdb.info-7
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/doc/gdb.info-7	2018-06-12 01:53:40.000000000 +0000
+++ ./gdb/doc/gdb.info-7	2018-06-19 01:53:30.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.1.50.20180612-git.
+Source-Level Debugger' for GDB (GDB) Version 8.1.50.20180619-git.
 
    Copyright (C) 1988-2018 Free Software Foundation, Inc.
 
@@ -3582,6 +3582,8 @@ Concept Index
 * $_ and info breakpoints:               Set Breaks.         (line  126)
 * $_ and info line:                      Machine Code.       (line   34)
 * $_, $__, and value history:            Memory.             (line  119)
+* &, background execution of commands:   Background Execution.
+                                                             (line   16)
 * --annotate:                            Mode Options.       (line  121)
 * --args:                                Mode Options.       (line  134)
 * --attach, gdbserver option:            Server.             (line   86)
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/doc/gdbinit.5 ./gdb/doc/gdbinit.5
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/doc/gdbinit.5	2018-06-12 01:53:44.000000000 +0000
+++ ./gdb/doc/gdbinit.5	2018-06-19 01:53:34.000000000 +0000
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "GDBINIT 5"
-.TH GDBINIT 5 "2018-06-12" "gdb-8.1.50.20180612-git" "GNU Development Tools"
+.TH GDBINIT 5 "2018-06-19" "gdb-8.1.50.20180619-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/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/doc/gdbserver.1 ./gdb/doc/gdbserver.1
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/doc/gdbserver.1	2018-06-12 01:53:43.000000000 +0000
+++ ./gdb/doc/gdbserver.1	2018-06-19 01:53:33.000000000 +0000
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "GDBSERVER 1"
-.TH GDBSERVER 1 "2018-06-12" "gdb-8.1.50.20180612-git" "GNU Development Tools"
+.TH GDBSERVER 1 "2018-06-19" "gdb-8.1.50.20180619-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/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/doc/gdb.texinfo ./gdb/doc/gdb.texinfo
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/doc/gdb.texinfo	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/doc/gdb.texinfo	2018-06-19 01:49:02.000000000 +0000
@@ -6319,6 +6319,7 @@ a command prompt so that you can issue o
 If the target doesn't support async mode, @value{GDBN} issues an error
 message if you attempt to use the background execution commands.
 
+@cindex @code{&}, background execution of commands
 To specify background execution, add a @code{&} to the command.  For example,
 the background form of the @code{continue} command is @code{continue&}, or
 just @code{c&}.  The execution commands that accept background execution
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/dwarf2read.c ./gdb/dwarf2read.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/dwarf2read.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/dwarf2read.c	2018-06-19 01:49:02.000000000 +0000
@@ -3415,15 +3415,15 @@ find_slot_in_mapped_hash (struct mapped_
    Returns 1 if all went well, 0 otherwise.  */
 
 static bool
-read_index_from_section (struct objfile *objfile,
-			 const char *filename,
-			 bool deprecated_ok,
-			 struct dwarf2_section_info *section,
-			 struct mapped_index *map,
-			 const gdb_byte **cu_list,
-			 offset_type *cu_list_elements,
-			 const gdb_byte **types_list,
-			 offset_type *types_list_elements)
+read_gdb_index_from_section (struct objfile *objfile,
+			     const char *filename,
+			     bool deprecated_ok,
+			     struct dwarf2_section_info *section,
+			     struct mapped_index *map,
+			     const gdb_byte **cu_list,
+			     offset_type *cu_list_elements,
+			     const gdb_byte **types_list,
+			     offset_type *types_list_elements)
 {
   const gdb_byte *addr;
   offset_type version;
@@ -3532,7 +3532,7 @@ to use the section anyway."),
    elements of all the CUs and return 1.  Otherwise, return 0.  */
 
 static int
-dwarf2_read_index (struct dwarf2_per_objfile *dwarf2_per_objfile)
+dwarf2_read_gdb_index (struct dwarf2_per_objfile *dwarf2_per_objfile)
 {
   const gdb_byte *cu_list, *types_list, *dwz_list = NULL;
   offset_type cu_list_elements, types_list_elements, dwz_list_elements = 0;
@@ -3540,11 +3540,11 @@ dwarf2_read_index (struct dwarf2_per_obj
   struct objfile *objfile = dwarf2_per_objfile->objfile;
 
   std::unique_ptr<struct mapped_index> map (new struct mapped_index);
-  if (!read_index_from_section (objfile, objfile_name (objfile),
-				use_deprecated_index_sections,
-				&dwarf2_per_objfile->gdb_index, map.get (),
-				&cu_list, &cu_list_elements,
-				&types_list, &types_list_elements))
+  if (!read_gdb_index_from_section (objfile, objfile_name (objfile),
+				    use_deprecated_index_sections,
+				    &dwarf2_per_objfile->gdb_index, map.get (),
+				    &cu_list, &cu_list_elements,
+				    &types_list, &types_list_elements))
     return 0;
 
   /* Don't use the index if it's empty.  */
@@ -3560,12 +3560,12 @@ dwarf2_read_index (struct dwarf2_per_obj
       const gdb_byte *dwz_types_ignore;
       offset_type dwz_types_elements_ignore;
 
-      if (!read_index_from_section (objfile, bfd_get_filename (dwz->dwz_bfd),
-				    1,
-				    &dwz->gdb_index, &dwz_map,
-				    &dwz_list, &dwz_list_elements,
-				    &dwz_types_ignore,
-				    &dwz_types_elements_ignore))
+      if (!read_gdb_index_from_section (objfile,
+					bfd_get_filename (dwz->dwz_bfd), 1,
+					&dwz->gdb_index, &dwz_map,
+					&dwz_list, &dwz_list_elements,
+					&dwz_types_ignore,
+					&dwz_types_elements_ignore))
 	{
 	  warning (_("could not read '.gdb_index' section from %s; skipping"),
 		   bfd_get_filename (dwz->dwz_bfd));
@@ -6198,7 +6198,7 @@ dwarf2_initialize_objfile (struct objfil
       return true;
     }
 
-  if (dwarf2_read_index (dwarf2_per_objfile))
+  if (dwarf2_read_gdb_index (dwarf2_per_objfile))
     {
       *index_kind = dw_index_kind::GDB_INDEX;
       return true;
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/f-exp.c ./gdb/f-exp.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/f-exp.c	2018-06-12 01:53:13.000000000 +0000
+++ ./gdb/f-exp.c	2018-06-19 01:53:05.000000000 +0000
@@ -101,7 +101,7 @@ int yyparse (void);
 
 static int yylex (void);
 
-void yyerror (const char *);
+static void yyerror (const char *);
 
 static void growbuf_by_size (int);
 
@@ -3138,12 +3138,12 @@ f_parse (struct parser_state *par_state)
   return yyparse ();
 }
 
-void
+static void
 yyerror (const char *msg)
 {
   if (prev_lexptr)
     lexptr = prev_lexptr;
 
-  error (_("A %s in expression, near `%s'."), (msg ? msg : "error"), lexptr);
+  error (_("A %s in expression, near `%s'."), msg, lexptr);
 }
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/f-exp.y ./gdb/f-exp.y
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/f-exp.y	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/f-exp.y	2018-06-19 01:49:02.000000000 +0000
@@ -72,7 +72,7 @@ int yyparse (void);
 
 static int yylex (void);
 
-void yyerror (const char *);
+static void yyerror (const char *);
 
 static void growbuf_by_size (int);
 
@@ -1216,11 +1216,11 @@ f_parse (struct parser_state *par_state)
   return yyparse ();
 }
 
-void
+static void
 yyerror (const char *msg)
 {
   if (prev_lexptr)
     lexptr = prev_lexptr;
 
-  error (_("A %s in expression, near `%s'."), (msg ? msg : "error"), lexptr);
+  error (_("A %s in expression, near `%s'."), msg, lexptr);
 }
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/f-lang.c ./gdb/f-lang.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/f-lang.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/f-lang.c	2018-06-19 01:49:02.000000000 +0000
@@ -257,7 +257,6 @@ extern const struct language_defn f_lang
   f_extensions,
   &exp_descriptor_standard,
   f_parse,			/* parser */
-  f_yyerror,			/* parser error function */
   null_post_parser,
   f_printchar,			/* Print character constant */
   f_printstr,			/* function to print string constant */
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/f-lang.h ./gdb/f-lang.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/f-lang.h	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/f-lang.h	2018-06-19 01:49:02.000000000 +0000
@@ -25,8 +25,6 @@ struct parser_state;
 
 extern int f_parse (struct parser_state *);
 
-extern void f_yyerror (const char *);	/* Defined in f-exp.y */
-
 extern void f_print_type (struct type *, const char *, struct ui_file *, int,
 			  int, const struct type_print_options *);
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/gdbserver/ChangeLog ./gdb/gdbserver/ChangeLog
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/gdbserver/ChangeLog	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/gdbserver/ChangeLog	2018-06-19 01:49:02.000000000 +0000
@@ -1,3 +1,19 @@
+2018-06-18  Simon Marchi  <simon.marchi@ericsson.com>
+
+	* tracepoint.h (current_traceframe): Remove declaration.
+
+2018-06-18  Alan Hayward  <alan.hayward@arm.com>
+
+	* linux-aarch64-low.c (is_sve_tdesc): New function.
+	(aarch64_sve_regs_copy_to_regcache): Likewise.
+	(aarch64_sve_regs_copy_from_regcache): Likewise.
+	(aarch64_regs_info): Add SVE checks.
+	(initialize_low_arch): Initialize SVE.
+
+2018-06-18  Alan Hayward  <alan.hayward@arm.com>
+
+	* Makefile.in: Add aarch64-sve-linux-ptrace.c.
+
 2018-06-11  Alan Hayward  <alan.hayward@arm.com>
 
 	* linux-aarch64-ipa.c (get_ipa_tdesc): Add null VQ param.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/gdbserver/linux-aarch64-low.c ./gdb/gdbserver/linux-aarch64-low.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/gdbserver/linux-aarch64-low.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/gdbserver/linux-aarch64-low.c	2018-06-19 01:49:02.000000000 +0000
@@ -41,6 +41,7 @@
 #include "arch/aarch64.h"
 #include "linux-aarch64-tdesc.h"
 #include "nat/aarch64-sve-linux-ptrace.h"
+#include "tdesc.h"
 
 #ifdef HAVE_SYS_REG_H
 #include <sys/reg.h>
@@ -73,6 +74,16 @@ is_64bit_tdesc (void)
   return register_size (regcache->tdesc, 0) == 8;
 }
 
+/* Return true if the regcache contains the number of SVE registers.  */
+
+static bool
+is_sve_tdesc (void)
+{
+  struct regcache *regcache = get_thread_regcache (current_thread, 0);
+
+  return regcache->tdesc->reg_defs.size () == AARCH64_SVE_NUM_REGS;
+}
+
 /* Implementation of linux_target_ops method "cannot_store_register".  */
 
 static int
@@ -514,6 +525,22 @@ aarch64_arch_setup (void)
   aarch64_linux_get_debug_reg_capacity (lwpid_of (current_thread));
 }
 
+/* Wrapper for aarch64_sve_regs_copy_to_reg_buf.  */
+
+static void
+aarch64_sve_regs_copy_to_regcache (struct regcache *regcache, const void *buf)
+{
+  return aarch64_sve_regs_copy_to_reg_buf (regcache, buf);
+}
+
+/* Wrapper for aarch64_sve_regs_copy_from_reg_buf.  */
+
+static void
+aarch64_sve_regs_copy_from_regcache (struct regcache *regcache, void *buf)
+{
+  return aarch64_sve_regs_copy_from_reg_buf (regcache, buf);
+}
+
 static struct regset_info aarch64_regsets[] =
 {
   { PTRACE_GETREGSET, PTRACE_SETREGSET, NT_PRSTATUS,
@@ -540,15 +567,44 @@ static struct regs_info regs_info_aarch6
     &aarch64_regsets_info,
   };
 
+static struct regset_info aarch64_sve_regsets[] =
+{
+  { PTRACE_GETREGSET, PTRACE_SETREGSET, NT_PRSTATUS,
+    sizeof (struct user_pt_regs), GENERAL_REGS,
+    aarch64_fill_gregset, aarch64_store_gregset },
+  { PTRACE_GETREGSET, PTRACE_SETREGSET, NT_ARM_SVE,
+    SVE_PT_SIZE (AARCH64_MAX_SVE_VQ, SVE_PT_REGS_SVE), EXTENDED_REGS,
+    aarch64_sve_regs_copy_from_regcache, aarch64_sve_regs_copy_to_regcache
+  },
+  NULL_REGSET
+};
+
+static struct regsets_info aarch64_sve_regsets_info =
+  {
+    aarch64_sve_regsets, /* regsets.  */
+    0, /* num_regsets.  */
+    NULL, /* disabled_regsets.  */
+  };
+
+static struct regs_info regs_info_aarch64_sve =
+  {
+    NULL, /* regset_bitmap.  */
+    NULL, /* usrregs.  */
+    &aarch64_sve_regsets_info,
+  };
+
 /* Implementation of linux_target_ops method "regs_info".  */
 
 static const struct regs_info *
 aarch64_regs_info (void)
 {
-  if (is_64bit_tdesc ())
-    return &regs_info_aarch64;
-  else
+  if (!is_64bit_tdesc ())
     return &regs_info_aarch32;
+
+  if (is_sve_tdesc ())
+    return &regs_info_aarch64_sve;
+
+  return &regs_info_aarch64;
 }
 
 /* Implementation of linux_target_ops method "supports_tracepoints".  */
@@ -3027,6 +3083,7 @@ initialize_low_arch (void)
   initialize_low_arch_aarch32 ();
 
   initialize_regsets_info (&aarch64_regsets_info);
+  initialize_regsets_info (&aarch64_sve_regsets_info);
 
 #if GDB_SELF_TEST
   initialize_low_tdesc ();
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/gdbserver/Makefile.in ./gdb/gdbserver/Makefile.in
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/gdbserver/Makefile.in	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/gdbserver/Makefile.in	2018-06-19 01:49:02.000000000 +0000
@@ -219,6 +219,7 @@ SFILES = \
 	$(srcdir)/common/tdesc.c \
 	$(srcdir)/common/vec.c \
 	$(srcdir)/common/xml-utils.c \
+	$(srcdir)/nat/aarch64-sve-linux-ptrace.c \
 	$(srcdir)/nat/linux-btrace.c \
 	$(srcdir)/nat/linux-namespaces.c \
 	$(srcdir)/nat/linux-osdata.c \
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/gdbserver/tracepoint.h ./gdb/gdbserver/tracepoint.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/gdbserver/tracepoint.h	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/gdbserver/tracepoint.h	2018-06-19 01:49:02.000000000 +0000
@@ -83,8 +83,6 @@ int tracepoint_was_hit (struct thread_in
 
 void release_while_stepping_state_list (struct thread_info *tinfo);
 
-extern int current_traceframe;
-
 int in_readonly_region (CORE_ADDR addr, ULONGEST length);
 int traceframe_read_mem (int tfnum, CORE_ADDR addr,
 			 unsigned char *buf, ULONGEST length,
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/gdbtypes.c ./gdb/gdbtypes.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/gdbtypes.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/gdbtypes.c	2018-06-19 01:49:02.000000000 +0000
@@ -3072,7 +3072,7 @@ type_align (struct type *type)
 
     case TYPE_CODE_METHODPTR:
     case TYPE_CODE_MEMBERPTR:
-      align = TYPE_LENGTH (type);
+      align = type_length_units (type);
       break;
 
     case TYPE_CODE_VOID:
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/gnulib/update-gnulib.sh ./gdb/gnulib/update-gnulib.sh
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/gnulib/update-gnulib.sh	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/gnulib/update-gnulib.sh	2018-06-19 01:49:02.000000000 +0000
@@ -107,7 +107,8 @@ fi
 # Verify that we have the correct version of autoconf.
 ver=`autoconf --version 2>&1 | head -1 | sed 's/.*) //'`
 if [ "$ver" != "$AUTOCONF_VERSION" ]; then
-   echo "Error: Wrong autoconf version: $ver. Aborting."
+   echo "Error: Wrong autoconf version ($ver), we need $AUTOCONF_VERSION."
+   echo "Aborting."
    exit 1
 fi
 
@@ -138,7 +139,8 @@ fi
 #
 ver=`aclocal --version 2>&1 | grep -v "called too early to check prototype" | head -1 | sed 's/.*) //'`
 if [ "$ver" != "$ACLOCAL_VERSION" ]; then
-   echo "Error: Wrong aclocal version: $ver. Aborting."
+   echo "Error: Wrong aclocal version ($ver), we need $ACLOCAL_VERSION."
+   echo "Aborting."
    exit 1
 fi
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/go-exp.c ./gdb/go-exp.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/go-exp.c	2018-06-12 01:53:14.000000000 +0000
+++ ./gdb/go-exp.c	2018-06-19 01:53:05.000000000 +0000
@@ -101,7 +101,7 @@ int yyparse (void);
 
 static int yylex (void);
 
-void yyerror (const char *);
+static void yyerror (const char *);
 
 
 
@@ -3386,12 +3386,12 @@ go_parse (struct parser_state *par_state
   return yyparse ();
 }
 
-void
+static void
 yyerror (const char *msg)
 {
   if (prev_lexptr)
     lexptr = prev_lexptr;
 
-  error (_("A %s in expression, near `%s'."), (msg ? msg : "error"), lexptr);
+  error (_("A %s in expression, near `%s'."), msg, lexptr);
 }
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/go-exp.y ./gdb/go-exp.y
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/go-exp.y	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/go-exp.y	2018-06-19 01:49:02.000000000 +0000
@@ -81,7 +81,7 @@ int yyparse (void);
 
 static int yylex (void);
 
-void yyerror (const char *);
+static void yyerror (const char *);
 
 %}
 
@@ -1578,11 +1578,11 @@ go_parse (struct parser_state *par_state
   return yyparse ();
 }
 
-void
+static void
 yyerror (const char *msg)
 {
   if (prev_lexptr)
     lexptr = prev_lexptr;
 
-  error (_("A %s in expression, near `%s'."), (msg ? msg : "error"), lexptr);
+  error (_("A %s in expression, near `%s'."), msg, lexptr);
 }
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/go-lang.c ./gdb/go-lang.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/go-lang.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/go-lang.c	2018-06-19 01:49:02.000000000 +0000
@@ -577,7 +577,6 @@ extern const struct language_defn go_lan
   NULL,
   &exp_descriptor_c,
   go_parse,
-  go_yyerror,
   null_post_parser,
   c_printchar,			/* Print a character constant.  */
   c_printstr,			/* Function to print string constant.  */
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/go-lang.h ./gdb/go-lang.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/go-lang.h	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/go-lang.h	2018-06-19 01:49:02.000000000 +0000
@@ -60,8 +60,6 @@ enum go_type
 
 extern int go_parse (struct parser_state *);
 
-extern void go_yyerror (const char *);
-
 /* Defined in go-lang.c.  */
 
 extern const char *go_main_name (void);
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/guile/scm-value.c ./gdb/guile/scm-value.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/guile/scm-value.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/guile/scm-value.c	2018-06-19 01:49:02.000000000 +0000
@@ -1106,7 +1106,7 @@ gdbscm_value_to_string (SCM self, SCM re
   char *encoding = NULL;
   SCM errors = SCM_BOOL_F;
   int length = -1;
-  gdb_byte *buffer = NULL;
+  gdb::unique_xmalloc_ptr<gdb_byte> buffer;
   const char *la_encoding = NULL;
   struct type *char_type = NULL;
   SCM result;
@@ -1163,9 +1163,10 @@ gdbscm_value_to_string (SCM self, SCM re
   scm_dynwind_begin ((scm_t_dynwind_flags) 0);
 
   gdbscm_dynwind_xfree (encoding);
-  gdbscm_dynwind_xfree (buffer);
+  gdb_byte *buffer_contents = buffer.release ();
+  gdbscm_dynwind_xfree (buffer_contents);
 
-  result = scm_from_stringn ((const char *) buffer,
+  result = scm_from_stringn ((const char *) buffer_contents,
 			     length * TYPE_LENGTH (char_type),
 			     (encoding != NULL && *encoding != '\0'
 			      ? encoding
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/infcmd.c ./gdb/infcmd.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/infcmd.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/infcmd.c	2018-06-19 01:49:02.000000000 +0000
@@ -1687,7 +1687,7 @@ print_return_value_1 (struct ui_out *uio
       uiout->field_fmt ("gdb-result-var", "$%d",
 			 rv->value_history_index);
       uiout->text (" = ");
-      get_no_prettyformat_print_options (&opts);
+      get_user_print_options (&opts);
 
       string_file stb;
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/infrun.c ./gdb/infrun.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/infrun.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/infrun.c	2018-06-19 01:49:02.000000000 +0000
@@ -2408,7 +2408,11 @@ resume_1 (enum gdb_signal sig)
       tp->suspend.stop_signal = GDB_SIGNAL_0;
 
       if (target_can_async_p ())
-	target_async (1);
+	{
+	  target_async (1);
+	  /* Tell the event loop we have an event to process. */
+	  mark_async_event_handler (infrun_async_inferior_event_token);
+	}
       return;
     }
 
@@ -3533,7 +3537,7 @@ do_target_wait (ptid_t ptid, struct targ
 	    fprintf_unfiltered (gdb_stdlog,
 				"infrun: PC of %s changed.  was=%s, now=%s\n",
 				target_pid_to_str (tp->ptid),
-				paddress (gdbarch, tp->prev_pc),
+				paddress (gdbarch, tp->suspend.stop_pc),
 				paddress (gdbarch, pc));
 	  discard = 1;
 	}
@@ -3928,7 +3932,6 @@ fetch_inferior_event (void *client_data)
       struct inferior *inf = find_inferior_ptid (ecs->ptid);
       int should_stop = 1;
       struct thread_info *thr = ecs->event_thread;
-      int should_notify_stop = 1;
 
       delete_just_stopped_threads_infrun_breakpoints ();
 
@@ -3946,6 +3949,9 @@ fetch_inferior_event (void *client_data)
 	}
       else
 	{
+	  int should_notify_stop = 1;
+	  int proceeded = 0;
+
 	  clean_up_just_stopped_threads_fsms (ecs);
 
 	  if (thr != NULL && thr->thread_fsm != NULL)
@@ -3956,17 +3962,15 @@ fetch_inferior_event (void *client_data)
 
 	  if (should_notify_stop)
 	    {
-	      int proceeded = 0;
-
 	      /* We may not find an inferior if this was a process exit.  */
 	      if (inf == NULL || inf->control.stop_soon == NO_STOP_QUIETLY)
 		proceeded = normal_stop ();
+	    }
 
-	      if (!proceeded)
-		{
-		  inferior_event_handler (INF_EXEC_COMPLETE, NULL);
-		  cmd_done = 1;
-		}
+	  if (!proceeded)
+	    {
+	      inferior_event_handler (INF_EXEC_COMPLETE, NULL);
+	      cmd_done = 1;
 	    }
 	}
     }
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/language.c ./gdb/language.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/language.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/language.c	2018-06-19 01:49:02.000000000 +0000
@@ -46,8 +46,6 @@
 #include "c-lang.h"
 #include <algorithm>
 
-static void unk_lang_error (const char *);
-
 static int unk_lang_parser (struct parser_state *);
 
 static void set_range_case (void);
@@ -693,8 +691,9 @@ default_print_array_index (struct value 
 }
 
 void
-default_get_string (struct value *value, gdb_byte **buffer, int *length,
-		    struct type **char_type, const char **charset)
+default_get_string (struct value *value,
+		    gdb::unique_xmalloc_ptr<gdb_byte> *buffer,
+		    int *length, struct type **char_type, const char **charset)
 {
   error (_("Getting a string is unsupported in this language."));
 }
@@ -751,12 +750,6 @@ unk_lang_parser (struct parser_state *ps
 }
 
 static void
-unk_lang_error (const char *msg)
-{
-  error (_("Attempted to parse an expression with unknown language"));
-}
-
-static void
 unk_lang_emit_char (int c, struct type *type, struct ui_file *stream,
 		    int quoter)
 {
@@ -852,7 +845,6 @@ const struct language_defn unknown_langu
   NULL,
   &exp_descriptor_standard,
   unk_lang_parser,
-  unk_lang_error,
   null_post_parser,
   unk_lang_printchar,		/* Print character constant */
   unk_lang_printstr,
@@ -904,7 +896,6 @@ const struct language_defn auto_language
   NULL,
   &exp_descriptor_standard,
   unk_lang_parser,
-  unk_lang_error,
   null_post_parser,
   unk_lang_printchar,		/* Print character constant */
   unk_lang_printstr,
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/language.h ./gdb/language.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/language.h	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/language.h	2018-06-19 01:49:02.000000000 +0000
@@ -172,10 +172,6 @@ struct language_defn
 
     int (*la_parser) (struct parser_state *);
 
-    /* Parser error function.  */
-
-    void (*la_error) (const char *);
-
     /* Given an expression *EXPP created by prefixifying the result of
        la_parser, perform any remaining processing necessary to complete
        its translation.  *EXPP may change; la_post_parser is responsible 
@@ -370,8 +366,10 @@ struct language_defn
        characters, excluding any eventual terminating null character.
        Otherwise *LENGTH will include all characters - including any nulls.
        CHARSET will hold the encoding used in the string.  */
-    void (*la_get_string) (struct value *value, gdb_byte **buffer, int *length,
-			   struct type **chartype, const char **charset);
+    void (*la_get_string) (struct value *value,
+			   gdb::unique_xmalloc_ptr<gdb_byte> *buffer,
+			   int *length, struct type **chartype,
+			   const char **charset);
 
     /* Return an expression that can be used for a location
        watchpoint.  TYPE is a pointer type that points to the memory
@@ -631,8 +629,10 @@ int default_pass_by_reference (struct ty
 void default_print_typedef (struct type *type, struct symbol *new_symbol,
 			    struct ui_file *stream);
 
-void default_get_string (struct value *value, gdb_byte **buffer, int *length,
-			 struct type **char_type, const char **charset);
+void default_get_string (struct value *value,
+			 gdb::unique_xmalloc_ptr<gdb_byte> *buffer,
+			 int *length, struct type **char_type,
+			 const char **charset);
 
 /* Default name hashing function.  */
 
@@ -642,8 +642,10 @@ void default_get_string (struct value *v
    comparison operators hash to the same value.  */
 extern unsigned int default_search_name_hash (const char *search_name);
 
-void c_get_string (struct value *value, gdb_byte **buffer, int *length,
-		   struct type **char_type, const char **charset);
+void c_get_string (struct value *value,
+		   gdb::unique_xmalloc_ptr<gdb_byte> *buffer,
+		   int *length, struct type **char_type,
+		   const char **charset);
 
 /* The default implementation of la_symbol_name_matcher.  Matches with
    strncmp_iw.  */
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/linux-nat.c ./gdb/linux-nat.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/linux-nat.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/linux-nat.c	2018-06-19 01:49:02.000000000 +0000
@@ -2527,17 +2527,23 @@ stop_wait_callback (struct lwp_info *lp,
 	}
       else
 	{
-	  /* We caught the SIGSTOP that we intended to catch, so
-	     there's no SIGSTOP pending.  */
+	  /* We caught the SIGSTOP that we intended to catch.  */
 
 	  if (debug_linux_nat)
 	    fprintf_unfiltered (gdb_stdlog,
 				"SWC: Expected SIGSTOP caught for %s.\n",
 				target_pid_to_str (lp->ptid));
 
-	  /* Reset SIGNALLED only after the stop_wait_callback call
-	     above as it does gdb_assert on SIGNALLED.  */
 	  lp->signalled = 0;
+
+	  /* If we are waiting for this stop so we can report the thread
+	     stopped then we need to record this status.  Otherwise, we can
+	     now discard this stop event.  */
+	  if (lp->last_resume_kind == resume_stop)
+	    {
+	      lp->status = status;
+	      save_stop_reason (lp);
+	    }
 	}
     }
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/m2-exp.c ./gdb/m2-exp.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/m2-exp.c	2018-06-12 01:53:14.000000000 +0000
+++ ./gdb/m2-exp.c	2018-06-19 01:53:05.000000000 +0000
@@ -99,7 +99,7 @@ int yyparse (void);
 
 static int yylex (void);
 
-void yyerror (const char *);
+static void yyerror (const char *);
 
 static int parse_number (int);
 
@@ -3053,12 +3053,12 @@ m2_parse (struct parser_state *par_state
   return yyparse ();
 }
 
-void
+static void
 yyerror (const char *msg)
 {
   if (prev_lexptr)
     lexptr = prev_lexptr;
 
-  error (_("A %s in expression, near `%s'."), (msg ? msg : "error"), lexptr);
+  error (_("A %s in expression, near `%s'."), msg, lexptr);
 }
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/m2-exp.y ./gdb/m2-exp.y
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/m2-exp.y	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/m2-exp.y	2018-06-19 01:49:02.000000000 +0000
@@ -65,7 +65,7 @@ int yyparse (void);
 
 static int yylex (void);
 
-void yyerror (const char *);
+static void yyerror (const char *);
 
 static int parse_number (int);
 
@@ -1038,11 +1038,11 @@ m2_parse (struct parser_state *par_state
   return yyparse ();
 }
 
-void
+static void
 yyerror (const char *msg)
 {
   if (prev_lexptr)
     lexptr = prev_lexptr;
 
-  error (_("A %s in expression, near `%s'."), (msg ? msg : "error"), lexptr);
+  error (_("A %s in expression, near `%s'."), msg, lexptr);
 }
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/m2-lang.c ./gdb/m2-lang.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/m2-lang.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/m2-lang.c	2018-06-19 01:49:02.000000000 +0000
@@ -365,7 +365,6 @@ extern const struct language_defn m2_lan
   NULL,
   &exp_descriptor_modula2,
   m2_parse,			/* parser */
-  m2_yyerror,			/* parser error function */
   null_post_parser,
   m2_printchar,			/* Print character constant */
   m2_printstr,			/* function to print string constant */
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/m2-lang.h ./gdb/m2-lang.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/m2-lang.h	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/m2-lang.h	2018-06-19 01:49:02.000000000 +0000
@@ -22,8 +22,6 @@ struct parser_state;
 
 extern int m2_parse (struct parser_state *); /* Defined in m2-exp.y */
 
-extern void m2_yyerror (const char *);	/* Defined in m2-exp.y */
-
 /* Defined in m2-typeprint.c */
 extern void m2_print_type (struct type *, const char *, struct ui_file *, int,
 			   int, const struct type_print_options *);
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/MAINTAINERS ./gdb/MAINTAINERS
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/MAINTAINERS	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/MAINTAINERS	2018-06-19 01:49:02.000000000 +0000
@@ -648,6 +648,7 @@ Jon Turney					jon.turney@dronecode.org.
 David Ung					davidu@mips.com
 D Venkatasubramanian				dvenkat@noida.hcltech.com
 Corinna Vinschen				vinschen@redhat.com
+Tom de Vries					tdevries@suse.de
 Sami Wagiaalla					swagiaal@redhat.com
 Keith Walker					keith.walker@arm.com
 Ricard Wanderlof				ricardw@axis.com
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/nat/aarch64-sve-linux-ptrace.c ./gdb/nat/aarch64-sve-linux-ptrace.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/nat/aarch64-sve-linux-ptrace.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/nat/aarch64-sve-linux-ptrace.c	2018-06-19 01:49:02.000000000 +0000
@@ -24,6 +24,10 @@
 #include "elf/common.h"
 #include "aarch64-sve-linux-ptrace.h"
 #include "arch/aarch64.h"
+#include "common-regcache.h"
+#include "common/byte-vector.h"
+
+static bool vq_change_warned = false;
 
 /* See nat/aarch64-sve-linux-ptrace.h.  */
 
@@ -46,7 +50,7 @@ aarch64_sve_get_vq (int tid)
       return 0;
     }
 
-  long vq = sve_vq_from_vl (header.vl);
+  uint64_t vq = sve_vq_from_vl (header.vl);
 
   if (!sve_vl_valid (header.vl))
     {
@@ -56,3 +60,266 @@ aarch64_sve_get_vq (int tid)
 
   return vq;
 }
+
+/* See nat/aarch64-sve-linux-ptrace.h.  */
+
+std::unique_ptr<gdb_byte[]>
+aarch64_sve_get_sveregs (int tid)
+{
+  struct iovec iovec;
+  struct user_sve_header header;
+  uint64_t vq = aarch64_sve_get_vq (tid);
+
+  if (vq == 0)
+    perror_with_name (_("Unable to fetch SVE register header"));
+
+  /* A ptrace call with NT_ARM_SVE will return a header followed by either a
+     dump of all the SVE and FP registers, or an fpsimd structure (identical to
+     the one returned by NT_FPREGSET) if the kernel has not yet executed any
+     SVE code.  Make sure we allocate enough space for a full SVE dump.  */
+
+  iovec.iov_len = SVE_PT_SIZE (vq, SVE_PT_REGS_SVE);
+  std::unique_ptr<gdb_byte[]> buf (new gdb_byte[iovec.iov_len]);
+  iovec.iov_base = buf.get ();
+
+  if (ptrace (PTRACE_GETREGSET, tid, NT_ARM_SVE, &iovec) < 0)
+    perror_with_name (_("Unable to fetch SVE registers"));
+
+  return buf;
+}
+
+/* See nat/aarch64-sve-linux-ptrace.h.  */
+
+void
+aarch64_sve_regs_copy_to_reg_buf (struct reg_buffer_common *reg_buf,
+				  const void *buf)
+{
+  char *base = (char *) buf;
+  struct user_sve_header *header = (struct user_sve_header *) buf;
+  uint64_t vq, vg_reg_buf = 0;
+
+  vq = sve_vq_from_vl (header->vl);
+
+  /* Sanity check the data in the header.  */
+  if (!sve_vl_valid (header->vl)
+      || SVE_PT_SIZE (vq, header->flags) != header->size)
+    error (_("Invalid SVE header from kernel."));
+
+  if (REG_VALID == reg_buf->get_register_status (AARCH64_SVE_VG_REGNUM))
+    reg_buf->raw_collect (AARCH64_SVE_VG_REGNUM, &vg_reg_buf);
+
+  if (vg_reg_buf == 0)
+    {
+      /* VG has not been set.  */
+      vg_reg_buf = sve_vg_from_vl (header->vl);
+      reg_buf->raw_supply (AARCH64_SVE_VG_REGNUM, &vg_reg_buf);
+    }
+  else if (vg_reg_buf != sve_vg_from_vl (header->vl) && !vq_change_warned)
+    {
+      /* Vector length on the running process has changed.  GDB currently does
+	 not support this and will result in GDB showing incorrect partially
+	 incorrect data for the vector registers.  Warn once and continue.  We
+	 do not expect many programs to exhibit this behaviour.  To fix this
+	 we need to spot the change earlier and generate a new target
+	 descriptor.  */
+      warning (_("SVE Vector length has changed (%ld to %d). "
+		 "Vector registers may show incorrect data."),
+	       vg_reg_buf, sve_vg_from_vl (header->vl));
+      vq_change_warned = true;
+    }
+
+  if (HAS_SVE_STATE (*header))
+    {
+      /* The register dump contains a set of SVE registers.  */
+
+      for (int i = 0; i < AARCH64_SVE_Z_REGS_NUM; i++)
+	reg_buf->raw_supply (AARCH64_SVE_Z0_REGNUM + i,
+			     base + SVE_PT_SVE_ZREG_OFFSET (vq, i));
+
+      for (int i = 0; i < AARCH64_SVE_P_REGS_NUM; i++)
+	reg_buf->raw_supply (AARCH64_SVE_P0_REGNUM + i,
+			     base + SVE_PT_SVE_PREG_OFFSET (vq, i));
+
+      reg_buf->raw_supply (AARCH64_SVE_FFR_REGNUM,
+			   base + SVE_PT_SVE_FFR_OFFSET (vq));
+      reg_buf->raw_supply (AARCH64_FPSR_REGNUM,
+			   base + SVE_PT_SVE_FPSR_OFFSET (vq));
+      reg_buf->raw_supply (AARCH64_FPCR_REGNUM,
+			   base + SVE_PT_SVE_FPCR_OFFSET (vq));
+    }
+  else
+    {
+      /* There is no SVE state yet - the register dump contains a fpsimd
+	 structure instead.  These registers still exist in the hardware, but
+	 the kernel has not yet initialised them, and so they will be null.  */
+
+      char *zero_reg = (char *) alloca (SVE_PT_SVE_ZREG_SIZE (vq));
+      struct user_fpsimd_state *fpsimd
+	= (struct user_fpsimd_state *)(base + SVE_PT_FPSIMD_OFFSET);
+
+      /* Copy across the V registers from fpsimd structure to the Z registers,
+	 ensuring the non overlapping state is set to null.  */
+
+      memset (zero_reg, 0, SVE_PT_SVE_ZREG_SIZE (vq));
+
+      for (int i = 0; i < AARCH64_SVE_Z_REGS_NUM; i++)
+	{
+	  memcpy (zero_reg, &fpsimd->vregs[i], sizeof (__int128_t));
+	  reg_buf->raw_supply (AARCH64_SVE_Z0_REGNUM + i, zero_reg);
+	}
+
+      reg_buf->raw_supply (AARCH64_FPSR_REGNUM, &fpsimd->fpsr);
+      reg_buf->raw_supply (AARCH64_FPCR_REGNUM, &fpsimd->fpcr);
+
+      /* Clear the SVE only registers.  */
+
+      for (int i = 0; i < AARCH64_SVE_P_REGS_NUM; i++)
+	reg_buf->raw_supply (AARCH64_SVE_P0_REGNUM + i, zero_reg);
+
+      reg_buf->raw_supply (AARCH64_SVE_FFR_REGNUM, zero_reg);
+    }
+}
+
+/* See nat/aarch64-sve-linux-ptrace.h.  */
+
+void
+aarch64_sve_regs_copy_from_reg_buf (const struct reg_buffer_common *reg_buf,
+				    void *buf)
+{
+  struct user_sve_header *header = (struct user_sve_header *) buf;
+  char *base = (char *) buf;
+  uint64_t vq, vg_reg_buf = 0;
+
+  vq = sve_vq_from_vl (header->vl);
+
+  /* Sanity check the data in the header.  */
+  if (!sve_vl_valid (header->vl)
+      || SVE_PT_SIZE (vq, header->flags) != header->size)
+    error (_("Invalid SVE header from kernel."));
+
+  if (REG_VALID == reg_buf->get_register_status (AARCH64_SVE_VG_REGNUM))
+    reg_buf->raw_collect (AARCH64_SVE_VG_REGNUM, &vg_reg_buf);
+
+  if (vg_reg_buf != 0 && vg_reg_buf != sve_vg_from_vl (header->vl))
+    {
+      /* Vector length on the running process has changed.  GDB currently does
+	 not support this and will result in GDB writing invalid data back to
+	 the vector registers.  Error and exit.  We do not expect many programs
+	 to exhibit this behaviour.  To fix this we need to spot the change
+	 earlier and generate a new target descriptor.  */
+      error (_("SVE Vector length has changed (%ld to %d). "
+	       "Cannot write back registers."),
+	     vg_reg_buf, sve_vg_from_vl (header->vl));
+    }
+
+  if (!HAS_SVE_STATE (*header))
+    {
+      /* There is no SVE state yet - the register dump contains a fpsimd
+	 structure instead.  Where possible we want to write the reg_buf data
+	 back to the kernel using the fpsimd structure.  However, if we cannot
+	 then we'll need to reformat the fpsimd into a full SVE structure,
+	 resulting in the initialization of SVE state written back to the
+	 kernel, which is why we try to avoid it.  */
+
+      bool has_sve_state = false;
+      char *zero_reg = (char *) alloca (SVE_PT_SVE_ZREG_SIZE (vq));
+      struct user_fpsimd_state *fpsimd
+	= (struct user_fpsimd_state *)(base + SVE_PT_FPSIMD_OFFSET);
+
+      memset (zero_reg, 0, SVE_PT_SVE_ZREG_SIZE (vq));
+
+      /* Check in the reg_buf if any of the Z registers are set after the
+	 first 128 bits, or if any of the other SVE registers are set.  */
+
+      for (int i = 0; i < AARCH64_SVE_Z_REGS_NUM; i++)
+	{
+	  has_sve_state |= reg_buf->raw_compare (AARCH64_SVE_Z0_REGNUM + i,
+						 zero_reg, sizeof (__int128_t));
+	  if (has_sve_state)
+	    break;
+	}
+
+      if (!has_sve_state)
+	for (int i = 0; i < AARCH64_SVE_P_REGS_NUM; i++)
+	  {
+	    has_sve_state |= reg_buf->raw_compare (AARCH64_SVE_P0_REGNUM + i,
+						   zero_reg, 0);
+	    if (has_sve_state)
+	      break;
+	  }
+
+      if (!has_sve_state)
+	  has_sve_state |= reg_buf->raw_compare (AARCH64_SVE_FFR_REGNUM,
+						 zero_reg, 0);
+
+      /* If no SVE state exists, then use the existing fpsimd structure to
+	 write out state and return.  */
+      if (!has_sve_state)
+	{
+	  /* The collects of the Z registers will overflow the size of a vreg.
+	     There is enough space in the structure to allow for this, but we
+	     cannot overflow into the next register as we might not be
+	     collecting every register.  */
+
+	  for (int i = 0; i < AARCH64_SVE_Z_REGS_NUM; i++)
+	    {
+	      if (REG_VALID
+		  == reg_buf->get_register_status (AARCH64_SVE_Z0_REGNUM + i))
+		{
+		  reg_buf->raw_collect (AARCH64_SVE_Z0_REGNUM + i, zero_reg);
+		  memcpy (&fpsimd->vregs[i], zero_reg, sizeof (__int128_t));
+		}
+	    }
+
+	  if (REG_VALID == reg_buf->get_register_status (AARCH64_FPSR_REGNUM))
+	    reg_buf->raw_collect (AARCH64_FPSR_REGNUM, &fpsimd->fpsr);
+	  if (REG_VALID == reg_buf->get_register_status (AARCH64_FPCR_REGNUM))
+	    reg_buf->raw_collect (AARCH64_FPCR_REGNUM, &fpsimd->fpcr);
+
+	  return;
+	}
+
+      /* Otherwise, reformat the fpsimd structure into a full SVE set, by
+	 expanding the V registers (working backwards so we don't splat
+	 registers before they are copied) and using null for everything else.
+	 Note that enough space for a full SVE dump was originally allocated
+	 for base.  */
+
+      header->flags |= SVE_PT_REGS_SVE;
+      header->size = SVE_PT_SIZE (vq, SVE_PT_REGS_SVE);
+
+      memcpy (base + SVE_PT_SVE_FPSR_OFFSET (vq), &fpsimd->fpsr,
+	      sizeof (uint32_t));
+      memcpy (base + SVE_PT_SVE_FPCR_OFFSET (vq), &fpsimd->fpcr,
+	      sizeof (uint32_t));
+
+      for (int i = AARCH64_SVE_Z_REGS_NUM; i >= 0 ; i--)
+	{
+	  memcpy (base + SVE_PT_SVE_ZREG_OFFSET (vq, i), &fpsimd->vregs[i],
+		  sizeof (__int128_t));
+	}
+    }
+
+  /* Replace the kernel values with those from reg_buf.  */
+
+  for (int i = 0; i < AARCH64_SVE_Z_REGS_NUM; i++)
+    if (REG_VALID == reg_buf->get_register_status (AARCH64_SVE_Z0_REGNUM + i))
+      reg_buf->raw_collect (AARCH64_SVE_Z0_REGNUM + i,
+			    base + SVE_PT_SVE_ZREG_OFFSET (vq, i));
+
+  for (int i = 0; i < AARCH64_SVE_P_REGS_NUM; i++)
+    if (REG_VALID == reg_buf->get_register_status (AARCH64_SVE_P0_REGNUM + i))
+      reg_buf->raw_collect (AARCH64_SVE_P0_REGNUM + i,
+			    base + SVE_PT_SVE_PREG_OFFSET (vq, i));
+
+  if (REG_VALID == reg_buf->get_register_status (AARCH64_SVE_FFR_REGNUM))
+    reg_buf->raw_collect (AARCH64_SVE_FFR_REGNUM,
+			  base + SVE_PT_SVE_FFR_OFFSET (vq));
+  if (REG_VALID == reg_buf->get_register_status (AARCH64_FPSR_REGNUM))
+    reg_buf->raw_collect (AARCH64_FPSR_REGNUM,
+			  base + SVE_PT_SVE_FPSR_OFFSET (vq));
+  if (REG_VALID == reg_buf->get_register_status (AARCH64_FPCR_REGNUM))
+    reg_buf->raw_collect (AARCH64_FPCR_REGNUM,
+			  base + SVE_PT_SVE_FPCR_OFFSET (vq));
+
+}
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/nat/aarch64-sve-linux-ptrace.h ./gdb/nat/aarch64-sve-linux-ptrace.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/nat/aarch64-sve-linux-ptrace.h	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/nat/aarch64-sve-linux-ptrace.h	2018-06-19 01:49:02.000000000 +0000
@@ -20,54 +20,39 @@
 #ifndef AARCH64_SVE_LINUX_PTRACE_H
 #define AARCH64_SVE_LINUX_PTRACE_H
 
-/* Where indicated, this file contains defines and macros lifted directly from
-   the Linux kernel headers, with no modification.
-   Refer to Linux kernel documentation for details.  */
-
 #include <asm/sigcontext.h>
 #include <sys/utsname.h>
 #include <sys/ptrace.h>
 #include <asm/ptrace.h>
 
-/* Read VQ for the given tid using ptrace.  If SVE is not supported then zero
-   is returned (on a system that supports SVE, then VQ cannot be zero).  */
-
-uint64_t aarch64_sve_get_vq (int tid);
-
-/* Structures and defines taken from sigcontext.h.  */
-
 #ifndef SVE_SIG_ZREGS_SIZE
+#include "aarch64-sve-linux-sigcontext.h"
+#endif
 
-#define SVE_VQ_BYTES		16	/* number of bytes per quadword */
-
-#define SVE_VQ_MIN		1
-#define SVE_VQ_MAX		512
+/* Indicates whether a SVE ptrace header is followed by SVE registers or a
+   fpsimd structure.  */
 
-#define SVE_VL_MIN		(SVE_VQ_MIN * SVE_VQ_BYTES)
-#define SVE_VL_MAX		(SVE_VQ_MAX * SVE_VQ_BYTES)
+#define HAS_SVE_STATE(header) ((header).flags && SVE_PT_REGS_SVE)
 
-#define SVE_NUM_ZREGS		32
-#define SVE_NUM_PREGS		16
+/* Read VQ for the given tid using ptrace.  If SVE is not supported then zero
+   is returned (on a system that supports SVE, then VQ cannot be zero).  */
 
-#define sve_vl_valid(vl) \
-	((vl) % SVE_VQ_BYTES == 0 && (vl) >= SVE_VL_MIN && (vl) <= SVE_VL_MAX)
+uint64_t aarch64_sve_get_vq (int tid);
 
-#endif /* SVE_SIG_ZREGS_SIZE.  */
+/* Read the current SVE register set using ptrace, allocating space as
+   required.  */
 
+extern std::unique_ptr<gdb_byte[]> aarch64_sve_get_sveregs (int tid);
 
-/* Structures and defines taken from ptrace.h.  */
+/* Put the registers from linux structure buf into register buffer.  */
 
-#ifndef SVE_PT_SVE_ZREG_SIZE
+extern void aarch64_sve_regs_copy_to_reg_buf (struct reg_buffer_common *reg_buf,
+					      const void *buf);
 
-struct user_sve_header {
-	__u32 size; /* total meaningful regset content in bytes */
-	__u32 max_size; /* maxmium possible size for this thread */
-	__u16 vl; /* current vector length */
-	__u16 max_vl; /* maximum possible vector length */
-	__u16 flags;
-	__u16 __reserved;
-};
+/* Put the registers from register buffer into linux structure buf.  */
 
-#endif /* SVE_PT_SVE_ZREG_SIZE.  */
+extern void
+aarch64_sve_regs_copy_from_reg_buf (const struct reg_buffer_common *reg_buf,
+				    void *buf);
 
 #endif /* aarch64-sve-linux-ptrace.h */
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/nat/aarch64-sve-linux-sigcontext.h ./gdb/nat/aarch64-sve-linux-sigcontext.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/nat/aarch64-sve-linux-sigcontext.h	1970-01-01 00:00:00.000000000 +0000
+++ ./gdb/nat/aarch64-sve-linux-sigcontext.h	2018-06-19 01:49:02.000000000 +0000
@@ -0,0 +1,268 @@
+/* Copyright (C) 2018 Free Software Foundation, Inc.
+   Contributed by Arm Ltd.
+
+   This file is part of GDB.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 3 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
+
+#ifndef AARCH64_SVE_LINUX_SIGCONTEXT_H
+#define AARCH64_SVE_LINUX_SIGCONTEXT_H
+
+#define SVE_MAGIC	0x53564501
+
+struct sve_context {
+	struct _aarch64_ctx head;
+	__u16 vl;
+	__u16 __reserved[3];
+};
+
+/*
+ * The SVE architecture leaves space for future expansion of the
+ * vector length beyond its initial architectural limit of 2048 bits
+ * (16 quadwords).
+ *
+ * See linux/Documentation/arm64/sve.txt for a description of the VL/VQ
+ * terminology.
+ */
+#define SVE_VQ_BYTES		16	/* number of bytes per quadword */
+
+#define SVE_VQ_MIN		1
+#define SVE_VQ_MAX		512
+
+#define SVE_VL_MIN		(SVE_VQ_MIN * SVE_VQ_BYTES)
+#define SVE_VL_MAX		(SVE_VQ_MAX * SVE_VQ_BYTES)
+
+#define SVE_NUM_ZREGS		32
+#define SVE_NUM_PREGS		16
+
+#define sve_vl_valid(vl) \
+	((vl) % SVE_VQ_BYTES == 0 && (vl) >= SVE_VL_MIN && (vl) <= SVE_VL_MAX)
+
+/*
+ * If the SVE registers are currently live for the thread at signal delivery,
+ * sve_context.head.size >=
+ *	SVE_SIG_CONTEXT_SIZE(sve_vq_from_vl(sve_context.vl))
+ * and the register data may be accessed using the SVE_SIG_*() macros.
+ *
+ * If sve_context.head.size <
+ *	SVE_SIG_CONTEXT_SIZE(sve_vq_from_vl(sve_context.vl)),
+ * the SVE registers were not live for the thread and no register data
+ * is included: in this case, the SVE_SIG_*() macros should not be
+ * used except for this check.
+ *
+ * The same convention applies when returning from a signal: a caller
+ * will need to remove or resize the sve_context block if it wants to
+ * make the SVE registers live when they were previously non-live or
+ * vice-versa.  This may require the the caller to allocate fresh
+ * memory and/or move other context blocks in the signal frame.
+ *
+ * Changing the vector length during signal return is not permitted:
+ * sve_context.vl must equal the thread's current vector length when
+ * doing a sigreturn.
+ *
+ *
+ * Note: for all these macros, the "vq" argument denotes the SVE
+ * vector length in quadwords (i.e., units of 128 bits).
+ *
+ * The correct way to obtain vq is to use sve_vq_from_vl(vl).  The
+ * result is valid if and only if sve_vl_valid(vl) is true.  This is
+ * guaranteed for a struct sve_context written by the kernel.
+ *
+ *
+ * Additional macros describe the contents and layout of the payload.
+ * For each, SVE_SIG_x_OFFSET(args) is the start offset relative to
+ * the start of struct sve_context, and SVE_SIG_x_SIZE(args) is the
+ * size in bytes:
+ *
+ *	x	type				description
+ *	-	----				-----------
+ *	REGS					the entire SVE context
+ *
+ *	ZREGS	__uint128_t[SVE_NUM_ZREGS][vq]	all Z-registers
+ *	ZREG	__uint128_t[vq]			individual Z-register Zn
+ *
+ *	PREGS	uint16_t[SVE_NUM_PREGS][vq]	all P-registers
+ *	PREG	uint16_t[vq]			individual P-register Pn
+ *
+ *	FFR	uint16_t[vq]			first-fault status register
+ *
+ * Additional data might be appended in the future.
+ */
+
+#define SVE_SIG_ZREG_SIZE(vq)	((__u32)(vq) * SVE_VQ_BYTES)
+#define SVE_SIG_PREG_SIZE(vq)	((__u32)(vq) * (SVE_VQ_BYTES / 8))
+#define SVE_SIG_FFR_SIZE(vq)	SVE_SIG_PREG_SIZE(vq)
+
+#define SVE_SIG_REGS_OFFSET					\
+	((sizeof(struct sve_context) + (SVE_VQ_BYTES - 1))	\
+		/ SVE_VQ_BYTES * SVE_VQ_BYTES)
+
+#define SVE_SIG_ZREGS_OFFSET	SVE_SIG_REGS_OFFSET
+#define SVE_SIG_ZREG_OFFSET(vq, n) \
+	(SVE_SIG_ZREGS_OFFSET + SVE_SIG_ZREG_SIZE(vq) * (n))
+#define SVE_SIG_ZREGS_SIZE(vq) \
+	(SVE_SIG_ZREG_OFFSET(vq, SVE_NUM_ZREGS) - SVE_SIG_ZREGS_OFFSET)
+
+#define SVE_SIG_PREGS_OFFSET(vq) \
+	(SVE_SIG_ZREGS_OFFSET + SVE_SIG_ZREGS_SIZE(vq))
+#define SVE_SIG_PREG_OFFSET(vq, n) \
+	(SVE_SIG_PREGS_OFFSET(vq) + SVE_SIG_PREG_SIZE(vq) * (n))
+#define SVE_SIG_PREGS_SIZE(vq) \
+	(SVE_SIG_PREG_OFFSET(vq, SVE_NUM_PREGS) - SVE_SIG_PREGS_OFFSET(vq))
+
+#define SVE_SIG_FFR_OFFSET(vq) \
+	(SVE_SIG_PREGS_OFFSET(vq) + SVE_SIG_PREGS_SIZE(vq))
+
+#define SVE_SIG_REGS_SIZE(vq) \
+	(SVE_SIG_FFR_OFFSET(vq) + SVE_SIG_FFR_SIZE(vq) - SVE_SIG_REGS_OFFSET)
+
+#define SVE_SIG_CONTEXT_SIZE(vq) (SVE_SIG_REGS_OFFSET + SVE_SIG_REGS_SIZE(vq))
+
+/* SVE/FP/SIMD state (NT_ARM_SVE) */
+
+struct user_sve_header {
+	__u32 size; /* total meaningful regset content in bytes */
+	__u32 max_size; /* maxmium possible size for this thread */
+	__u16 vl; /* current vector length */
+	__u16 max_vl; /* maximum possible vector length */
+	__u16 flags;
+	__u16 __reserved;
+};
+
+/* Definitions for user_sve_header.flags: */
+#define SVE_PT_REGS_MASK		(1 << 0)
+
+#define SVE_PT_REGS_FPSIMD		0
+#define SVE_PT_REGS_SVE			SVE_PT_REGS_MASK
+
+/*
+ * Common SVE_PT_* flags:
+ * These must be kept in sync with prctl interface in <linux/ptrace.h>
+ */
+#define SVE_PT_VL_INHERIT		(PR_SVE_VL_INHERIT >> 16)
+#define SVE_PT_VL_ONEXEC		(PR_SVE_SET_VL_ONEXEC >> 16)
+
+
+/*
+ * The remainder of the SVE state follows struct user_sve_header.  The
+ * total size of the SVE state (including header) depends on the
+ * metadata in the header:  SVE_PT_SIZE(vq, flags) gives the total size
+ * of the state in bytes, including the header.
+ *
+ * Refer to <asm/sigcontext.h> for details of how to pass the correct
+ * "vq" argument to these macros.
+ */
+
+/* Offset from the start of struct user_sve_header to the register data */
+#define SVE_PT_REGS_OFFSET					\
+	((sizeof(struct sve_context) + (SVE_VQ_BYTES - 1))	\
+		/ SVE_VQ_BYTES * SVE_VQ_BYTES)
+
+/*
+ * The register data content and layout depends on the value of the
+ * flags field.
+ */
+
+/*
+ * (flags & SVE_PT_REGS_MASK) == SVE_PT_REGS_FPSIMD case:
+ *
+ * The payload starts at offset SVE_PT_FPSIMD_OFFSET, and is of type
+ * struct user_fpsimd_state.  Additional data might be appended in the
+ * future: use SVE_PT_FPSIMD_SIZE(vq, flags) to compute the total size.
+ * SVE_PT_FPSIMD_SIZE(vq, flags) will never be less than
+ * sizeof(struct user_fpsimd_state).
+ */
+
+#define SVE_PT_FPSIMD_OFFSET		SVE_PT_REGS_OFFSET
+
+#define SVE_PT_FPSIMD_SIZE(vq, flags)	(sizeof(struct user_fpsimd_state))
+
+/*
+ * (flags & SVE_PT_REGS_MASK) == SVE_PT_REGS_SVE case:
+ *
+ * The payload starts at offset SVE_PT_SVE_OFFSET, and is of size
+ * SVE_PT_SVE_SIZE(vq, flags).
+ *
+ * Additional macros describe the contents and layout of the payload.
+ * For each, SVE_PT_SVE_x_OFFSET(args) is the start offset relative to
+ * the start of struct user_sve_header, and SVE_PT_SVE_x_SIZE(args) is
+ * the size in bytes:
+ *
+ *	x	type				description
+ *	-	----				-----------
+ *	ZREGS		\
+ *	ZREG		|
+ *	PREGS		| refer to <asm/sigcontext.h>
+ *	PREG		|
+ *	FFR		/
+ *
+ *	FPSR	uint32_t			FPSR
+ *	FPCR	uint32_t			FPCR
+ *
+ * Additional data might be appended in the future.
+ */
+
+#define SVE_PT_SVE_ZREG_SIZE(vq)	SVE_SIG_ZREG_SIZE(vq)
+#define SVE_PT_SVE_PREG_SIZE(vq)	SVE_SIG_PREG_SIZE(vq)
+#define SVE_PT_SVE_FFR_SIZE(vq)		SVE_SIG_FFR_SIZE(vq)
+#define SVE_PT_SVE_FPSR_SIZE		sizeof(__u32)
+#define SVE_PT_SVE_FPCR_SIZE		sizeof(__u32)
+
+#define __SVE_SIG_TO_PT(offset) \
+	((offset) - SVE_SIG_REGS_OFFSET + SVE_PT_REGS_OFFSET)
+
+#define SVE_PT_SVE_OFFSET		SVE_PT_REGS_OFFSET
+
+#define SVE_PT_SVE_ZREGS_OFFSET \
+	__SVE_SIG_TO_PT(SVE_SIG_ZREGS_OFFSET)
+#define SVE_PT_SVE_ZREG_OFFSET(vq, n) \
+	__SVE_SIG_TO_PT(SVE_SIG_ZREG_OFFSET(vq, n))
+#define SVE_PT_SVE_ZREGS_SIZE(vq) \
+	(SVE_PT_SVE_ZREG_OFFSET(vq, SVE_NUM_ZREGS) - SVE_PT_SVE_ZREGS_OFFSET)
+
+#define SVE_PT_SVE_PREGS_OFFSET(vq) \
+	__SVE_SIG_TO_PT(SVE_SIG_PREGS_OFFSET(vq))
+#define SVE_PT_SVE_PREG_OFFSET(vq, n) \
+	__SVE_SIG_TO_PT(SVE_SIG_PREG_OFFSET(vq, n))
+#define SVE_PT_SVE_PREGS_SIZE(vq) \
+	(SVE_PT_SVE_PREG_OFFSET(vq, SVE_NUM_PREGS) - \
+		SVE_PT_SVE_PREGS_OFFSET(vq))
+
+#define SVE_PT_SVE_FFR_OFFSET(vq) \
+	__SVE_SIG_TO_PT(SVE_SIG_FFR_OFFSET(vq))
+
+#define SVE_PT_SVE_FPSR_OFFSET(vq)				\
+	((SVE_PT_SVE_FFR_OFFSET(vq) + SVE_PT_SVE_FFR_SIZE(vq) +	\
+			(SVE_VQ_BYTES - 1))			\
+		/ SVE_VQ_BYTES * SVE_VQ_BYTES)
+#define SVE_PT_SVE_FPCR_OFFSET(vq) \
+	(SVE_PT_SVE_FPSR_OFFSET(vq) + SVE_PT_SVE_FPSR_SIZE)
+
+/*
+ * Any future extension appended after FPCR must be aligned to the next
+ * 128-bit boundary.
+ */
+
+#define SVE_PT_SVE_SIZE(vq, flags)					\
+	((SVE_PT_SVE_FPCR_OFFSET(vq) + SVE_PT_SVE_FPCR_SIZE		\
+			- SVE_PT_SVE_OFFSET + (SVE_VQ_BYTES - 1))	\
+		/ SVE_VQ_BYTES * SVE_VQ_BYTES)
+
+#define SVE_PT_SIZE(vq, flags)						\
+	 (((flags) & SVE_PT_REGS_MASK) == SVE_PT_REGS_SVE ?		\
+		  SVE_PT_SVE_OFFSET + SVE_PT_SVE_SIZE(vq, flags)	\
+		: SVE_PT_FPSIMD_OFFSET + SVE_PT_FPSIMD_SIZE(vq, flags))
+
+
+#endif /* AARCH64_SVE_LINUX_SIGCONTEXT_H */
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/objc-lang.c ./gdb/objc-lang.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/objc-lang.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/objc-lang.c	2018-06-19 01:49:02.000000000 +0000
@@ -376,7 +376,6 @@ extern const struct language_defn objc_l
   objc_extensions,
   &exp_descriptor_standard,
   c_parse,
-  c_yyerror,
   null_post_parser,
   c_printchar,		       /* Print a character constant */
   c_printstr,		       /* Function to print string constant */
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/objfiles.c ./gdb/objfiles.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/objfiles.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/objfiles.c	2018-06-19 01:49:02.000000000 +0000
@@ -1455,26 +1455,11 @@ objfiles_changed (void)
 
 /* See comments in objfiles.h.  */
 
-void
+scoped_restore_tmpl<int>
 inhibit_section_map_updates (struct program_space *pspace)
 {
-  get_objfile_pspace_data (pspace)->inhibit_updates = 1;
-}
-
-/* See comments in objfiles.h.  */
-
-void
-resume_section_map_updates (struct program_space *pspace)
-{
-  get_objfile_pspace_data (pspace)->inhibit_updates = 0;
-}
-
-/* See comments in objfiles.h.  */
-
-void
-resume_section_map_updates_cleanup (void *arg)
-{
-  resume_section_map_updates ((struct program_space *) arg);
+  return scoped_restore_tmpl<int>
+    (&get_objfile_pspace_data (pspace)->inhibit_updates, 1);
 }
 
 /* Return 1 if ADDR maps into one of the sections of OBJFILE and 0
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/objfiles.h ./gdb/objfiles.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/objfiles.h	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/objfiles.h	2018-06-19 01:49:02.000000000 +0000
@@ -551,18 +551,13 @@ DECLARE_REGISTRY(objfile);
 /* In normal use, the section map will be rebuilt by find_pc_section
    if objfiles have been added, removed or relocated since it was last
    called.  Calling inhibit_section_map_updates will inhibit this
-   behavior until resume_section_map_updates is called.  If you call
-   inhibit_section_map_updates you must ensure that every call to
-   find_pc_section in the inhibited region relates to a section that
-   is already in the section map and has not since been removed or
-   relocated.  */
-extern void inhibit_section_map_updates (struct program_space *pspace);
-
-/* Resume automatically rebuilding the section map as required.  */
-extern void resume_section_map_updates (struct program_space *pspace);
-
-/* Version of the above suitable for use as a cleanup.  */
-extern void resume_section_map_updates_cleanup (void *arg);
+   behavior until the returned scoped_restore object is destroyed.  If
+   you call inhibit_section_map_updates you must ensure that every
+   call to find_pc_section in the inhibited region relates to a
+   section that is already in the section map and has not since been
+   removed or relocated.  */
+extern scoped_restore_tmpl<int> inhibit_section_map_updates
+    (struct program_space *pspace);
 
 extern void default_iterate_over_objfiles_in_search_order
   (struct gdbarch *gdbarch,
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/opencl-lang.c ./gdb/opencl-lang.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/opencl-lang.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/opencl-lang.c	2018-06-19 01:49:02.000000000 +0000
@@ -1053,7 +1053,6 @@ extern const struct language_defn opencl
   NULL,
   &exp_descriptor_opencl,
   c_parse,
-  c_yyerror,
   null_post_parser,
   c_printchar,			/* Print a character constant */
   c_printstr,			/* Function to print string constant */
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/parse.c ./gdb/parse.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/parse.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/parse.c	2018-06-19 01:49:02.000000000 +0000
@@ -1202,8 +1202,7 @@ parse_exp_in_context_1 (const char **str
 
   TRY
     {
-      if (lang->la_parser (&ps))
-        lang->la_error (NULL);
+      lang->la_parser (&ps);
     }
   CATCH (except, RETURN_MASK_ALL)
     {
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/p-exp.c ./gdb/p-exp.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/p-exp.c	2018-06-12 01:53:14.000000000 +0000
+++ ./gdb/p-exp.c	2018-06-19 01:53:05.000000000 +0000
@@ -100,7 +100,7 @@ int yyparse (void);
 
 static int yylex (void);
 
-void yyerror (const char *);
+static void yyerror (const char *);
 
 static char *uptok (const char *, int);
 
@@ -3549,12 +3549,12 @@ pascal_parse (struct parser_state *par_s
   return yyparse ();
 }
 
-void
+static void
 yyerror (const char *msg)
 {
   if (prev_lexptr)
     lexptr = prev_lexptr;
 
-  error (_("A %s in expression, near `%s'."), (msg ? msg : "error"), lexptr);
+  error (_("A %s in expression, near `%s'."), msg, lexptr);
 }
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/p-exp.y ./gdb/p-exp.y
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/p-exp.y	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/p-exp.y	2018-06-19 01:49:02.000000000 +0000
@@ -72,7 +72,7 @@ int yyparse (void);
 
 static int yylex (void);
 
-void yyerror (const char *);
+static void yyerror (const char *);
 
 static char *uptok (const char *, int);
 %}
@@ -1722,11 +1722,11 @@ pascal_parse (struct parser_state *par_s
   return yyparse ();
 }
 
-void
+static void
 yyerror (const char *msg)
 {
   if (prev_lexptr)
     lexptr = prev_lexptr;
 
-  error (_("A %s in expression, near `%s'."), (msg ? msg : "error"), lexptr);
+  error (_("A %s in expression, near `%s'."), msg, lexptr);
 }
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/p-lang.c ./gdb/p-lang.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/p-lang.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/p-lang.c	2018-06-19 01:49:02.000000000 +0000
@@ -427,7 +427,6 @@ extern const struct language_defn pascal
   p_extensions,
   &exp_descriptor_standard,
   pascal_parse,
-  pascal_yyerror,
   null_post_parser,
   pascal_printchar,		/* Print a character constant */
   pascal_printstr,		/* Function to print string constant */
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/p-lang.h ./gdb/p-lang.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/p-lang.h	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/p-lang.h	2018-06-19 01:49:02.000000000 +0000
@@ -27,8 +27,6 @@ extern const char *pascal_main_name (voi
 
 extern int pascal_parse (struct parser_state *); /* Defined in p-exp.y */
 
-extern void pascal_yyerror (const char *);	/* Defined in p-exp.y */
-
 /* Defined in p-typeprint.c */
 extern void pascal_print_type (struct type *, const char *, struct ui_file *,
 			       int, int, const struct type_print_options *);
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/po/gdb.pot ./gdb/po/gdb.pot
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/po/gdb.pot	2018-06-12 01:53:17.000000000 +0000
+++ ./gdb/po/gdb.pot	2018-06-19 01:53:07.000000000 +0000
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-06-12 01:53+0000\n"
+"POT-Creation-Date: 2018-06-19 01:53+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"
@@ -98,15 +98,19 @@ msgstr ""
 msgid "Unable to store FP/SIMD registers."
 msgstr ""
 
-#: aarch64-linux-nat.c:843
+#: aarch64-linux-nat.c:420
+msgid "Unable to store sve registers"
+msgstr ""
+
+#: aarch64-linux-nat.c:893
 msgid "Set whether to show variables that mirror the AArch64 debug registers."
 msgstr ""
 
-#: aarch64-linux-nat.c:844
+#: aarch64-linux-nat.c:894
 msgid "Show whether to show variables that mirror the AArch64 debug registers."
 msgstr ""
 
-#: aarch64-linux-nat.c:845 mips-linux-nat.c:797 x86-nat.c:280
+#: aarch64-linux-nat.c:895 mips-linux-nat.c:797 x86-nat.c:280
 msgid ""
 "Use \"on\" to enable, \"off\" to disable.\n"
 "If enabled, the debug registers values are shown when GDB inserts\n"
@@ -841,28 +845,28 @@ msgstr ""
 msgid "Type @"
 msgstr ""
 
-#: ada-lang.c:14410
+#: ada-lang.c:14409
 msgid "\"set ada\" must be followed by the name of a setting.\n"
 msgstr ""
 
-#: ada-lang.c:14493
+#: ada-lang.c:14492
 msgid "Prefix command for changing Ada-specfic settings"
 msgstr ""
 
-#: ada-lang.c:14497
+#: ada-lang.c:14496
 msgid "Generic command for showing Ada-specific settings."
 msgstr ""
 
-#: ada-lang.c:14501
+#: ada-lang.c:14500
 msgid "Enable or disable an optimization trusting PAD types over XVS types"
 msgstr ""
 
-#: ada-lang.c:14502
+#: ada-lang.c:14501
 msgid ""
 "Show whether an optimization trusting PAD types over XVS types is activated"
 msgstr ""
 
-#: ada-lang.c:14504
+#: ada-lang.c:14503
 msgid ""
 "This is related to the encoding used by the GNAT compiler.  The debugger\n"
 "should normally trust the contents of PAD types, but certain older versions\n"
@@ -874,74 +878,74 @@ msgid ""
 "this option to \"off\" unless necessary."
 msgstr ""
 
-#: ada-lang.c:14515
+#: ada-lang.c:14514
 msgid ""
 "Enable or disable the output of formal and return types for functions in the "
 "overloads selection menu"
 msgstr ""
 
-#: ada-lang.c:14517
+#: ada-lang.c:14516
 msgid ""
 "Show whether the output of formal and return types for functions in the "
 "overloads selection menu is activated"
 msgstr ""
 
-#: ada-lang.c:14522
+#: ada-lang.c:14521
 msgid ""
 "Catch Ada exceptions, when raised.\n"
 "With an argument, catch only exceptions with the given name."
 msgstr ""
 
-#: ada-lang.c:14530
+#: ada-lang.c:14529
 msgid ""
 "Catch Ada exceptions, when handled.\n"
 "With an argument, catch only exceptions with the given name."
 msgstr ""
 
-#: ada-lang.c:14537
+#: ada-lang.c:14536
 msgid ""
 "Catch failed Ada assertions, when raised.\n"
 "With an argument, catch only exceptions with the given name."
 msgstr ""
 
-#: ada-lang.c:14547
+#: ada-lang.c:14546
 msgid "Set the maximum number of bytes allowed in a variable-size object."
 msgstr ""
 
-#: ada-lang.c:14548
+#: ada-lang.c:14547
 msgid "Show the maximum number of bytes allowed in a variable-size object."
 msgstr ""
 
-#: ada-lang.c:14549
+#: ada-lang.c:14548
 msgid ""
 "Attempts to access an object whose size is not a compile-time constant\n"
 "and exceeds this limit will cause an error."
 msgstr ""
 
-#: ada-lang.c:14555
+#: ada-lang.c:14554
 msgid ""
 "List all Ada exception names.\n"
 "If a regular expression is passed as an argument, only those matching\n"
 "the regular expression are listed."
 msgstr ""
 
-#: ada-lang.c:14561
+#: ada-lang.c:14560
 msgid "Set Ada maintenance-related variables."
 msgstr ""
 
-#: ada-lang.c:14566
+#: ada-lang.c:14565
 msgid "Show Ada maintenance-related variables"
 msgstr ""
 
-#: ada-lang.c:14573
+#: ada-lang.c:14572
 msgid "Set whether descriptive types generated by GNAT should be ignored."
 msgstr ""
 
-#: ada-lang.c:14574
+#: ada-lang.c:14573
 msgid "Show whether descriptive types generated by GNAT should be ignored."
 msgstr ""
 
-#: ada-lang.c:14575
+#: ada-lang.c:14574
 msgid ""
 "When enabled, the debugger will stop using the DW_AT_GNAT_descriptive_type\n"
 "DWARF attribute."
@@ -1237,7 +1241,7 @@ msgstr ""
 msgid "unable to get positions in array, use bounds instead"
 msgstr ""
 
-#: ada-valprint.c:240 ada-valprint.c:531 valprint.c:2601
+#: ada-valprint.c:240 ada-valprint.c:531 valprint.c:2598
 #, possible-c-format
 msgid " <repeats %u times>"
 msgstr ""
@@ -5298,37 +5302,37 @@ msgid ""
 "`set target-wide-charset'<TAB>"
 msgstr ""
 
-#: c-lang.c:64 c-lang.c:605
+#: c-lang.c:64 c-lang.c:602
 msgid "unhandled c_string_type"
 msgstr ""
 
-#: c-lang.c:361
+#: c-lang.c:358
 #, possible-c-format
 msgid "Trying to read string with inappropriate type `%s'."
 msgstr ""
 
-#: c-lang.c:365
+#: c-lang.c:362
 msgid "Trying to read string with inappropriate type."
 msgstr ""
 
-#: c-lang.c:466
+#: c-lang.c:463
 msgid "Malformed escape sequence"
 msgstr ""
 
-#: c-lang.c:493
+#: c-lang.c:490
 msgid "\\x used with no following hex digits."
 msgstr ""
 
-#: c-lang.c:515
+#: c-lang.c:512
 msgid "\\u used with no following hex digits"
 msgstr ""
 
-#: c-lang.c:663
+#: c-lang.c:660
 msgid "Could not convert character constant to target character set"
 msgstr ""
 
 #. To avoid memory corruption.
-#: c-lang.c:689 eval.c:1467
+#: c-lang.c:686 eval.c:1467
 msgid "Too many array elements"
 msgstr ""
 
@@ -6305,7 +6309,7 @@ msgstr ""
 #: cli/cli-script.c:1477 common/common-exceptions.c:145
 #: common/common-exceptions.c:161 common/common-exceptions.c:177
 #: hppa-tdep.c:3138 hppa-tdep.c:3151 infcall.c:966 infcmd.c:1653
-#: language.c:468 mi/mi-out.c:213 mi/mi-out.c:233 mips-tdep.c:295
+#: language.c:466 mi/mi-out.c:213 mi/mi-out.c:233 mips-tdep.c:295
 #: mips-tdep.c:499 mips-tdep.c:2207 mips-tdep.c:5728 mips-tdep.c:6895
 #: mn10300-tdep.c:127 reggroups.c:272 remote.c:2110 remote.c:8709
 #: remote.c:9972 utils.c:432 utils.c:460
@@ -6341,10 +6345,12 @@ msgid ""
 "Definition appears on following lines, one command per line.\n"
 "End with a line of just \"end\".\n"
 "Use the \"document\" command to give documentation for the new command.\n"
-"Commands defined in this way may have up to ten arguments."
+"Commands defined in this way may accept an unlimited number of arguments\n"
+"accessed via $arg0 .. $argN.  $argc tells how many arguments have\n"
+"been passed."
 msgstr ""
 
-#: cli/cli-script.c:1607
+#: cli/cli-script.c:1609
 msgid ""
 "Execute nested commands WHILE the conditional expression is non zero.\n"
 "The conditional expression must follow the word `while' and must in turn be\n"
@@ -6352,7 +6358,7 @@ msgid ""
 "and should be terminated by the word `end'."
 msgstr ""
 
-#: cli/cli-script.c:1613
+#: cli/cli-script.c:1615
 msgid ""
 "Execute nested commands once IF the conditional expression is non zero.\n"
 "The conditional expression must follow the word `if' and must in turn be\n"
@@ -11666,7 +11672,7 @@ msgstr ""
 msgid "Show debugging of FreeBSD lwp module."
 msgstr ""
 
-#: fbsd-nat.c:1611 fbsd-nat.c:1619 linux-nat.c:4670 linux-nat.c:4679
+#: fbsd-nat.c:1611 fbsd-nat.c:1619 linux-nat.c:4676 linux-nat.c:4685
 msgid "Enables printf debugging output."
 msgstr ""
 
@@ -11949,7 +11955,7 @@ msgstr ""
 msgid "Show use of shell to start subprocesses."
 msgstr ""
 
-#: frame.c:283 infrun.c:8996 stack.c:1802 stack.c:1997
+#: frame.c:283 infrun.c:9000 stack.c:1802 stack.c:1997
 msgid "Unable to restore previously selected frame."
 msgstr ""
 
@@ -13953,11 +13959,11 @@ msgstr ""
 msgid "invalid error kind"
 msgstr ""
 
-#: guile/scm-value.c:1218 guile/scm-lazy-string.c:162
+#: guile/scm-value.c:1219 guile/scm-lazy-string.c:162
 msgid "invalid length"
 msgstr ""
 
-#: guile/scm-value.c:1257
+#: guile/scm-value.c:1258
 msgid "length is larger than array size"
 msgstr ""
 
@@ -15699,7 +15705,7 @@ msgstr ""
 msgid "disabling displaced stepping: %s"
 msgstr ""
 
-#: infrun.c:2140 infrun.c:3188 infrun.c:3198 utils.c:491
+#: infrun.c:2140 infrun.c:3192 infrun.c:3202 utils.c:491
 msgid "Command aborted."
 msgstr ""
 
@@ -15718,116 +15724,116 @@ msgstr ""
 msgid "Couldn't deliver signal %s to %s."
 msgstr ""
 
-#: infrun.c:3682
+#: infrun.c:3686
 msgid "Program exited while detaching"
 msgstr ""
 
-#: infrun.c:3991
+#: infrun.c:3995
 msgid "completed.\n"
 msgstr ""
 
-#: infrun.c:5013
+#: infrun.c:5017
 #, possible-c-format
 msgid "unhandled stop_soon: %d"
 msgstr ""
 
-#: infrun.c:5097
+#: infrun.c:5101
 msgid "Cannot fill $_exitsignal with the correct signal number.\n"
 msgstr ""
 
-#: infrun.c:8038
+#: infrun.c:8042
 msgid "Unknown value."
 msgstr ""
 
-#: infrun.c:8092
+#: infrun.c:8096
 msgid ""
 "Cannot remove breakpoints because program is no longer writable.\n"
 "Further execution is probably impossible.\n"
 msgstr ""
 
-#: infrun.c:8247 linux-fork.c:399 linux-fork.c:431
+#: infrun.c:8251 linux-fork.c:399 linux-fork.c:431
 #, possible-c-format
 msgid "[Switching to %s]\n"
 msgstr ""
 
-#: infrun.c:8260
+#: infrun.c:8264
 msgid "No unwaited-for children left.\n"
 msgstr ""
 
-#: infrun.c:8450
+#: infrun.c:8454
 msgid "Signal        Stop\tPrint\tPass to program\tDescription\n"
 msgstr ""
 
-#: infrun.c:8485
+#: infrun.c:8489
 msgid "signal to handle"
 msgstr ""
 
 #. Not a number and not a recognized flag word => complain.
-#: infrun.c:8587
+#: infrun.c:8591
 #, possible-c-format
 msgid "Unrecognized or ambiguous flag word: \"%s\"."
 msgstr ""
 
-#: infrun.c:8602
+#: infrun.c:8606
 #, possible-c-format
 msgid ""
 "%s is used by the debugger.\n"
 "Are you sure you want to change it? "
 msgstr ""
 
-#: infrun.c:8610
+#: infrun.c:8614
 msgid "Not confirmed, unchanged.\n"
 msgstr ""
 
-#: infrun.c:8677
+#: infrun.c:8681
 msgid ""
 "Only signals 1-15 are valid as numeric signals.\n"
 "Use \"info signals\" for a list of symbolic signals."
 msgstr ""
 
-#: infrun.c:8720
+#: infrun.c:8724
 msgid ""
 "\n"
 "Use the \"handle\" command to change these tables.\n"
 msgstr ""
 
-#: infrun.c:8754
+#: infrun.c:8758
 msgid "Unable to read siginfo"
 msgstr ""
 
-#: infrun.c:8777
+#: infrun.c:8781
 msgid "Unable to write siginfo"
 msgstr ""
 
-#: infrun.c:9119
+#: infrun.c:9123
 msgid "Target does not support this operation."
 msgstr ""
 
-#: infrun.c:9129
+#: infrun.c:9133
 msgid "Forward.\n"
 msgstr ""
 
-#: infrun.c:9132
+#: infrun.c:9136
 msgid "Reverse.\n"
 msgstr ""
 
-#: infrun.c:9136
+#: infrun.c:9140
 #, possible-c-format
 msgid "bogus execution_direction value: %d"
 msgstr ""
 
-#: infrun.c:9145
+#: infrun.c:9149
 #, possible-c-format
 msgid "Resuming the execution of threads of all processes is %s.\n"
 msgstr ""
 
-#: infrun.c:9178
+#: infrun.c:9182
 msgid ""
 "What debugger does when program gets various signals.\n"
 "Specify a signal as argument to print info on that signal only."
 msgstr ""
 
-#: infrun.c:9183
+#: infrun.c:9187
 msgid ""
 "Specify how to handle signals.\n"
 "Usage: handle SIGNAL [ACTIONS]\n"
@@ -15854,46 +15860,46 @@ msgid ""
 "all signals cumulatively specified."
 msgstr ""
 
-#: infrun.c:9211
+#: infrun.c:9215
 msgid ""
 "There is no `stop' command, but you can set a hook on `stop'.\n"
 "This allows you to set a list of commands to be run each time execution\n"
 "of the program stops."
 msgstr ""
 
-#: infrun.c:9216
+#: infrun.c:9220
 msgid "Set inferior debugging."
 msgstr ""
 
-#: infrun.c:9217
+#: infrun.c:9221
 msgid "Show inferior debugging."
 msgstr ""
 
-#: infrun.c:9218
+#: infrun.c:9222
 msgid "When non-zero, inferior specific debugging is enabled."
 msgstr ""
 
-#: infrun.c:9225
+#: infrun.c:9229
 msgid "Set displaced stepping debugging."
 msgstr ""
 
-#: infrun.c:9226
+#: infrun.c:9230
 msgid "Show displaced stepping debugging."
 msgstr ""
 
-#: infrun.c:9227
+#: infrun.c:9231
 msgid "When non-zero, displaced stepping specific debugging is enabled."
 msgstr ""
 
-#: infrun.c:9234
+#: infrun.c:9238
 msgid "Set whether gdb controls the inferior in non-stop mode."
 msgstr ""
 
-#: infrun.c:9235
+#: infrun.c:9239
 msgid "Show whether gdb controls the inferior in non-stop mode."
 msgstr ""
 
-#: infrun.c:9236
+#: infrun.c:9240
 msgid ""
 "When debugging a multi-threaded program and this setting is\n"
 "off (the default, also called all-stop mode), when one thread stops\n"
@@ -15908,30 +15914,30 @@ msgid ""
 "leave it stopped or free to run as needed."
 msgstr ""
 
-#: infrun.c:9320
+#: infrun.c:9324
 msgid "Set stopping for shared library events."
 msgstr ""
 
-#: infrun.c:9321
+#: infrun.c:9325
 msgid "Show stopping for shared library events."
 msgstr ""
 
-#: infrun.c:9322
+#: infrun.c:9326
 msgid ""
 "If nonzero, gdb will give control to the user when the dynamic linker\n"
 "notifies gdb of shared library events.  The most common event of interest\n"
 "to the user would be loading/unloading of a new library."
 msgstr ""
 
-#: infrun.c:9332
+#: infrun.c:9336
 msgid "Set debugger response to a program call of fork or vfork."
 msgstr ""
 
-#: infrun.c:9333
+#: infrun.c:9337
 msgid "Show debugger response to a program call of fork or vfork."
 msgstr ""
 
-#: infrun.c:9334
+#: infrun.c:9338
 msgid ""
 "A fork or vfork creates a new process.  follow-fork-mode can be:\n"
 "  parent  - the original process is debugged after a fork\n"
@@ -15940,15 +15946,15 @@ msgid ""
 "By default, the debugger will follow the parent process."
 msgstr ""
 
-#: infrun.c:9346
+#: infrun.c:9350
 msgid "Set debugger response to a program call of exec."
 msgstr ""
 
-#: infrun.c:9347
+#: infrun.c:9351
 msgid "Show debugger response to a program call of exec."
 msgstr ""
 
-#: infrun.c:9348
+#: infrun.c:9352
 msgid ""
 "An exec call replaces the program image of a process.\n"
 "\n"
@@ -15967,15 +15973,15 @@ msgid ""
 "By default, the debugger will use the same inferior."
 msgstr ""
 
-#: infrun.c:9369
+#: infrun.c:9373
 msgid "Set mode for locking scheduler during execution."
 msgstr ""
 
-#: infrun.c:9370
+#: infrun.c:9374
 msgid "Show mode for locking scheduler during execution."
 msgstr ""
 
-#: infrun.c:9371
+#: infrun.c:9375
 msgid ""
 "off    == no locking (threads may preempt at any time)\n"
 "on     == full locking (no thread except the current thread may run)\n"
@@ -15988,15 +15994,15 @@ msgid ""
 "execution."
 msgstr ""
 
-#: infrun.c:9383
+#: infrun.c:9387
 msgid "Set mode for resuming threads of all processes."
 msgstr ""
 
-#: infrun.c:9384
+#: infrun.c:9388
 msgid "Show mode for resuming threads of all processes."
 msgstr ""
 
-#: infrun.c:9385
+#: infrun.c:9389
 msgid ""
 "When on, execution commands (such as 'continue' or 'next') resume all\n"
 "threads of all processes.  When off (which is the default), execution\n"
@@ -16005,30 +16011,30 @@ msgid ""
 "mode (see help set scheduler-locking)."
 msgstr ""
 
-#: infrun.c:9395
+#: infrun.c:9399
 msgid "Set mode of the step operation."
 msgstr ""
 
-#: infrun.c:9396
+#: infrun.c:9400
 msgid "Show mode of the step operation."
 msgstr ""
 
-#: infrun.c:9397
+#: infrun.c:9401
 msgid ""
 "When set, doing a step over a function without debug line information\n"
 "will stop at the first instruction of that function. Otherwise, the\n"
 "function is skipped and the step command stops at a different source line."
 msgstr ""
 
-#: infrun.c:9406
+#: infrun.c:9410
 msgid "Set debugger's willingness to use displaced stepping."
 msgstr ""
 
-#: infrun.c:9407
+#: infrun.c:9411
 msgid "Show debugger's willingness to use displaced stepping."
 msgstr ""
 
-#: infrun.c:9408
+#: infrun.c:9412
 msgid ""
 "If on, gdb will use displaced stepping to step over breakpoints if it is\n"
 "supported by the target architecture.  If off, gdb will not use displaced\n"
@@ -16040,57 +16046,57 @@ msgid ""
 "use it in all-stop mode (see help set non-stop)."
 msgstr ""
 
-#: infrun.c:9420
+#: infrun.c:9424
 msgid ""
 "Set direction of execution.\n"
 "Options are 'forward' or 'reverse'."
 msgstr ""
 
-#: infrun.c:9422
+#: infrun.c:9426
 msgid "Show direction of execution (forward/reverse)."
 msgstr ""
 
-#: infrun.c:9423
+#: infrun.c:9427
 msgid "Tells gdb whether to execute forward or backward."
 msgstr ""
 
 #. Set/show detach-on-fork: user-settable mode.
-#: infrun.c:9429
+#: infrun.c:9433
 msgid "Set whether gdb will detach the child of a fork."
 msgstr ""
 
-#: infrun.c:9430
+#: infrun.c:9434
 msgid "Show whether gdb will detach the child of a fork."
 msgstr ""
 
-#: infrun.c:9431
+#: infrun.c:9435
 msgid "Tells gdb whether to detach the child of a fork."
 msgstr ""
 
-#: infrun.c:9438
+#: infrun.c:9442
 msgid "Set disabling of debuggee's virtual address space randomization."
 msgstr ""
 
-#: infrun.c:9439
+#: infrun.c:9443
 msgid "Show disabling of debuggee's virtual address space randomization."
 msgstr ""
 
-#: infrun.c:9440
+#: infrun.c:9444
 msgid ""
 "When this mode is on (which is the default), randomization of the virtual\n"
 "address space is disabled.  Standalone programs run with the randomization\n"
 "enabled by default on some platforms."
 msgstr ""
 
-#: infrun.c:9464
+#: infrun.c:9468
 msgid "Set whether gdb controls the inferior in observer mode."
 msgstr ""
 
-#: infrun.c:9465
+#: infrun.c:9469
 msgid "Show whether gdb controls the inferior in observer mode."
 msgstr ""
 
-#: infrun.c:9466
+#: infrun.c:9470
 msgid ""
 "In observer mode, GDB can get data from the inferior, but not\n"
 "affect its execution.  Registers and memory may not be changed,\n"
@@ -16251,65 +16257,65 @@ msgid ""
 "Do \"help jit-reader-load\" for info on loading debug info readers."
 msgstr ""
 
-#: language.c:135
+#: language.c:133
 #, possible-c-format
 msgid "The current source language is \"auto; currently %s\".\n"
 msgstr ""
 
-#: language.c:140
+#: language.c:138
 #, possible-c-format
 msgid "The current source language is \"%s\".\n"
 msgstr ""
 
-#: language.c:242
+#: language.c:240
 #, possible-c-format
 msgid "Range checking is \"auto; currently %s\".\n"
 msgstr ""
 
-#: language.c:246
+#: language.c:244
 #, possible-c-format
 msgid "Range checking is \"%s\".\n"
 msgstr ""
 
-#: language.c:250 language.c:286
+#: language.c:248 language.c:284
 msgid "the current range check setting does not match the language.\n"
 msgstr ""
 
-#: language.c:283
+#: language.c:281
 #, possible-c-format
 msgid "Unrecognized range check setting: \"%s\""
 msgstr ""
 
-#: language.c:314
+#: language.c:312
 #, possible-c-format
 msgid "Case sensitivity in name search is \"auto; currently %s\".\n"
 msgstr ""
 
-#: language.c:320
+#: language.c:318
 #, possible-c-format
 msgid "Case sensitivity in name search is \"%s\".\n"
 msgstr ""
 
-#: language.c:324 language.c:357
+#: language.c:322 language.c:355
 msgid "the current case sensitivity setting does not match the language.\n"
 msgstr ""
 
-#: language.c:400
+#: language.c:398
 #, possible-c-format
 msgid "Current language:  %s\n"
 msgstr ""
 
-#: language.c:405
+#: language.c:403
 #, possible-c-format
 msgid "Range checking:    %s\n"
 msgstr ""
 
-#: language.c:407
+#: language.c:405
 #, possible-c-format
 msgid "Case sensitivity:  %s\n"
 msgstr ""
 
-#: language.c:564
+#: language.c:562
 #, c-format
 msgid ""
 "Set the current source language.\n"
@@ -16318,67 +16324,63 @@ msgid ""
 "local or auto    Automatic setting based on source file\n"
 msgstr ""
 
-#: language.c:588
+#: language.c:586
 msgid "Show the current source language."
 msgstr ""
 
-#: language.c:699
+#: language.c:698
 msgid "Getting a string is unsupported in this language."
 msgstr ""
 
 #: language.c:756
-msgid "Attempted to parse an expression with unknown language"
-msgstr ""
-
-#: language.c:763
 msgid "internal error - unimplemented function unk_lang_emit_char called."
 msgstr ""
 
-#: language.c:770
+#: language.c:763
 msgid "internal error - unimplemented function unk_lang_printchar called."
 msgstr ""
 
-#: language.c:780
+#: language.c:773
 msgid "internal error - unimplemented function unk_lang_printstr called."
 msgstr ""
 
-#: language.c:789
+#: language.c:782
 msgid "internal error - unimplemented function unk_lang_print_type called."
 msgstr ""
 
-#: language.c:800
+#: language.c:793
 msgid "internal error - unimplemented function unk_lang_val_print called."
 msgstr ""
 
-#: language.c:808
+#: language.c:801
 msgid "internal error - unimplemented function unk_lang_value_print called."
 msgstr ""
 
-#: language.c:1155
+#: language.c:1146
 msgid "Set the status of the type/range checker."
 msgstr ""
 
-#: language.c:1161
+#: language.c:1152
 msgid "Show the status of the type/range checker."
 msgstr ""
 
-#: language.c:1168
+#: language.c:1159
 msgid "Set range checking.  (on/warn/off/auto)"
 msgstr ""
 
-#: language.c:1169
+#: language.c:1160
 msgid "Show range checking.  (on/warn/off/auto)"
 msgstr ""
 
-#: language.c:1175
+#: language.c:1166
 msgid "Set case sensitivity in name search.  (on/off/auto)"
 msgstr ""
 
-#: language.c:1176
+#: language.c:1167
 msgid "Show case sensitivity in name search.  (on/off/auto)"
 msgstr ""
 
-#: language.c:1177
+#: language.c:1168
 msgid "For Fortran the default is off; for other languages the default is on."
 msgstr ""
 
@@ -16681,29 +16683,29 @@ msgstr ""
 msgid "wait returned unexpected status 0x%x"
 msgstr ""
 
-#: linux-nat.c:4136 linux-nat.c:4149
+#: linux-nat.c:4142 linux-nat.c:4155
 #, possible-c-format
 msgid "Could not parse signal set: %s"
 msgstr ""
 
-#: linux-nat.c:4181
+#: linux-nat.c:4187
 #, possible-c-format
 msgid "Could not open %s"
 msgstr ""
 
-#: linux-nat.c:4668
+#: linux-nat.c:4674
 msgid "Set debugging of GNU/Linux lwp module."
 msgstr ""
 
-#: linux-nat.c:4669
+#: linux-nat.c:4675
 msgid "Show debugging of GNU/Linux lwp module."
 msgstr ""
 
-#: linux-nat.c:4677
+#: linux-nat.c:4683
 msgid "Set debugging of GNU/Linux namespaces module."
 msgstr ""
 
-#: linux-nat.c:4678
+#: linux-nat.c:4684
 msgid "Show debugging of GNU/Linux namespaces module."
 msgstr ""
 
@@ -20015,10 +20017,45 @@ msgstr ""
 msgid "Could not open /proc/%ld/task."
 msgstr ""
 
-#: nat/aarch64-sve-linux-ptrace.c:53
+#: nat/aarch64-sve-linux-ptrace.c:57
 msgid "Invalid SVE state from kernel; SVE disabled."
 msgstr ""
 
+#: nat/aarch64-sve-linux-ptrace.c:74
+msgid "Unable to fetch SVE register header"
+msgstr ""
+
+#: nat/aarch64-sve-linux-ptrace.c:86
+msgid "Unable to fetch SVE registers"
+msgstr ""
+
+#: nat/aarch64-sve-linux-ptrace.c:106 nat/aarch64-sve-linux-ptrace.c:198
+msgid "Invalid SVE header from kernel."
+msgstr ""
+
+#. Vector length on the running process has changed.  GDB currently does
+#. not support this and will result in GDB showing incorrect partially
+#. incorrect data for the vector registers.  Warn once and continue.  We
+#. do not expect many programs to exhibit this behaviour.  To fix this
+#. we need to spot the change earlier and generate a new target
+#. descriptor.
+#: nat/aarch64-sve-linux-ptrace.c:125
+#, possible-c-format
+msgid ""
+"SVE Vector length has changed (%ld to %d). Vector registers may show "
+"incorrect data."
+msgstr ""
+
+#. Vector length on the running process has changed.  GDB currently does
+#. not support this and will result in GDB writing invalid data back to
+#. the vector registers.  Error and exit.  We do not expect many programs
+#. to exhibit this behaviour.  To fix this we need to spot the change
+#. earlier and generate a new target descriptor.
+#: nat/aarch64-sve-linux-ptrace.c:210
+#, possible-c-format
+msgid "SVE Vector length has changed (%ld to %d). Cannot write back registers."
+msgstr ""
+
 #: nat/x86-dregs.c:228
 msgid "The i386 doesn't support data-read watchpoints.\n"
 msgstr ""
@@ -20183,83 +20220,83 @@ msgstr ""
 msgid "NSString: internal error -- no way to create new NSString"
 msgstr ""
 
-#: objc-lang.c:498
+#: objc-lang.c:497
 #, possible-c-format
 msgid "Can't find selector \"%s\""
 msgstr ""
 
-#: objc-lang.c:545
+#: objc-lang.c:544
 msgid "internal: compare_selectors(1)"
 msgstr ""
 
-#: objc-lang.c:550
+#: objc-lang.c:549
 msgid "internal: compare_selectors(2)"
 msgstr ""
 
-#: objc-lang.c:595 objc-lang.c:745
+#: objc-lang.c:594 objc-lang.c:744
 #, possible-c-format
 msgid "Regexp is too long: %s"
 msgstr ""
 
-#: objc-lang.c:608 objc-lang.c:758 thread.c:1815
+#: objc-lang.c:607 objc-lang.c:757 thread.c:1815
 #, possible-c-format
 msgid "Invalid regexp (%s): %s"
 msgstr ""
 
-#: objc-lang.c:627
+#: objc-lang.c:626
 #, possible-c-format
 msgid "Bad method name '%s'"
 msgstr ""
 
-#: objc-lang.c:644
+#: objc-lang.c:643
 #, possible-c-format
 msgid ""
 "Selectors matching \"%s\":\n"
 "\n"
 msgstr ""
 
-#: objc-lang.c:691
+#: objc-lang.c:690
 #, possible-c-format
 msgid "No selectors matching \"%s\"\n"
 msgstr ""
 
-#: objc-lang.c:710
+#: objc-lang.c:709
 msgid "internal: compare_classes(1)"
 msgstr ""
 
-#: objc-lang.c:782
+#: objc-lang.c:781
 #, possible-c-format
 msgid ""
 "Classes matching \"%s\":\n"
 "\n"
 msgstr ""
 
-#: objc-lang.c:821
+#: objc-lang.c:820
 #, possible-c-format
 msgid "No classes matching \"%s\"\n"
 msgstr ""
 
-#: objc-lang.c:1191
+#: objc-lang.c:1190
 msgid "Unable to locate _NSPrintForDebugger in child process"
 msgstr ""
 
-#: objc-lang.c:1197
+#: objc-lang.c:1196
 msgid "object returns null description"
 msgstr ""
 
-#: objc-lang.c:1208
+#: objc-lang.c:1207
 msgid "<object returns empty description>"
 msgstr ""
 
-#: objc-lang.c:1341
+#: objc-lang.c:1340
 msgid "All Objective-C selectors, or those matching REGEXP."
 msgstr ""
 
-#: objc-lang.c:1343
+#: objc-lang.c:1342
 msgid "All Objective-C classes, or those matching REGEXP."
 msgstr ""
 
-#: objc-lang.c:1345
+#: objc-lang.c:1344
 msgid "Ask an Objective-C object to print itself."
 msgstr ""
 
@@ -20284,15 +20321,15 @@ msgid ""
 "Will ignore section B"
 msgstr ""
 
-#: objfiles.h:677
+#: objfiles.h:672
 msgid "sect_index_data not initialized"
 msgstr ""
 
-#: objfiles.h:683
+#: objfiles.h:678
 msgid "sect_index_rodata not initialized"
 msgstr ""
 
-#: objfiles.h:689
+#: objfiles.h:684
 msgid "sect_index_text not initialized"
 msgstr ""
 
@@ -20515,32 +20552,32 @@ msgstr ""
 msgid "expression to compute"
 msgstr ""
 
-#: parse.c:1247
+#: parse.c:1246
 msgid "Junk after end of expression."
 msgstr ""
 
-#: parse.c:1889
+#: parse.c:1888
 msgid "Set expression debugging."
 msgstr ""
 
-#: parse.c:1890
+#: parse.c:1889
 msgid "Show expression debugging."
 msgstr ""
 
-#: parse.c:1891
+#: parse.c:1890
 msgid ""
 "When non-zero, the internal representation of expressions will be printed."
 msgstr ""
 
-#: parse.c:1898
+#: parse.c:1897
 msgid "Set parser debugging."
 msgstr ""
 
-#: parse.c:1899
+#: parse.c:1898
 msgid "Show parser debugging."
 msgstr ""
 
-#: parse.c:1900
+#: parse.c:1899
 msgid "When non-zero, expression parser tracing will be enabled."
 msgstr ""
 
@@ -21685,64 +21722,64 @@ msgstr ""
 msgid "Length is larger than array size."
 msgstr ""
 
-#: python/py-value.c:568
+#: python/py-value.c:564
 msgid "Argument must be a type."
 msgstr ""
 
-#: python/py-value.c:628 python/py-value.c:1438 python/py-value.c:1469
+#: python/py-value.c:624 python/py-value.c:1434 python/py-value.c:1465
 msgid "Invalid operation on gdb.Value."
 msgstr ""
 
-#: python/py-value.c:650
+#: python/py-value.c:646
 msgid "'parent_type' attribute of gdb.Field object is not agdb.Type object."
 msgstr ""
 
-#: python/py-value.c:707
+#: python/py-value.c:703
 msgid "'type' attribute of gdb.Field object is not a gdb.Type object."
 msgstr ""
 
-#: python/py-value.c:743
+#: python/py-value.c:739
 msgid "Invalid lookup for a field not contained in the value."
 msgstr ""
 
-#: python/py-value.c:776
+#: python/py-value.c:772
 msgid "gdb.Field object has no name and no 'bitpos' attribute."
 msgstr ""
 
-#: python/py-value.c:839
+#: python/py-value.c:835
 msgid "Cannot subscript requested type."
 msgstr ""
 
-#: python/py-value.c:863
+#: python/py-value.c:859
 msgid "Setting of struct elements is not currently supported."
 msgstr ""
 
-#: python/py-value.c:891
+#: python/py-value.c:887
 msgid "Value is not callable (not TYPE_CODE_FUNC)."
 msgstr ""
 
-#: python/py-value.c:898
+#: python/py-value.c:894
 msgid "Inferior arguments must be provided in a tuple."
 msgstr ""
 
-#: python/py-value.c:1505
+#: python/py-value.c:1501
 msgid "Cannot convert value to int."
 msgstr ""
 
-#: python/py-value.c:1533
+#: python/py-value.c:1529
 msgid "Cannot convert value to long."
 msgstr ""
 
-#: python/py-value.c:1562
+#: python/py-value.c:1558
 msgid "Cannot convert value to float."
 msgstr ""
 
-#: python/py-value.c:1707
+#: python/py-value.c:1703
 #, possible-c-format
 msgid "Could not convert Python object: %S."
 msgstr ""
 
-#: python/py-value.c:1710
+#: python/py-value.c:1706
 #, possible-c-format
 msgid "Could not convert Python object: %s."
 msgstr ""
@@ -24944,108 +24981,108 @@ msgid ""
 "of its first byte."
 msgstr ""
 
-#: rust-exp.y:444
+#: rust-exp.y:445
 msgid "Tuple expressions not supported yet"
 msgstr ""
 
-#: rust-exp.y:1016
+#: rust-exp.y:1017
 msgid "Could not find crate for current location"
 msgstr ""
 
-#: rust-exp.y:1036
+#: rust-exp.y:1037
 msgid "Couldn't find namespace scope for self::"
 msgstr ""
 
-#: rust-exp.y:1057
+#: rust-exp.y:1058
 #, possible-c-format
 msgid "Too many super:: uses from '%s'"
 msgstr ""
 
-#: rust-exp.y:1094
+#: rust-exp.y:1095
 #, possible-c-format
 msgid "Could not find Rust type %s"
 msgstr ""
 
-#: rust-exp.y:1126
+#: rust-exp.y:1127
 msgid "Not enough hex digits seen"
 msgstr ""
 
-#: rust-exp.y:1130
+#: rust-exp.y:1131
 msgid "Overlong hex escape"
 msgstr ""
 
-#: rust-exp.y:1155
+#: rust-exp.y:1156
 msgid "Unicode escape in byte literal"
 msgstr ""
 
-#: rust-exp.y:1158
+#: rust-exp.y:1159
 msgid "Missing '{' in Unicode escape"
 msgstr ""
 
-#: rust-exp.y:1163
+#: rust-exp.y:1164
 msgid "Missing '}' in Unicode escape"
 msgstr ""
 
-#: rust-exp.y:1197
+#: rust-exp.y:1198
 #, possible-c-format
 msgid "Invalid escape \\%c in literal"
 msgstr ""
 
-#: rust-exp.y:1228
+#: rust-exp.y:1229
 msgid "Unterminated character literal"
 msgstr ""
 
-#: rust-exp.y:1298 rust-exp.y:1325
+#: rust-exp.y:1299 rust-exp.y:1326
 msgid "Unexpected EOF in string"
 msgstr ""
 
-#: rust-exp.y:1302
+#: rust-exp.y:1303
 msgid "Non-ASCII value in raw byte string"
 msgstr ""
 
-#: rust-exp.y:1330
+#: rust-exp.y:1331
 msgid "Non-ASCII value in byte string"
 msgstr ""
 
-#: rust-exp.y:2045
+#: rust-exp.y:2046
 #, possible-c-format
 msgid "No typed name '%s' in current context"
 msgstr ""
 
-#: rust-exp.y:2056
+#: rust-exp.y:2057
 msgid "Negative array length"
 msgstr ""
 
-#: rust-exp.y:2118
+#: rust-exp.y:2119
 #, possible-c-format
 msgid "could not find tuple type '%s'"
 msgstr ""
 
-#: rust-exp.y:2326
+#: rust-exp.y:2327
 #, possible-c-format
 msgid "Type %s is not a tuple struct"
 msgstr ""
 
-#: rust-exp.y:2398
+#: rust-exp.y:2399
 #, possible-c-format
 msgid "No symbol '%s' in current context"
 msgstr ""
 
-#: rust-exp.y:2417
+#: rust-exp.y:2418
 #, possible-c-format
 msgid "Found type '%s', which can't be evaluated in this context"
 msgstr ""
 
-#: rust-exp.y:2456
+#: rust-exp.y:2457
 #, possible-c-format
 msgid "Could not find type '%s'"
 msgstr ""
 
-#: rust-exp.y:2461
+#: rust-exp.y:2462
 msgid "Struct expression applied to non-struct type"
 msgstr ""
 
-#: rust-exp.y:2545
+#: rust-exp.y:2546
 #, possible-c-format
 msgid "%s in expression, near `%s'."
 msgstr ""
@@ -25410,12 +25447,12 @@ msgstr ""
 msgid "missing child command"
 msgstr ""
 
-#: ser-mingw.c:899
+#: ser-mingw.c:898
 #, possible-c-format
 msgid "error starting child process '%s': %s: %s"
 msgstr ""
 
-#: ser-mingw.c:902
+#: ser-mingw.c:901
 #, possible-c-format
 msgid "error starting child process '%s': %s"
 msgstr ""
@@ -25701,56 +25738,56 @@ msgstr ""
 #. Should never happen, but recover as best as we can (trying
 #. to open pathname without decoding, possibly leading to
 #. a failure), rather than triggering an assert failure).
-#: solib-aix.c:628
+#: solib-aix.c:626
 #, possible-c-format
 msgid "missing '(' in shared object pathname: %s"
 msgstr ""
 
 #. Arrange to free PATHNAME when the error is thrown.
-#: solib-aix.c:648 solib.c:471
+#: solib-aix.c:646 solib.c:471
 #, possible-c-format
 msgid "Could not open `%s' as an executable file: %s"
 msgstr ""
 
-#: solib-aix.c:658
+#: solib-aix.c:656
 #, possible-c-format
 msgid "\"%s\": not in executable format: %s."
 msgstr ""
 
-#: solib-aix.c:676
+#: solib-aix.c:674
 #, possible-c-format
 msgid "\"%s\": member \"%s\" missing."
 msgstr ""
 
-#: solib-aix.c:683
+#: solib-aix.c:681
 #, possible-c-format
 msgid "%s(%s): not in object format: %s."
 msgstr ""
 
-#: solib-aix.c:729
+#: solib-aix.c:727
 #, possible-c-format
 msgid "unable to find TOC entry for pc %s (no section contains this PC)"
 msgstr ""
 
-#: solib-aix.c:735
+#: solib-aix.c:733
 #, possible-c-format
 msgid "unable to find TOC entry for pc %s (%s has no data section)"
 msgstr ""
 
-#: solib-aix.c:770
+#: solib-aix.c:768
 #, possible-c-format
 msgid "solib-aix debugging is %s.\n"
 msgstr ""
 
-#: solib-aix.c:798
+#: solib-aix.c:796
 msgid "Control the debugging traces for the solib-aix module."
 msgstr ""
 
-#: solib-aix.c:799
+#: solib-aix.c:797
 msgid "Show whether solib-aix debugging traces are enabled."
 msgstr ""
 
-#: solib-aix.c:800
+#: solib-aix.c:798
 msgid "When on, solib-aix debugging traces are enabled."
 msgstr ""
 
@@ -25905,12 +25942,12 @@ msgid ""
 "LD_LIBRARY_PATH."
 msgstr ""
 
-#: solib-darwin.c:532
+#: solib-darwin.c:527
 #, possible-c-format
 msgid "unhandled dyld version (%d)"
 msgstr ""
 
-#: solib-darwin.c:636
+#: solib-darwin.c:631
 #, possible-c-format
 msgid "`%s': not a shared-library: %s"
 msgstr ""
@@ -25951,31 +25988,31 @@ msgstr ""
 msgid "Can't read pathname for link map entry: %s."
 msgstr ""
 
-#: solib-dsbt.c:770 solib-frv.c:486 solib-svr4.c:2446
+#: solib-dsbt.c:770 solib-frv.c:486 solib-svr4.c:2447
 msgid ""
 "Unable to find dynamic linker breakpoint function.\n"
 "GDB will be unable to debug shared library initializers\n"
 "and track explicitly loaded dynamic code."
 msgstr ""
 
-#: solib-dsbt.c:994 solib-frv.c:855
+#: solib-dsbt.c:989 solib-frv.c:850
 msgid "shared library handler failed to enable breakpoint"
 msgstr ""
 
-#: solib-dsbt.c:1044
+#: solib-dsbt.c:1039
 #, possible-c-format
 msgid "solib-dsbt debugging is %s.\n"
 msgstr ""
 
-#: solib-dsbt.c:1066
+#: solib-dsbt.c:1061
 msgid "Set internal debugging of shared library code for DSBT ELF."
 msgstr ""
 
-#: solib-dsbt.c:1067
+#: solib-dsbt.c:1062
 msgid "Show internal debugging of shared library code for DSBT ELF."
 msgstr ""
 
-#: solib-dsbt.c:1068
+#: solib-dsbt.c:1063
 msgid "When non-zero, DSBT solib specific internal debugging is enabled."
 msgstr ""
 
@@ -26024,19 +26061,19 @@ msgid ""
 "dynamic linker"
 msgstr ""
 
-#: solib-frv.c:789
+#: solib-frv.c:787
 msgid "Unable to load the executable's loadmap."
 msgstr ""
 
-#: solib-frv.c:1170
+#: solib-frv.c:1165
 msgid "Set internal debugging of shared library code for FR-V."
 msgstr ""
 
-#: solib-frv.c:1171
+#: solib-frv.c:1166
 msgid "Show internal debugging of shared library code for FR-V."
 msgstr ""
 
-#: solib-frv.c:1172
+#: solib-frv.c:1167
 msgid "When non-zero, FR-V solib specific internal debugging is enabled."
 msgstr ""
 
@@ -26108,7 +26145,7 @@ msgstr ""
 #. It can be printed repeatedly as there is no easy way to check
 #. the executable symbols/file has been already relocated to
 #. displacement.
-#: solib-svr4.c:2911
+#: solib-svr4.c:2912
 #, possible-c-format
 msgid ""
 "Using PIE (Position Independent Executable) displacement %s for \"%s\".\n"
@@ -31372,149 +31409,149 @@ msgstr ""
 msgid "Internal error in octal conversion;"
 msgstr ""
 
-#: valprint.c:2904
+#: valprint.c:2898
 #, possible-c-format
 msgid "Nonsense input radix ``decimal %u''; input radix unchanged."
 msgstr ""
 
-#: valprint.c:2910
+#: valprint.c:2904
 #, possible-c-format
 msgid "Input radix now set to decimal %u, hex %x, octal %o.\n"
 msgstr ""
 
-#: valprint.c:2946
+#: valprint.c:2940
 #, possible-c-format
 msgid "Unsupported output radix ``decimal %u''; output radix unchanged."
 msgstr ""
 
-#: valprint.c:2953
+#: valprint.c:2947
 #, possible-c-format
 msgid "Output radix now set to decimal %u, hex %x, octal %o.\n"
 msgstr ""
 
-#: valprint.c:2977
+#: valprint.c:2971
 #, possible-c-format
 msgid "Input and output radices now set to decimal %u, hex %x, octal %o.\n"
 msgstr ""
 
-#: valprint.c:2992
+#: valprint.c:2986
 #, possible-c-format
 msgid "Input and output radices set to decimal %u, hex %x, octal %o.\n"
 msgstr ""
 
-#: valprint.c:2998
+#: valprint.c:2992
 #, possible-c-format
 msgid "Input radix set to decimal %u, hex %x, octal %o.\n"
 msgstr ""
 
-#: valprint.c:3001
+#: valprint.c:2995
 #, possible-c-format
 msgid "Output radix set to decimal %u, hex %x, octal %o.\n"
 msgstr ""
 
-#: valprint.c:3042
+#: valprint.c:3036
 msgid "Generic command for setting how things print."
 msgstr ""
 
-#: valprint.c:3049
+#: valprint.c:3043
 msgid "Generic command for showing print settings."
 msgstr ""
 
-#: valprint.c:3055
+#: valprint.c:3049
 msgid "Generic command for setting what things to print in \"raw\" mode."
 msgstr ""
 
-#: valprint.c:3059
+#: valprint.c:3053
 msgid "Generic command for showing \"print raw\" settings."
 msgstr ""
 
-#: valprint.c:3063
+#: valprint.c:3057
 msgid "Set limit on string chars or array elements to print."
 msgstr ""
 
-#: valprint.c:3064
+#: valprint.c:3058
 msgid "Show limit on string chars or array elements to print."
 msgstr ""
 
-#: valprint.c:3065
+#: valprint.c:3059
 msgid "\"set print elements unlimited\" causes there to be no limit."
 msgstr ""
 
-#: valprint.c:3072
+#: valprint.c:3066
 msgid "Set printing of char arrays to stop at first null char."
 msgstr ""
 
-#: valprint.c:3073
+#: valprint.c:3067
 msgid "Show printing of char arrays to stop at first null char."
 msgstr ""
 
-#: valprint.c:3080
+#: valprint.c:3074
 msgid "Set threshold for repeated print elements."
 msgstr ""
 
-#: valprint.c:3081
+#: valprint.c:3075
 msgid "Show threshold for repeated print elements."
 msgstr ""
 
-#: valprint.c:3082
+#: valprint.c:3076
 msgid ""
 "\"set print repeats unlimited\" causes all elements to be individually "
 "printed."
 msgstr ""
 
-#: valprint.c:3089
+#: valprint.c:3083
 msgid "Set pretty formatting of structures."
 msgstr ""
 
-#: valprint.c:3090
+#: valprint.c:3084
 msgid "Show pretty formatting of structures."
 msgstr ""
 
-#: valprint.c:3097
+#: valprint.c:3091
 msgid "Set printing of unions interior to structures."
 msgstr ""
 
-#: valprint.c:3098
+#: valprint.c:3092
 msgid "Show printing of unions interior to structures."
 msgstr ""
 
-#: valprint.c:3105
+#: valprint.c:3099
 msgid "Set pretty formatting of arrays."
 msgstr ""
 
-#: valprint.c:3106
+#: valprint.c:3100
 msgid "Show pretty formatting of arrays."
 msgstr ""
 
-#: valprint.c:3113
+#: valprint.c:3107
 msgid "Set printing of addresses."
 msgstr ""
 
-#: valprint.c:3114
+#: valprint.c:3108
 msgid "Show printing of addresses."
 msgstr ""
 
-#: valprint.c:3121
+#: valprint.c:3115
 msgid "Set printing of symbol names when printing pointers."
 msgstr ""
 
-#: valprint.c:3122
+#: valprint.c:3116
 msgid "Show printing of symbol names when printing pointers."
 msgstr ""
 
-#: valprint.c:3129
+#: valprint.c:3123
 msgid "Set default input radix for entering numbers."
 msgstr ""
 
-#: valprint.c:3130
+#: valprint.c:3124
 msgid "Show default input radix for entering numbers."
 msgstr ""
 
-#: valprint.c:3137
+#: valprint.c:3131
 msgid "Set default output radix for printing of values."
 msgstr ""
 
-#: valprint.c:3138
+#: valprint.c:3132
 msgid "Show default output radix for printing of values."
 msgstr ""
 
@@ -31525,24 +31562,24 @@ msgstr ""
 #. add_show_from_set() commands aren't really appropriate.
 #. FIXME: i18n: With the new add_setshow_integer command, that is no
 #. longer true - show can display anything.
-#: valprint.c:3151
+#: valprint.c:3145
 msgid ""
 "Set default input and output number radices.\n"
 "Use 'set input-radix' or 'set output-radix' to independently set each.\n"
 "Without an argument, sets both radices back to the default value of 10."
 msgstr ""
 
-#: valprint.c:3156
+#: valprint.c:3150
 msgid ""
 "Show the default input and output number radices.\n"
 "Use 'show input-radix' or 'show output-radix' to independently show each."
 msgstr ""
 
-#: valprint.c:3162
+#: valprint.c:3156
 msgid "Set printing of array indexes."
 msgstr ""
 
-#: valprint.c:3163
+#: valprint.c:3157
 msgid "Show printing of array indexes"
 msgstr ""
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/procfs.c ./gdb/procfs.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/procfs.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/procfs.c	2018-06-19 01:49:02.000000000 +0000
@@ -3731,7 +3731,7 @@ _initialize_procfs (void)
   add_com ("proc-untrace-exit", no_class, proc_untrace_sysexit_cmd,
 	   _("Cancel a trace of exits from the syscall."));
 
-  add_target (&the_procfs_target);
+  add_inf_child_target (&the_procfs_target);
 }
 
 /* =================== END, GDB  "MODULE" =================== */
@@ -3851,8 +3851,6 @@ procfs_target::make_corefile_notes (bfd 
   char *note_data = NULL;
   char *inf_args;
   struct procfs_corefile_thread_data thread_args;
-  gdb_byte *auxv;
-  int auxv_len;
   enum gdb_signal stop_signal;
 
   if (get_exec_file (0))
@@ -3894,14 +3892,12 @@ procfs_target::make_corefile_notes (bfd 
 			     &thread_args);
   note_data = thread_args.note_data;
 
-  auxv_len = target_read_alloc (current_top_target (), TARGET_OBJECT_AUXV,
-				NULL, &auxv);
-  if (auxv_len > 0)
-    {
-      note_data = elfcore_write_note (obfd, note_data, note_size,
-				      "CORE", NT_AUXV, auxv, auxv_len);
-      xfree (auxv);
-    }
+  gdb::optional<gdb::byte_vector> auxv =
+    target_read_alloc (current_top_target (), TARGET_OBJECT_AUXV, NULL);
+  if (auxv && !auxv->empty ())
+    note_data = elfcore_write_note (obfd, note_data, note_size,
+				    "CORE", NT_AUXV, auxv->data (),
+				    auxv->size ());
 
   return note_data;
 }
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/python/py-value.c ./gdb/python/py-value.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/python/py-value.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/python/py-value.c	2018-06-19 01:49:02.000000000 +0000
@@ -517,9 +517,8 @@ static PyObject *
 valpy_string (PyObject *self, PyObject *args, PyObject *kw)
 {
   int length = -1;
-  gdb_byte *buffer;
+  gdb::unique_xmalloc_ptr<gdb_byte> buffer;
   struct value *value = ((value_object *) self)->value;
-  PyObject *unicode;
   const char *encoding = NULL;
   const char *errors = NULL;
   const char *user_encoding = NULL;
@@ -542,12 +541,9 @@ valpy_string (PyObject *self, PyObject *
   END_CATCH
 
   encoding = (user_encoding && *user_encoding) ? user_encoding : la_encoding;
-  unicode = PyUnicode_Decode ((const char *) buffer,
-			      length * TYPE_LENGTH (char_type),
-			      encoding, errors);
-  xfree (buffer);
-
-  return unicode;
+  return PyUnicode_Decode ((const char *) buffer.get (),
+			   length * TYPE_LENGTH (char_type),
+			   encoding, errors);
 }
 
 /* A helper function that implements the various cast operators.  */
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/rust-exp.c ./gdb/rust-exp.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/rust-exp.c	2018-06-12 01:53:14.000000000 +0000
+++ ./gdb/rust-exp.c	2018-06-19 01:53:05.000000000 +0000
@@ -120,6 +120,7 @@ struct set_field
 typedef std::vector<set_field> rust_set_vector;
 
 static int rustyylex (void);
+static void rustyyerror (const char *msg);
 static void rust_push_back (char c);
 static const char *rust_copy_name (const char *, int);
 static struct stoken rust_concat3 (const char *, const char *, const char *);
@@ -298,7 +299,7 @@ struct rust_parser
 
 
 /* Line 189 of yacc.c  */
-#line 302 "rust-exp.c.tmp"
+#line 303 "rust-exp.c.tmp"
 
 /* Enabling traces.  */
 #ifndef YYDEBUG
@@ -403,7 +404,7 @@ typedef union YYSTYPE
 {
 
 /* Line 214 of yacc.c  */
-#line 251 "rust-exp.y"
+#line 252 "rust-exp.y"
 
   /* A typed integer constant.  */
   struct typed_val_int typed_val_int;
@@ -437,7 +438,7 @@ typedef union YYSTYPE
 
 
 /* Line 214 of yacc.c  */
-#line 441 "rust-exp.c.tmp"
+#line 442 "rust-exp.c.tmp"
 } YYSTYPE;
 # define YYSTYPE_IS_TRIVIAL 1
 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
@@ -448,7 +449,7 @@ typedef union YYSTYPE
 /* Copy the second part of user declarations.  */
 
 /* Line 264 of yacc.c  */
-#line 282 "rust-exp.y"
+#line 283 "rust-exp.y"
 
 
   /* Rust AST operations.  We build a tree of these; then lower them
@@ -483,7 +484,7 @@ struct rust_op
 
 
 /* Line 264 of yacc.c  */
-#line 487 "rust-exp.c.tmp"
+#line 488 "rust-exp.c.tmp"
 
 #ifdef short
 # undef short
@@ -820,19 +821,19 @@ static const yytype_int8 yyrhs[] =
 /* YYRLINE[YYN] -- source line where rule number YYN was defined.  */
 static const yytype_uint16 yyrline[] =
 {
-       0,   411,   411,   424,   425,   426,   427,   428,   429,   430,
-     431,   432,   433,   435,   436,   437,   441,   449,   466,   471,
-     481,   489,   501,   504,   510,   519,   531,   533,   535,   537,
-     542,   544,   546,   548,   550,   552,   557,   559,   561,   563,
-     590,   592,   601,   613,   615,   620,   625,   630,   633,   636,
-     645,   648,   651,   653,   658,   659,   660,   661,   665,   668,
-     671,   674,   677,   680,   683,   686,   689,   692,   695,   698,
-     701,   704,   707,   710,   713,   716,   719,   724,   729,   734,
-     740,   745,   750,   759,   763,   768,   773,   777,   779,   783,
-     785,   790,   792,   794,   799,   800,   802,   804,   806,   818,
-     820,   826,   828,   836,   837,   839,   841,   843,   855,   857,
-     866,   867,   869,   877,   878,   880,   882,   884,   886,   888,
-     890,   892,   898,   899,   904,   910
+       0,   412,   412,   425,   426,   427,   428,   429,   430,   431,
+     432,   433,   434,   436,   437,   438,   442,   450,   467,   472,
+     482,   490,   502,   505,   511,   520,   532,   534,   536,   538,
+     543,   545,   547,   549,   551,   553,   558,   560,   562,   564,
+     591,   593,   602,   614,   616,   621,   626,   631,   634,   637,
+     646,   649,   652,   654,   659,   660,   661,   662,   666,   669,
+     672,   675,   678,   681,   684,   687,   690,   693,   696,   699,
+     702,   705,   708,   711,   714,   717,   720,   725,   730,   735,
+     741,   746,   751,   760,   764,   769,   774,   778,   780,   784,
+     786,   791,   793,   795,   800,   801,   803,   805,   807,   819,
+     821,   827,   829,   837,   838,   840,   842,   844,   856,   858,
+     867,   868,   870,   878,   879,   881,   883,   885,   887,   889,
+     891,   893,   899,   900,   905,   911
 };
 #endif
 
@@ -2065,7 +2066,7 @@ yyreduce:
         case 2:
 
 /* Line 1455 of yacc.c  */
-#line 412 "rust-exp.y"
+#line 413 "rust-exp.y"
     {
 		  /* If we are completing and see a valid parse,
 		     rust_ast will already have been set.  */
@@ -2077,7 +2078,7 @@ yyreduce:
   case 16:
 
 /* Line 1455 of yacc.c  */
-#line 442 "rust-exp.y"
+#line 443 "rust-exp.y"
     {
 		  (yyvsp[(4) - (5)].params)->push_back ((yyvsp[(2) - (5)].op));
 		  error (_("Tuple expressions not supported yet"));
@@ -2087,7 +2088,7 @@ yyreduce:
   case 17:
 
 /* Line 1455 of yacc.c  */
-#line 450 "rust-exp.y"
+#line 451 "rust-exp.y"
     {
 		  struct typed_val_int val;
 
@@ -2103,14 +2104,14 @@ yyreduce:
   case 18:
 
 /* Line 1455 of yacc.c  */
-#line 467 "rust-exp.y"
+#line 468 "rust-exp.y"
     { (yyval.op) = ast_struct ((yyvsp[(1) - (4)].op), (yyvsp[(3) - (4)].field_inits)); }
     break;
 
   case 19:
 
 /* Line 1455 of yacc.c  */
-#line 472 "rust-exp.y"
+#line 473 "rust-exp.y"
     {
 		  struct set_field sf;
 
@@ -2125,7 +2126,7 @@ yyreduce:
   case 20:
 
 /* Line 1455 of yacc.c  */
-#line 482 "rust-exp.y"
+#line 483 "rust-exp.y"
     {
 		  struct set_field sf;
 
@@ -2138,7 +2139,7 @@ yyreduce:
   case 21:
 
 /* Line 1455 of yacc.c  */
-#line 490 "rust-exp.y"
+#line 491 "rust-exp.y"
     {
 		  struct set_field sf;
 
@@ -2151,7 +2152,7 @@ yyreduce:
   case 22:
 
 /* Line 1455 of yacc.c  */
-#line 501 "rust-exp.y"
+#line 502 "rust-exp.y"
     {
 		  (yyval.field_inits) = current_parser->new_set_vector ();
 		}
@@ -2160,7 +2161,7 @@ yyreduce:
   case 23:
 
 /* Line 1455 of yacc.c  */
-#line 505 "rust-exp.y"
+#line 506 "rust-exp.y"
     {
 		  rust_set_vector *result = current_parser->new_set_vector ();
 		  result->push_back ((yyvsp[(1) - (1)].one_field_init));
@@ -2171,7 +2172,7 @@ yyreduce:
   case 24:
 
 /* Line 1455 of yacc.c  */
-#line 511 "rust-exp.y"
+#line 512 "rust-exp.y"
     {
 		  struct set_field sf;
 
@@ -2185,7 +2186,7 @@ yyreduce:
   case 25:
 
 /* Line 1455 of yacc.c  */
-#line 520 "rust-exp.y"
+#line 521 "rust-exp.y"
     {
 		  struct set_field sf;
 
@@ -2199,98 +2200,98 @@ yyreduce:
   case 26:
 
 /* Line 1455 of yacc.c  */
-#line 532 "rust-exp.y"
+#line 533 "rust-exp.y"
     { (yyval.op) = ast_call_ish (OP_ARRAY, NULL, (yyvsp[(3) - (4)].params)); }
     break;
 
   case 27:
 
 /* Line 1455 of yacc.c  */
-#line 534 "rust-exp.y"
+#line 535 "rust-exp.y"
     { (yyval.op) = ast_call_ish (OP_ARRAY, NULL, (yyvsp[(2) - (3)].params)); }
     break;
 
   case 28:
 
 /* Line 1455 of yacc.c  */
-#line 536 "rust-exp.y"
+#line 537 "rust-exp.y"
     { (yyval.op) = ast_operation (OP_RUST_ARRAY, (yyvsp[(3) - (6)].op), (yyvsp[(5) - (6)].op)); }
     break;
 
   case 29:
 
 /* Line 1455 of yacc.c  */
-#line 538 "rust-exp.y"
+#line 539 "rust-exp.y"
     { (yyval.op) = ast_operation (OP_RUST_ARRAY, (yyvsp[(2) - (5)].op), (yyvsp[(4) - (5)].op)); }
     break;
 
   case 30:
 
 /* Line 1455 of yacc.c  */
-#line 543 "rust-exp.y"
+#line 544 "rust-exp.y"
     { (yyval.op) = ast_range ((yyvsp[(1) - (2)].op), NULL, false); }
     break;
 
   case 31:
 
 /* Line 1455 of yacc.c  */
-#line 545 "rust-exp.y"
+#line 546 "rust-exp.y"
     { (yyval.op) = ast_range ((yyvsp[(1) - (3)].op), (yyvsp[(3) - (3)].op), false); }
     break;
 
   case 32:
 
 /* Line 1455 of yacc.c  */
-#line 547 "rust-exp.y"
+#line 548 "rust-exp.y"
     { (yyval.op) = ast_range ((yyvsp[(1) - (3)].op), (yyvsp[(3) - (3)].op), true); }
     break;
 
   case 33:
 
 /* Line 1455 of yacc.c  */
-#line 549 "rust-exp.y"
+#line 550 "rust-exp.y"
     { (yyval.op) = ast_range (NULL, (yyvsp[(2) - (2)].op), false); }
     break;
 
   case 34:
 
 /* Line 1455 of yacc.c  */
-#line 551 "rust-exp.y"
+#line 552 "rust-exp.y"
     { (yyval.op) = ast_range (NULL, (yyvsp[(2) - (2)].op), true); }
     break;
 
   case 35:
 
 /* Line 1455 of yacc.c  */
-#line 553 "rust-exp.y"
+#line 554 "rust-exp.y"
     { (yyval.op) = ast_range (NULL, NULL, false); }
     break;
 
   case 36:
 
 /* Line 1455 of yacc.c  */
-#line 558 "rust-exp.y"
+#line 559 "rust-exp.y"
     { (yyval.op) = ast_literal ((yyvsp[(1) - (1)].typed_val_int)); }
     break;
 
   case 37:
 
 /* Line 1455 of yacc.c  */
-#line 560 "rust-exp.y"
+#line 561 "rust-exp.y"
     { (yyval.op) = ast_literal ((yyvsp[(1) - (1)].typed_val_int)); }
     break;
 
   case 38:
 
 /* Line 1455 of yacc.c  */
-#line 562 "rust-exp.y"
+#line 563 "rust-exp.y"
     { (yyval.op) = ast_dliteral ((yyvsp[(1) - (1)].typed_val_float)); }
     break;
 
   case 39:
 
 /* Line 1455 of yacc.c  */
-#line 564 "rust-exp.y"
+#line 565 "rust-exp.y"
     {
 		  const struct rust_op *str = ast_string ((yyvsp[(1) - (1)].sval));
 		  struct set_field field;
@@ -2322,14 +2323,14 @@ yyreduce:
   case 40:
 
 /* Line 1455 of yacc.c  */
-#line 591 "rust-exp.y"
+#line 592 "rust-exp.y"
     { (yyval.op) = ast_string ((yyvsp[(1) - (1)].sval)); }
     break;
 
   case 41:
 
 /* Line 1455 of yacc.c  */
-#line 593 "rust-exp.y"
+#line 594 "rust-exp.y"
     {
 		  struct typed_val_int val;
 
@@ -2343,7 +2344,7 @@ yyreduce:
   case 42:
 
 /* Line 1455 of yacc.c  */
-#line 602 "rust-exp.y"
+#line 603 "rust-exp.y"
     {
 		  struct typed_val_int val;
 
@@ -2357,14 +2358,14 @@ yyreduce:
   case 43:
 
 /* Line 1455 of yacc.c  */
-#line 614 "rust-exp.y"
+#line 615 "rust-exp.y"
     { (yyval.op) = ast_structop ((yyvsp[(1) - (3)].op), (yyvsp[(3) - (3)].sval).ptr, 0); }
     break;
 
   case 44:
 
 /* Line 1455 of yacc.c  */
-#line 616 "rust-exp.y"
+#line 617 "rust-exp.y"
     {
 		  (yyval.op) = ast_structop ((yyvsp[(1) - (3)].op), (yyvsp[(3) - (3)].sval).ptr, 1);
 		  current_parser->rust_ast = (yyval.op);
@@ -2374,35 +2375,35 @@ yyreduce:
   case 45:
 
 /* Line 1455 of yacc.c  */
-#line 621 "rust-exp.y"
+#line 622 "rust-exp.y"
     { (yyval.op) = ast_structop_anonymous ((yyvsp[(1) - (3)].op), (yyvsp[(3) - (3)].typed_val_int)); }
     break;
 
   case 46:
 
 /* Line 1455 of yacc.c  */
-#line 626 "rust-exp.y"
+#line 627 "rust-exp.y"
     { (yyval.op) = ast_operation (BINOP_SUBSCRIPT, (yyvsp[(1) - (4)].op), (yyvsp[(3) - (4)].op)); }
     break;
 
   case 47:
 
 /* Line 1455 of yacc.c  */
-#line 631 "rust-exp.y"
+#line 632 "rust-exp.y"
     { (yyval.op) = ast_unary (UNOP_PLUS, (yyvsp[(2) - (2)].op)); }
     break;
 
   case 48:
 
 /* Line 1455 of yacc.c  */
-#line 634 "rust-exp.y"
+#line 635 "rust-exp.y"
     { (yyval.op) = ast_unary (UNOP_NEG, (yyvsp[(2) - (2)].op)); }
     break;
 
   case 49:
 
 /* Line 1455 of yacc.c  */
-#line 637 "rust-exp.y"
+#line 638 "rust-exp.y"
     {
 		  /* Note that we provide a Rust-specific evaluator
 		     override for UNOP_COMPLEMENT, so it can do the
@@ -2415,196 +2416,196 @@ yyreduce:
   case 50:
 
 /* Line 1455 of yacc.c  */
-#line 646 "rust-exp.y"
+#line 647 "rust-exp.y"
     { (yyval.op) = ast_unary (UNOP_IND, (yyvsp[(2) - (2)].op)); }
     break;
 
   case 51:
 
 /* Line 1455 of yacc.c  */
-#line 649 "rust-exp.y"
+#line 650 "rust-exp.y"
     { (yyval.op) = ast_unary (UNOP_ADDR, (yyvsp[(2) - (2)].op)); }
     break;
 
   case 52:
 
 /* Line 1455 of yacc.c  */
-#line 652 "rust-exp.y"
+#line 653 "rust-exp.y"
     { (yyval.op) = ast_unary (UNOP_ADDR, (yyvsp[(3) - (3)].op)); }
     break;
 
   case 53:
 
 /* Line 1455 of yacc.c  */
-#line 654 "rust-exp.y"
+#line 655 "rust-exp.y"
     { (yyval.op) = ast_unary (UNOP_SIZEOF, (yyvsp[(3) - (4)].op)); }
     break;
 
   case 58:
 
 /* Line 1455 of yacc.c  */
-#line 666 "rust-exp.y"
+#line 667 "rust-exp.y"
     { (yyval.op) = ast_operation (BINOP_MUL, (yyvsp[(1) - (3)].op), (yyvsp[(3) - (3)].op)); }
     break;
 
   case 59:
 
 /* Line 1455 of yacc.c  */
-#line 669 "rust-exp.y"
+#line 670 "rust-exp.y"
     { (yyval.op) = ast_operation (BINOP_REPEAT, (yyvsp[(1) - (3)].op), (yyvsp[(3) - (3)].op)); }
     break;
 
   case 60:
 
 /* Line 1455 of yacc.c  */
-#line 672 "rust-exp.y"
+#line 673 "rust-exp.y"
     { (yyval.op) = ast_operation (BINOP_DIV, (yyvsp[(1) - (3)].op), (yyvsp[(3) - (3)].op)); }
     break;
 
   case 61:
 
 /* Line 1455 of yacc.c  */
-#line 675 "rust-exp.y"
+#line 676 "rust-exp.y"
     { (yyval.op) = ast_operation (BINOP_REM, (yyvsp[(1) - (3)].op), (yyvsp[(3) - (3)].op)); }
     break;
 
   case 62:
 
 /* Line 1455 of yacc.c  */
-#line 678 "rust-exp.y"
+#line 679 "rust-exp.y"
     { (yyval.op) = ast_operation (BINOP_LESS, (yyvsp[(1) - (3)].op), (yyvsp[(3) - (3)].op)); }
     break;
 
   case 63:
 
 /* Line 1455 of yacc.c  */
-#line 681 "rust-exp.y"
+#line 682 "rust-exp.y"
     { (yyval.op) = ast_operation (BINOP_GTR, (yyvsp[(1) - (3)].op), (yyvsp[(3) - (3)].op)); }
     break;
 
   case 64:
 
 /* Line 1455 of yacc.c  */
-#line 684 "rust-exp.y"
+#line 685 "rust-exp.y"
     { (yyval.op) = ast_operation (BINOP_BITWISE_AND, (yyvsp[(1) - (3)].op), (yyvsp[(3) - (3)].op)); }
     break;
 
   case 65:
 
 /* Line 1455 of yacc.c  */
-#line 687 "rust-exp.y"
+#line 688 "rust-exp.y"
     { (yyval.op) = ast_operation (BINOP_BITWISE_IOR, (yyvsp[(1) - (3)].op), (yyvsp[(3) - (3)].op)); }
     break;
 
   case 66:
 
 /* Line 1455 of yacc.c  */
-#line 690 "rust-exp.y"
+#line 691 "rust-exp.y"
     { (yyval.op) = ast_operation (BINOP_BITWISE_XOR, (yyvsp[(1) - (3)].op), (yyvsp[(3) - (3)].op)); }
     break;
 
   case 67:
 
 /* Line 1455 of yacc.c  */
-#line 693 "rust-exp.y"
+#line 694 "rust-exp.y"
     { (yyval.op) = ast_operation (BINOP_ADD, (yyvsp[(1) - (3)].op), (yyvsp[(3) - (3)].op)); }
     break;
 
   case 68:
 
 /* Line 1455 of yacc.c  */
-#line 696 "rust-exp.y"
+#line 697 "rust-exp.y"
     { (yyval.op) = ast_operation (BINOP_SUB, (yyvsp[(1) - (3)].op), (yyvsp[(3) - (3)].op)); }
     break;
 
   case 69:
 
 /* Line 1455 of yacc.c  */
-#line 699 "rust-exp.y"
+#line 700 "rust-exp.y"
     { (yyval.op) = ast_operation (BINOP_LOGICAL_OR, (yyvsp[(1) - (3)].op), (yyvsp[(3) - (3)].op)); }
     break;
 
   case 70:
 
 /* Line 1455 of yacc.c  */
-#line 702 "rust-exp.y"
+#line 703 "rust-exp.y"
     { (yyval.op) = ast_operation (BINOP_LOGICAL_AND, (yyvsp[(1) - (3)].op), (yyvsp[(3) - (3)].op)); }
     break;
 
   case 71:
 
 /* Line 1455 of yacc.c  */
-#line 705 "rust-exp.y"
+#line 706 "rust-exp.y"
     { (yyval.op) = ast_operation (BINOP_EQUAL, (yyvsp[(1) - (3)].op), (yyvsp[(3) - (3)].op)); }
     break;
 
   case 72:
 
 /* Line 1455 of yacc.c  */
-#line 708 "rust-exp.y"
+#line 709 "rust-exp.y"
     { (yyval.op) = ast_operation (BINOP_NOTEQUAL, (yyvsp[(1) - (3)].op), (yyvsp[(3) - (3)].op)); }
     break;
 
   case 73:
 
 /* Line 1455 of yacc.c  */
-#line 711 "rust-exp.y"
+#line 712 "rust-exp.y"
     { (yyval.op) = ast_operation (BINOP_LEQ, (yyvsp[(1) - (3)].op), (yyvsp[(3) - (3)].op)); }
     break;
 
   case 74:
 
 /* Line 1455 of yacc.c  */
-#line 714 "rust-exp.y"
+#line 715 "rust-exp.y"
     { (yyval.op) = ast_operation (BINOP_GEQ, (yyvsp[(1) - (3)].op), (yyvsp[(3) - (3)].op)); }
     break;
 
   case 75:
 
 /* Line 1455 of yacc.c  */
-#line 717 "rust-exp.y"
+#line 718 "rust-exp.y"
     { (yyval.op) = ast_operation (BINOP_LSH, (yyvsp[(1) - (3)].op), (yyvsp[(3) - (3)].op)); }
     break;
 
   case 76:
 
 /* Line 1455 of yacc.c  */
-#line 720 "rust-exp.y"
+#line 721 "rust-exp.y"
     { (yyval.op) = ast_operation (BINOP_RSH, (yyvsp[(1) - (3)].op), (yyvsp[(3) - (3)].op)); }
     break;
 
   case 77:
 
 /* Line 1455 of yacc.c  */
-#line 725 "rust-exp.y"
+#line 726 "rust-exp.y"
     { (yyval.op) = ast_cast ((yyvsp[(1) - (3)].op), (yyvsp[(3) - (3)].op)); }
     break;
 
   case 78:
 
 /* Line 1455 of yacc.c  */
-#line 730 "rust-exp.y"
+#line 731 "rust-exp.y"
     { (yyval.op) = ast_operation (BINOP_ASSIGN, (yyvsp[(1) - (3)].op), (yyvsp[(3) - (3)].op)); }
     break;
 
   case 79:
 
 /* Line 1455 of yacc.c  */
-#line 735 "rust-exp.y"
+#line 736 "rust-exp.y"
     { (yyval.op) = ast_compound_assignment ((yyvsp[(2) - (3)].opcode), (yyvsp[(1) - (3)].op), (yyvsp[(3) - (3)].op)); }
     break;
 
   case 80:
 
 /* Line 1455 of yacc.c  */
-#line 741 "rust-exp.y"
+#line 742 "rust-exp.y"
     { (yyval.op) = (yyvsp[(2) - (3)].op); }
     break;
 
   case 81:
 
 /* Line 1455 of yacc.c  */
-#line 746 "rust-exp.y"
+#line 747 "rust-exp.y"
     {
 		  (yyval.params) = current_parser->new_op_vector ();
 		  (yyval.params)->push_back ((yyvsp[(1) - (1)].op));
@@ -2614,7 +2615,7 @@ yyreduce:
   case 82:
 
 /* Line 1455 of yacc.c  */
-#line 751 "rust-exp.y"
+#line 752 "rust-exp.y"
     {
 		  (yyvsp[(1) - (3)].params)->push_back ((yyvsp[(3) - (3)].op));
 		  (yyval.params) = (yyvsp[(1) - (3)].params);
@@ -2624,7 +2625,7 @@ yyreduce:
   case 83:
 
 /* Line 1455 of yacc.c  */
-#line 759 "rust-exp.y"
+#line 760 "rust-exp.y"
     {
 		  /* The result can't be NULL.  */
 		  (yyval.params) = current_parser->new_op_vector ();
@@ -2634,84 +2635,84 @@ yyreduce:
   case 84:
 
 /* Line 1455 of yacc.c  */
-#line 764 "rust-exp.y"
+#line 765 "rust-exp.y"
     { (yyval.params) = (yyvsp[(1) - (1)].params); }
     break;
 
   case 85:
 
 /* Line 1455 of yacc.c  */
-#line 769 "rust-exp.y"
+#line 770 "rust-exp.y"
     { (yyval.params) = (yyvsp[(2) - (3)].params); }
     break;
 
   case 86:
 
 /* Line 1455 of yacc.c  */
-#line 774 "rust-exp.y"
+#line 775 "rust-exp.y"
     { (yyval.op) = ast_call_ish (OP_FUNCALL, (yyvsp[(1) - (2)].op), (yyvsp[(2) - (2)].params)); }
     break;
 
   case 89:
 
 /* Line 1455 of yacc.c  */
-#line 784 "rust-exp.y"
+#line 785 "rust-exp.y"
     { (yyval.depth) = 1; }
     break;
 
   case 90:
 
 /* Line 1455 of yacc.c  */
-#line 786 "rust-exp.y"
+#line 787 "rust-exp.y"
     { (yyval.depth) = (yyvsp[(1) - (3)].depth) + 1; }
     break;
 
   case 91:
 
 /* Line 1455 of yacc.c  */
-#line 791 "rust-exp.y"
+#line 792 "rust-exp.y"
     { (yyval.op) = (yyvsp[(1) - (1)].op); }
     break;
 
   case 92:
 
 /* Line 1455 of yacc.c  */
-#line 793 "rust-exp.y"
+#line 794 "rust-exp.y"
     { (yyval.op) = ast_path ((yyvsp[(1) - (1)].sval), NULL); }
     break;
 
   case 93:
 
 /* Line 1455 of yacc.c  */
-#line 795 "rust-exp.y"
+#line 796 "rust-exp.y"
     { (yyval.op) = ast_path (make_stoken ("self"), NULL); }
     break;
 
   case 95:
 
 /* Line 1455 of yacc.c  */
-#line 801 "rust-exp.y"
+#line 802 "rust-exp.y"
     { (yyval.op) = super_name ((yyvsp[(3) - (3)].op), 0); }
     break;
 
   case 96:
 
 /* Line 1455 of yacc.c  */
-#line 803 "rust-exp.y"
+#line 804 "rust-exp.y"
     { (yyval.op) = super_name ((yyvsp[(3) - (3)].op), (yyvsp[(2) - (3)].depth)); }
     break;
 
   case 97:
 
 /* Line 1455 of yacc.c  */
-#line 805 "rust-exp.y"
+#line 806 "rust-exp.y"
     { (yyval.op) = crate_name ((yyvsp[(2) - (2)].op)); }
     break;
 
   case 98:
 
 /* Line 1455 of yacc.c  */
-#line 807 "rust-exp.y"
+#line 808 "rust-exp.y"
     {
 		  /* This is a gdb extension to make it possible to
 		     refer to items in other crates.  It just bypasses
@@ -2725,14 +2726,14 @@ yyreduce:
   case 99:
 
 /* Line 1455 of yacc.c  */
-#line 819 "rust-exp.y"
+#line 820 "rust-exp.y"
     { (yyval.op) = ast_path ((yyvsp[(1) - (1)].sval), NULL); }
     break;
 
   case 100:
 
 /* Line 1455 of yacc.c  */
-#line 821 "rust-exp.y"
+#line 822 "rust-exp.y"
     {
 		  (yyval.op) = ast_path (rust_concat3 ((yyvsp[(1) - (3)].op)->left.sval.ptr, "::",
 					       (yyvsp[(3) - (3)].sval).ptr),
@@ -2743,14 +2744,14 @@ yyreduce:
   case 101:
 
 /* Line 1455 of yacc.c  */
-#line 827 "rust-exp.y"
+#line 828 "rust-exp.y"
     { (yyval.op) = ast_path ((yyvsp[(1) - (5)].op)->left.sval, (yyvsp[(4) - (5)].params)); }
     break;
 
   case 102:
 
 /* Line 1455 of yacc.c  */
-#line 829 "rust-exp.y"
+#line 830 "rust-exp.y"
     {
 		  (yyval.op) = ast_path ((yyvsp[(1) - (5)].op)->left.sval, (yyvsp[(4) - (5)].params));
 		  rust_push_back ('>');
@@ -2760,28 +2761,28 @@ yyreduce:
   case 104:
 
 /* Line 1455 of yacc.c  */
-#line 838 "rust-exp.y"
+#line 839 "rust-exp.y"
     { (yyval.op) = super_name ((yyvsp[(3) - (3)].op), 0); }
     break;
 
   case 105:
 
 /* Line 1455 of yacc.c  */
-#line 840 "rust-exp.y"
+#line 841 "rust-exp.y"
     { (yyval.op) = super_name ((yyvsp[(3) - (3)].op), (yyvsp[(2) - (3)].depth)); }
     break;
 
   case 106:
 
 /* Line 1455 of yacc.c  */
-#line 842 "rust-exp.y"
+#line 843 "rust-exp.y"
     { (yyval.op) = crate_name ((yyvsp[(2) - (2)].op)); }
     break;
 
   case 107:
 
 /* Line 1455 of yacc.c  */
-#line 844 "rust-exp.y"
+#line 845 "rust-exp.y"
     {
 		  /* This is a gdb extension to make it possible to
 		     refer to items in other crates.  It just bypasses
@@ -2795,14 +2796,14 @@ yyreduce:
   case 108:
 
 /* Line 1455 of yacc.c  */
-#line 856 "rust-exp.y"
+#line 857 "rust-exp.y"
     { (yyval.op) = ast_path ((yyvsp[(1) - (1)].sval), NULL); }
     break;
 
   case 109:
 
 /* Line 1455 of yacc.c  */
-#line 858 "rust-exp.y"
+#line 859 "rust-exp.y"
     {
 		  (yyval.op) = ast_path (rust_concat3 ((yyvsp[(1) - (3)].op)->left.sval.ptr, "::",
 					       (yyvsp[(3) - (3)].sval).ptr),
@@ -2813,14 +2814,14 @@ yyreduce:
   case 111:
 
 /* Line 1455 of yacc.c  */
-#line 868 "rust-exp.y"
+#line 869 "rust-exp.y"
     { (yyval.op) = ast_path ((yyvsp[(1) - (4)].op)->left.sval, (yyvsp[(3) - (4)].params)); }
     break;
 
   case 112:
 
 /* Line 1455 of yacc.c  */
-#line 870 "rust-exp.y"
+#line 871 "rust-exp.y"
     {
 		  (yyval.op) = ast_path ((yyvsp[(1) - (4)].op)->left.sval, (yyvsp[(3) - (4)].params));
 		  rust_push_back ('>');
@@ -2830,77 +2831,77 @@ yyreduce:
   case 114:
 
 /* Line 1455 of yacc.c  */
-#line 879 "rust-exp.y"
+#line 880 "rust-exp.y"
     { (yyval.op) = ast_array_type ((yyvsp[(2) - (5)].op), (yyvsp[(4) - (5)].typed_val_int)); }
     break;
 
   case 115:
 
 /* Line 1455 of yacc.c  */
-#line 881 "rust-exp.y"
+#line 882 "rust-exp.y"
     { (yyval.op) = ast_array_type ((yyvsp[(2) - (5)].op), (yyvsp[(4) - (5)].typed_val_int)); }
     break;
 
   case 116:
 
 /* Line 1455 of yacc.c  */
-#line 883 "rust-exp.y"
+#line 884 "rust-exp.y"
     { (yyval.op) = ast_slice_type ((yyvsp[(3) - (4)].op)); }
     break;
 
   case 117:
 
 /* Line 1455 of yacc.c  */
-#line 885 "rust-exp.y"
+#line 886 "rust-exp.y"
     { (yyval.op) = ast_reference_type ((yyvsp[(2) - (2)].op)); }
     break;
 
   case 118:
 
 /* Line 1455 of yacc.c  */
-#line 887 "rust-exp.y"
+#line 888 "rust-exp.y"
     { (yyval.op) = ast_pointer_type ((yyvsp[(3) - (3)].op), 1); }
     break;
 
   case 119:
 
 /* Line 1455 of yacc.c  */
-#line 889 "rust-exp.y"
+#line 890 "rust-exp.y"
     { (yyval.op) = ast_pointer_type ((yyvsp[(3) - (3)].op), 0); }
     break;
 
   case 120:
 
 /* Line 1455 of yacc.c  */
-#line 891 "rust-exp.y"
+#line 892 "rust-exp.y"
     { (yyval.op) = ast_function_type ((yyvsp[(6) - (6)].op), (yyvsp[(3) - (6)].params)); }
     break;
 
   case 121:
 
 /* Line 1455 of yacc.c  */
-#line 893 "rust-exp.y"
+#line 894 "rust-exp.y"
     { (yyval.op) = ast_tuple_type ((yyvsp[(2) - (3)].params)); }
     break;
 
   case 122:
 
 /* Line 1455 of yacc.c  */
-#line 898 "rust-exp.y"
+#line 899 "rust-exp.y"
     { (yyval.params) = NULL; }
     break;
 
   case 123:
 
 /* Line 1455 of yacc.c  */
-#line 900 "rust-exp.y"
+#line 901 "rust-exp.y"
     { (yyval.params) = (yyvsp[(1) - (1)].params); }
     break;
 
   case 124:
 
 /* Line 1455 of yacc.c  */
-#line 905 "rust-exp.y"
+#line 906 "rust-exp.y"
     {
 		  rust_op_vector *result = current_parser->new_op_vector ();
 		  result->push_back ((yyvsp[(1) - (1)].op));
@@ -2911,7 +2912,7 @@ yyreduce:
   case 125:
 
 /* Line 1455 of yacc.c  */
-#line 911 "rust-exp.y"
+#line 912 "rust-exp.y"
     {
 		  (yyvsp[(1) - (3)].params)->push_back ((yyvsp[(3) - (3)].op));
 		  (yyval.params) = (yyvsp[(1) - (3)].params);
@@ -2921,7 +2922,7 @@ yyreduce:
 
 
 /* Line 1455 of yacc.c  */
-#line 2926 "rust-exp.c.tmp"
+#line 2927 "rust-exp.c.tmp"
       default: break;
     }
   YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);
@@ -3133,7 +3134,7 @@ yyreturn:
 
 
 /* Line 1675 of yacc.c  */
-#line 917 "rust-exp.y"
+#line 918 "rust-exp.y"
 
 
 /* A struct of this type is used to describe a token.  */
@@ -4758,11 +4759,11 @@ rust_parse (struct parser_state *state)
 
 /* The parser error handler.  */
 
-void
+static void
 rustyyerror (const char *msg)
 {
   const char *where = prev_lexptr ? prev_lexptr : lexptr;
-  error (_("%s in expression, near `%s'."), (msg ? msg : "Error"), where);
+  error (_("%s in expression, near `%s'."), msg, where);
 }
 
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/rust-exp.y ./gdb/rust-exp.y
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/rust-exp.y	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/rust-exp.y	2018-06-19 01:49:02.000000000 +0000
@@ -70,6 +70,7 @@ struct set_field
 typedef std::vector<set_field> rust_set_vector;
 
 static int rustyylex (void);
+static void rustyyerror (const char *msg);
 static void rust_push_back (char c);
 static const char *rust_copy_name (const char *, int);
 static struct stoken rust_concat3 (const char *, const char *, const char *);
@@ -2538,11 +2539,11 @@ rust_parse (struct parser_state *state)
 
 /* The parser error handler.  */
 
-void
+static void
 rustyyerror (const char *msg)
 {
   const char *where = prev_lexptr ? prev_lexptr : lexptr;
-  error (_("%s in expression, near `%s'."), (msg ? msg : "Error"), where);
+  error (_("%s in expression, near `%s'."), msg, where);
 }
 
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/rust-lang.c ./gdb/rust-lang.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/rust-lang.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/rust-lang.c	2018-06-19 01:49:02.000000000 +0000
@@ -2013,7 +2013,6 @@ extern const struct language_defn rust_l
   rust_extensions,
   &exp_descriptor_rust,
   rust_parse,
-  rustyyerror,
   null_post_parser,
   rust_printchar,		/* Print a character constant */
   rust_printstr,		/* Function to print string constant */
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/rust-lang.h ./gdb/rust-lang.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/rust-lang.h	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/rust-lang.h	2018-06-19 01:49:02.000000000 +0000
@@ -26,9 +26,6 @@ struct type;
 /* The la_parser implementation for Rust.  */
 extern int rust_parse (struct parser_state *);
 
-/* The la_error implementation for Rust.  */
-extern void rustyyerror (const char *);
-
 /* Return true if TYPE is a tuple type; otherwise false.  */
 extern bool rust_tuple_type_p (struct type *type);
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/ser-mingw.c ./gdb/ser-mingw.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/ser-mingw.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/ser-mingw.c	2018-06-19 01:49:02.000000000 +0000
@@ -848,20 +848,20 @@ free_pipe_state (struct pipe_state *ps)
   errno = saved_errno;
 }
 
-static void
-cleanup_pipe_state (void *untyped)
+struct pipe_state_destroyer
 {
-  struct pipe_state *ps = (struct pipe_state *) untyped;
+  void operator() (pipe_state *ps) const
+  {
+    free_pipe_state (ps);
+  }
+};
 
-  free_pipe_state (ps);
-}
+typedef std::unique_ptr<pipe_state, pipe_state_destroyer> pipe_state_up;
 
 static int
 pipe_windows_open (struct serial *scb, const char *name)
 {
-  struct pipe_state *ps;
   FILE *pex_stderr;
-  struct cleanup *back_to;
 
   if (name == NULL)
     error_no_arg (_("child command"));
@@ -871,15 +871,14 @@ pipe_windows_open (struct serial *scb, c
   if (! argv[0] || argv[0][0] == '\0')
     error (_("missing child command"));
 
-  ps = make_pipe_state ();
-  back_to = make_cleanup (cleanup_pipe_state, ps);
+  pipe_state_up ps (make_pipe_state ());
 
   ps->pex = pex_init (PEX_USE_PIPES, "target remote pipe", NULL);
   if (! ps->pex)
-    goto fail;
+    return -1;
   ps->input = pex_input_pipe (ps->pex, 1);
   if (! ps->input)
-    goto fail;
+    return -1;
 
   {
     int err;
@@ -906,23 +905,17 @@ pipe_windows_open (struct serial *scb, c
 
   ps->output = pex_read_output (ps->pex, 1);
   if (! ps->output)
-    goto fail;
+    return -1;
   scb->fd = fileno (ps->output);
 
   pex_stderr = pex_read_err (ps->pex, 1);
   if (! pex_stderr)
-    goto fail;
+    return -1;
   scb->error_fd = fileno (pex_stderr);
 
-  scb->state = (void *) ps;
+  scb->state = ps.release ();
 
-  argv.release ();
-  discard_cleanups (back_to);
   return 0;
-
- fail:
-  do_cleanups (back_to);
-  return -1;
 }
 
 static int
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/solib-aix.c ./gdb/solib-aix.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/solib-aix.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/solib-aix.c	2018-06-19 01:49:02.000000000 +0000
@@ -439,14 +439,14 @@ solib_aix_clear_solib (void)
    The resulting array is computed on the heap and must be
    deallocated after use.  */
 
-static struct section_offsets *
+static gdb::unique_xmalloc_ptr<struct section_offsets>
 solib_aix_get_section_offsets (struct objfile *objfile,
 			       lm_info_aix *info)
 {
-  struct section_offsets *offsets;
   bfd *abfd = objfile->obfd;
 
-  offsets = XCNEWVEC (struct section_offsets, objfile->num_sections);
+  gdb::unique_xmalloc_ptr<struct section_offsets> offsets
+    (XCNEWVEC (struct section_offsets, objfile->num_sections));
 
   /* .text */
 
@@ -515,12 +515,10 @@ solib_aix_solib_create_inferior_hook (in
 
   if (symfile_objfile != NULL)
     {
-      struct section_offsets *offsets
+      gdb::unique_xmalloc_ptr<struct section_offsets> offsets
 	= solib_aix_get_section_offsets (symfile_objfile, exec_info);
-      struct cleanup *cleanup = make_cleanup (xfree, offsets);
 
-      objfile_relocate (symfile_objfile, offsets);
-      do_cleanups (cleanup);
+      objfile_relocate (symfile_objfile, offsets.get ());
     }
 }
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/solib-darwin.c ./gdb/solib-darwin.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/solib-darwin.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/solib-darwin.c	2018-06-19 01:49:02.000000000 +0000
@@ -263,8 +263,6 @@ darwin_current_sos (void)
       unsigned long hdr_val;
       gdb::unique_xmalloc_ptr<char> file_path;
       int errcode;
-      struct so_list *newobj;
-      struct cleanup *old_chain;
 
       /* Read image info from inferior.  */
       if (target_read_memory (iinfo, buf, image_info_size))
@@ -293,8 +291,7 @@ darwin_current_sos (void)
 	break;
 
       /* Create and fill the new so_list element.  */
-      newobj = XCNEW (struct so_list);
-      old_chain = make_cleanup (xfree, newobj);
+      gdb::unique_xmalloc_ptr<struct so_list> newobj (XCNEW (struct so_list));
 
       lm_info_darwin *li = new lm_info_darwin;
       newobj->lm_info = li;
@@ -305,12 +302,10 @@ darwin_current_sos (void)
       li->lm_addr = load_addr;
 
       if (head == NULL)
-	head = newobj;
+	head = newobj.get ();
       else
-	tail->next = newobj;
-      tail = newobj;
-
-      discard_cleanups (old_chain);
+	tail->next = newobj.get ();
+      tail = newobj.release ();
     }
 
   return head;
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/solib-dsbt.c ./gdb/solib-dsbt.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/solib-dsbt.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/solib-dsbt.c	2018-06-19 01:49:02.000000000 +0000
@@ -918,8 +918,6 @@ static void
 dsbt_relocate_main_executable (void)
 {
   struct int_elf32_dsbt_loadmap *ldm;
-  struct cleanup *old_chain;
-  struct section_offsets *new_offsets;
   int changed;
   struct obj_section *osect;
   struct dsbt_info *info = get_dsbt_info ();
@@ -931,9 +929,8 @@ dsbt_relocate_main_executable (void)
   info->main_executable_lm_info = new lm_info_dsbt;
   info->main_executable_lm_info->map = ldm;
 
-  new_offsets = XCNEWVEC (struct section_offsets,
-			  symfile_objfile->num_sections);
-  old_chain = make_cleanup (xfree, new_offsets);
+  gdb::unique_xmalloc_ptr<struct section_offsets> new_offsets
+    (XCNEWVEC (struct section_offsets, symfile_objfile->num_sections));
   changed = 0;
 
   ALL_OBJFILE_OSECTIONS (symfile_objfile, osect)
@@ -967,9 +964,7 @@ dsbt_relocate_main_executable (void)
     }
 
   if (changed)
-    objfile_relocate (symfile_objfile, new_offsets);
-
-  do_cleanups (old_chain);
+    objfile_relocate (symfile_objfile, new_offsets.get ());
 
   /* Now that symfile_objfile has been relocated, we can compute the
      GOT value and stash it away.  */
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/solib-frv.c ./gdb/solib-frv.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/solib-frv.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/solib-frv.c	2018-06-19 01:49:02.000000000 +0000
@@ -769,8 +769,6 @@ frv_relocate_main_executable (void)
   int status;
   CORE_ADDR exec_addr, interp_addr;
   struct int_elf32_fdpic_loadmap *ldm;
-  struct cleanup *old_chain;
-  struct section_offsets *new_offsets;
   int changed;
   struct obj_section *osect;
 
@@ -792,9 +790,8 @@ frv_relocate_main_executable (void)
   main_executable_lm_info = new lm_info_frv;
   main_executable_lm_info->map = ldm;
 
-  new_offsets = XCNEWVEC (struct section_offsets,
-			  symfile_objfile->num_sections);
-  old_chain = make_cleanup (xfree, new_offsets);
+  gdb::unique_xmalloc_ptr<struct section_offsets> new_offsets
+    (XCNEWVEC (struct section_offsets, symfile_objfile->num_sections));
   changed = 0;
 
   ALL_OBJFILE_OSECTIONS (symfile_objfile, osect)
@@ -828,9 +825,7 @@ frv_relocate_main_executable (void)
     }
 
   if (changed)
-    objfile_relocate (symfile_objfile, new_offsets);
-
-  do_cleanups (old_chain);
+    objfile_relocate (symfile_objfile, new_offsets.get ());
 
   /* Now that symfile_objfile has been relocated, we can compute the
      GOT value and stash it away.  */
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/solib-svr4.c ./gdb/solib-svr4.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/solib-svr4.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/solib-svr4.c	2018-06-19 01:49:02.000000000 +0000
@@ -1858,7 +1858,7 @@ svr4_handle_solib_event (void)
   struct svr4_info *info = get_svr4_info ();
   struct probe_and_action *pa;
   enum probe_action action;
-  struct cleanup *old_chain, *usm_chain;
+  struct cleanup *old_chain;
   struct value *val = NULL;
   CORE_ADDR pc, debug_base, lm = 0;
   struct frame_info *frame = get_current_frame ();
@@ -1902,72 +1902,73 @@ svr4_handle_solib_event (void)
      so we can guarantee that the dynamic linker's sections are in the
      section map.  We can therefore inhibit section map updates across
      these calls to evaluate_argument and save a lot of time.  */
-  inhibit_section_map_updates (current_program_space);
-  usm_chain = make_cleanup (resume_section_map_updates_cleanup,
-			    current_program_space);
-
-  TRY
-    {
-      val = pa->prob->evaluate_argument (1, frame);
-    }
-  CATCH (ex, RETURN_MASK_ERROR)
-    {
-      exception_print (gdb_stderr, ex);
-      val = NULL;
-    }
-  END_CATCH
-
-  if (val == NULL)
-    {
-      do_cleanups (old_chain);
-      return;
-    }
-
-  debug_base = value_as_address (val);
-  if (debug_base == 0)
-    {
-      do_cleanups (old_chain);
-      return;
-    }
-
-  /* Always locate the debug struct, in case it moved.  */
-  info->debug_base = 0;
-  if (locate_base (info) == 0)
-    {
-      do_cleanups (old_chain);
-      return;
-    }
-
-  /* GDB does not currently support libraries loaded via dlmopen
-     into namespaces other than the initial one.  We must ignore
-     any namespace other than the initial namespace here until
-     support for this is added to GDB.  */
-  if (debug_base != info->debug_base)
-    action = DO_NOTHING;
-
-  if (action == UPDATE_OR_RELOAD)
-    {
-      TRY
-	{
-	  val = pa->prob->evaluate_argument (2, frame);
-	}
-      CATCH (ex, RETURN_MASK_ERROR)
-	{
-	  exception_print (gdb_stderr, ex);
-	  do_cleanups (old_chain);
-	  return;
-	}
-      END_CATCH
-
-      if (val != NULL)
-	lm = value_as_address (val);
+  {
+    scoped_restore inhibit_updates
+      = inhibit_section_map_updates (current_program_space);
+
+    TRY
+      {
+	val = pa->prob->evaluate_argument (1, frame);
+      }
+    CATCH (ex, RETURN_MASK_ERROR)
+      {
+	exception_print (gdb_stderr, ex);
+	val = NULL;
+      }
+    END_CATCH
+
+    if (val == NULL)
+      {
+	do_cleanups (old_chain);
+	return;
+      }
+
+    debug_base = value_as_address (val);
+    if (debug_base == 0)
+      {
+	do_cleanups (old_chain);
+	return;
+      }
+
+    /* Always locate the debug struct, in case it moved.  */
+    info->debug_base = 0;
+    if (locate_base (info) == 0)
+      {
+	do_cleanups (old_chain);
+	return;
+      }
+
+    /* GDB does not currently support libraries loaded via dlmopen
+       into namespaces other than the initial one.  We must ignore
+       any namespace other than the initial namespace here until
+       support for this is added to GDB.  */
+    if (debug_base != info->debug_base)
+      action = DO_NOTHING;
+
+    if (action == UPDATE_OR_RELOAD)
+      {
+	TRY
+	  {
+	    val = pa->prob->evaluate_argument (2, frame);
+	  }
+	CATCH (ex, RETURN_MASK_ERROR)
+	  {
+	    exception_print (gdb_stderr, ex);
+	    do_cleanups (old_chain);
+	    return;
+	  }
+	END_CATCH
 
-      if (lm == 0)
-	action = FULL_RELOAD;
-    }
+	if (val != NULL)
+	  lm = value_as_address (val);
 
-  /* Resume section map updates.  */
-  do_cleanups (usm_chain);
+	if (lm == 0)
+	  action = FULL_RELOAD;
+      }
+
+    /* Resume section map updates.  Closing the scope is
+       sufficient.  */
+  }
 
   if (action == UPDATE_OR_RELOAD)
     {
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/sparc64-linux-nat.c ./gdb/sparc64-linux-nat.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/sparc64-linux-nat.c	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/sparc64-linux-nat.c	2018-06-19 01:49:02.000000000 +0000
@@ -35,16 +35,16 @@ class sparc64_linux_nat_target final : p
 public:
   /* Add our register access methods.  */
   void fetch_registers (struct regcache *regcache, int regnum) override
-  { sparc_fetch_inferior_registers (this, regcache, regnum); }
+  { sparc_fetch_inferior_registers (regcache, regnum); }
 
-  void store_registers (struct regcache *regcache, int regnum) override;
-  { sparc_store_inferior_registers (this, regcache, regnum); }
+  void store_registers (struct regcache *regcache, int regnum) override
+  { sparc_store_inferior_registers (regcache, regnum); }
 
   /* Override linux_nat_target low methods.  */
 
   /* ADI support */
   void low_forget_process (pid_t pid) override
-  { sparc_forget_process (pid); }
+  { sparc64_forget_process (pid); }
 };
 
 static sparc64_linux_nat_target the_sparc64_linux_nat_target;
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/sparc-nat.h ./gdb/sparc-nat.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/sparc-nat.h	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/sparc-nat.h	2018-06-19 01:49:02.000000000 +0000
@@ -20,6 +20,8 @@
 #ifndef SPARC_NAT_H
 #define SPARC_NAT_H 1
 
+#include "target.h"
+
 struct sparc_gregmap;
 struct sparc_fpregmap;
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/testsuite/ChangeLog ./gdb/testsuite/ChangeLog
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/testsuite/ChangeLog	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/testsuite/ChangeLog	2018-06-19 01:49:02.000000000 +0000
@@ -1,3 +1,68 @@
+2018-06-18  Weimin Pan  <weimin.pan@oracle.com>
+
+	PR gdb/16841
+	* gdb.cp/typedef-base.cc: New file.
+	* gdb.cp/typedef-base.exp: New file.
+
+2018-06-18  Tom de Vries  <tdevries@suse.de>
+
+	* gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
+
+2018-06-16  Andrew Burgess  <andrew.burgess@embecosm.com>
+	    Richard Bunt <Richard.Bunt@arm.com>
+
+	* gdb.threads/attach-slow-waitpid.c: New file.
+	* gdb.threads/attach-slow-waitpid.exp: New file.
+	* gdb.threads/slow-waitpid.c: New file.
+
+2018-06-14  Pedro Alves  <palves@redhat.com>
+
+	* gdb.base/fork-running-state.c: Include <errno.h>.
+	(exit_if_relative_exits): New.
+	(fork_child): If 'exit_if_relative_exits' is true, exit if the parent
+	exits.
+	(fork_parent): If 'exit_if_relative_exits' is true, exit if the
+	child exits.
+
+2018-06-14  Tom de Vries  <tdevries@suse.de>
+
+	PR cli/22573
+	* gdb.base/finish-pretty.c: New test.
+	* gdb.base/finish-pretty.exp: New file.
+
+2018-06-14  Pedro Alves  <palves@redhat.com>
+
+	* gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
+	gdb's expected startup output.
+
+2018-06-14  Pedro Alves  <palves@redhat.com>
+
+	* lib/selftest-support.exp (selftest_setup): Remove inlined
+	function handling.
+
+2018-06-14  Tom de Vries  <tdevries@suse.de>
+
+	* lib/selftest-support.exp (selftest_setup): Allow function arguments in
+	matching of breakpoint printing.
+
+2018-06-13  Tom de Vries  <tdevries@suse.de>
+
+	PR testsuite/23269
+	* gdb.base/fork-running-state.c (main): Move setting of alarm ...
+	(fork_child): ... here, and ...
+	(fork_parent): ... here.
+
+2018-06-12  Tom de Vries  <tdevries@suse.de>
+
+	* gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
+
+2018-06-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+	    Stephen Roberts  <stephen.roberts@arm.com>
+
+	* gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
+	rewrite test to describe action performed, rather than possible
+	failure.
+
 2018-06-08  Gary Benson <gbenson@redhat.com>
 
 	* gdb.threads/check-libthread-db.exp: New file.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/testsuite/gdb.ada/bp_inlined_func.exp ./gdb/testsuite/gdb.ada/bp_inlined_func.exp
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/testsuite/gdb.ada/bp_inlined_func.exp	2018-06-12 01:49:15.000000000 +0000
+++ ./gdb/testsuite/gdb.ada/bp_inlined_func.exp	2018-06-19 01:49:02.000000000 +0000
@@ -29,10 +29,10 @@ if ![runto_main] then {
 }
 
 # Check that inserting breakpoint on read_small inlined function inserts
-# 4 breakpoints.
+# 4 breakpoints (or possibly 5, including the read_small function itself).
 
 gdb_test "break read_small" \
-         "Breakpoint $decimal at $hex: read_small\\. \\(4 locations\\)" \
+         "Breakpoint $decimal at $hex: read_small\\. \\(\[45\] locations\\)" \
          "set breakpoint at read_small"
 
 # We do not verify each breakpoint info, but use continue commands instead
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/testsuite/gdb.base/finish-pretty.c ./gdb/testsuite/gdb.base/finish-pretty.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/testsuite/gdb.base/finish-pretty.c	1970-01-01 00:00:00.000000000 +0000
+++ ./gdb/testsuite/gdb.base/finish-pretty.c	2018-06-19 01:49:03.000000000 +0000
@@ -0,0 +1,41 @@
+/* This testcase is part of GDB, the GNU debugger.
+
+   Copyright 2018 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 3 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
+
+struct s
+{
+  int a;
+  int b;
+};
+
+static struct s
+foo (void)
+{
+  struct s r;
+  r.a = 1;
+  r.b = 2;
+  return r;
+}
+
+int
+main (void)
+{
+  struct s v;
+
+  v = foo ();
+
+  return v.a + v.b;
+}
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/testsuite/gdb.base/finish-pretty.exp ./gdb/testsuite/gdb.base/finish-pretty.exp
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/testsuite/gdb.base/finish-pretty.exp	1970-01-01 00:00:00.000000000 +0000
+++ ./gdb/testsuite/gdb.base/finish-pretty.exp	2018-06-19 01:49:03.000000000 +0000
@@ -0,0 +1,37 @@
+# Copyright 2018 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+# Check whether finish respects the print pretty user setting when printing the
+# function result.
+
+standard_testfile
+
+if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } {
+    return -1
+}
+
+proc finish_pretty { } {
+    if ![runto foo] {
+	fail "can't run to foo"
+	return
+    }
+    gdb_test_no_output "set print pretty" \
+	"pretty printing switched on"
+    gdb_test "finish" \
+	{.*Value returned is \$1 = \{\r\n  a = 1, \r\n  b = 2\r\n\}} \
+	"finish foo prettyprinted function result"
+}
+
+finish_pretty
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/testsuite/gdb.base/fork-running-state.c ./gdb/testsuite/gdb.base/fork-running-state.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/testsuite/gdb.base/fork-running-state.c	2018-06-12 01:49:16.000000000 +0000
+++ ./gdb/testsuite/gdb.base/fork-running-state.c	2018-06-19 01:49:03.000000000 +0000
@@ -19,16 +19,38 @@
 #include <stdio.h>
 #include <sys/types.h>
 #include <sys/wait.h>
+#include <errno.h>
 
 int save_parent;
 
+/* Variable set by GDB.  If true, then a fork child (or parent) exits
+   if its parent (or child) exits.  Otherwise the process waits
+   forever until either GDB or the alarm kills it.  */
+volatile int exit_if_relative_exits = 0;
+
 /* The fork child.  Just runs forever.  */
 
 static int
 fork_child (void)
 {
+  /* Don't run forever.  */
+  alarm (180);
+
   while (1)
-    pause ();
+    {
+      if (exit_if_relative_exits)
+	{
+	  sleep (1);
+
+	  /* Exit if GDB kills the parent.  */
+	  if (getppid () != save_parent)
+	    break;
+	  if (kill (getppid (), 0) != 0)
+	    break;
+	}
+      else
+	pause ();
+    }
 
   return 0;
 }
@@ -38,8 +60,27 @@ fork_child (void)
 static int
 fork_parent (void)
 {
+  /* Don't run forever.  */
+  alarm (180);
+
   while (1)
-    pause ();
+    {
+      if (exit_if_relative_exits)
+	{
+	  int res = wait (NULL);
+	  if (res == -1 && errno == EINTR)
+	    continue;
+	  else if (res == -1)
+	    {
+	      perror ("wait");
+	      return 1;
+	    }
+	  else
+	    return 0;
+	}
+      else
+	pause ();
+    }
 
   return 0;
 }
@@ -51,9 +92,6 @@ main (void)
 
   save_parent = getpid ();
 
-  /* Don't run forever.  */
-  alarm (180);
-
   /* The parent and child should basically run forever without
      tripping on any debug event.  We want to check that GDB updates
      the parent and child running states correctly right after the
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/testsuite/gdb.base/fork-running-state.exp ./gdb/testsuite/gdb.base/fork-running-state.exp
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/testsuite/gdb.base/fork-running-state.exp	2018-06-12 01:49:16.000000000 +0000
+++ ./gdb/testsuite/gdb.base/fork-running-state.exp	2018-06-19 01:49:03.000000000 +0000
@@ -70,6 +70,13 @@ proc do_test { detach_on_fork follow_for
 	gdb_test_no_output "set schedule-multiple $schedule_multiple"
     }
 
+    # If we're detaching from the parent (or child), then tell it to
+    # exit itself when its child (or parent) exits.  If we stay
+    # attached, we take care of killing it.
+    if {$detach_on_fork == "on"} {
+	gdb_test "print exit_if_relative_exits = 1" " = 1"
+    }
+
     set test "continue &"
     gdb_test_multiple $test $test {
 	-re "$gdb_prompt " {
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/testsuite/gdb.cp/typedef-base.cc ./gdb/testsuite/gdb.cp/typedef-base.cc
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/testsuite/gdb.cp/typedef-base.cc	1970-01-01 00:00:00.000000000 +0000
+++ ./gdb/testsuite/gdb.cp/typedef-base.cc	2018-06-19 01:49:03.000000000 +0000
@@ -0,0 +1,30 @@
+/* This testcase is part of GDB, the GNU debugger.
+
+   Copyright 2018 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 3 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
+
+typedef struct {
+  int x;
+} A;
+
+struct C : A {
+  int y;
+};
+
+int main()
+{
+  C c;
+  return 55;
+}
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/testsuite/gdb.cp/typedef-base.exp ./gdb/testsuite/gdb.cp/typedef-base.exp
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/testsuite/gdb.cp/typedef-base.exp	1970-01-01 00:00:00.000000000 +0000
+++ ./gdb/testsuite/gdb.cp/typedef-base.exp	2018-06-19 01:49:03.000000000 +0000
@@ -0,0 +1,39 @@
+# Copyright 2018 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+# Make sure that inheritance through a typedef is well handled.
+
+if { [skip_cplus_tests] } { continue }
+
+standard_testfile .cc
+
+if [get_compiler_info "c++"] {
+    return -1
+}
+
+if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
+    return -1
+}
+
+clean_restart $testfile
+
+if ![runto_main] {
+    untested "could not run to main"
+    return -1
+}
+
+gdb_test "ptype C::x" \
+         "type = int" \
+         "ptype typedef base struct member"
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/testsuite/gdb.gdb/selftest.exp ./gdb/testsuite/gdb.gdb/selftest.exp
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/testsuite/gdb.gdb/selftest.exp	2018-06-12 01:49:16.000000000 +0000
+++ ./gdb/testsuite/gdb.gdb/selftest.exp	2018-06-19 01:49:03.000000000 +0000
@@ -63,10 +63,19 @@ proc test_with_self { } {
 	# Wait a bit while the inferior gdb gets to its prompt.
 	sleep 1
     } else {
+	set banner [multi_line \
+			"GNU gdb \[0-9\.\]*\[^\r\n\]*" \
+			"Copyright \\(C\\) \[0-9\]* Free Software Foundation, Inc\." \
+			"License GPLv3\\+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>" \
+			"This is free software: you are free to change and redistribute it\." \
+			"There is NO WARRANTY, to the extent permitted by law\." \
+			"Type \"show copying\" and \"show warranty\" for details\." \
+			"This GDB was configured as .*" \
+			"$gdb_prompt $"]
 	set test "xgdb is at prompt"
 	gdb_test_multiple "continue" $test {
 	    -i "$inferior_spawn_id"
-	    -re "GNU gdb \[0-9\.\]*.*Copyright \\(C\\) \[0-9\]* Free Software Foundation, Inc.*License GPLv3\\+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.*This is free software: you are free to change and redistribute it.*There is NO WARRANTY, to the extent permitted by law.  Type \"show copying\".*and \"show warranty\" for details.*This GDB was configured as .*$gdb_prompt $" {
+	    -re "$banner" {
 		pass $test
 	    }
 	}
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/testsuite/gdb.threads/attach-slow-waitpid.c ./gdb/testsuite/gdb.threads/attach-slow-waitpid.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/testsuite/gdb.threads/attach-slow-waitpid.c	1970-01-01 00:00:00.000000000 +0000
+++ ./gdb/testsuite/gdb.threads/attach-slow-waitpid.c	2018-06-19 01:49:03.000000000 +0000
@@ -0,0 +1,77 @@
+/* This testcase is part of GDB, the GNU debugger.
+
+   Copyright 2018 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 3 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
+
+#include <pthread.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <assert.h>
+#define NUM_THREADS 4
+
+/* Crude spin lock.  Threads all spin until this is set to 0.  */
+int go = 1;
+
+/* Thread function, just spin until GO is set to 0.  */
+void *
+perform_work (void *argument)
+{
+  /* Cast to volatile to ensure that ARGUMENT is loaded each time around
+     the loop.  */
+  while (*((volatile int*) argument))
+    {
+      /* Nothing.  */
+    }
+  return NULL;
+}
+
+/* The spin loop for the main thread.  */
+void
+function (void)
+{
+  (void) perform_work (&go);
+  printf ("Finished from function\n");
+}
+
+/* Main program, create some threads which all spin waiting for GO to be
+   set to 0.  */
+int
+main (void)
+{
+  pthread_t threads[NUM_THREADS];
+  int result_code;
+  unsigned index;
+
+  /* Create some threads.  */
+  for (index = 0; index < NUM_THREADS; ++index)
+    {
+      printf ("In main: creating thread %d\n", index);
+      result_code = pthread_create (&threads[index], NULL, perform_work, &go);
+      assert (!result_code);
+    }
+
+  function ();
+
+  /* Wait for each thread to complete.  */
+  for (index = 0; index < NUM_THREADS; ++index)
+    {
+      /* Block until thread INDEX completes.  */
+      result_code = pthread_join (threads[index], NULL);
+      assert (!result_code);
+      printf ("In main: thread %d has completed\n", index);
+    }
+  printf ("In main: All threads completed successfully\n");
+  return 0;
+}
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/testsuite/gdb.threads/attach-slow-waitpid.exp ./gdb/testsuite/gdb.threads/attach-slow-waitpid.exp
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/testsuite/gdb.threads/attach-slow-waitpid.exp	1970-01-01 00:00:00.000000000 +0000
+++ ./gdb/testsuite/gdb.threads/attach-slow-waitpid.exp	2018-06-19 01:49:03.000000000 +0000
@@ -0,0 +1,100 @@
+# Copyright 2018 Free Software Foundation, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+# This test script tries to expose a bug in some of the uses of
+# waitpid in the Linux native support within GDB.  The problem was
+# spotted on systems which were heavily loaded when attaching to
+# threaded test programs.  What happened was that during the initial
+# attach, the loop of waitpid calls that normally received the stop
+# events from each of the threads in the inferior was not receiving a
+# stop event for some threads (the kernel just hadn't sent the stop
+# event yet).
+#
+# GDB would then trigger a call to stop_all_threads which would
+# continue to wait for all of the outstanding threads to stop, when
+# the outstanding stop events finally arrived GDB would then
+# (incorrectly) discard the stop event, resume the thread, and
+# continue to wait for the thread to stop.... which it now never
+# would.
+#
+# In order to try and expose this issue reliably, this test preloads a
+# library that intercepts waitpid calls.  All waitpid calls targeting
+# pid -1 with the WNOHANG flag are rate limited so that only 1 per
+# second can complete.  Additional calls are forced to return 0
+# indicating no event waiting.  This is enough to trigger the bug
+# during the attach phase.
+
+# This test only works on Linux
+if { ![isnative] || [is_remote host] || [use_gdb_stub]
+     || ![istarget *-linux*] } {
+    continue
+}
+
+standard_testfile
+
+set libfile slow-waitpid
+set libsrc "${srcdir}/${subdir}/${libfile}.c"
+set libobj [standard_output_file ${libfile}.so]
+
+with_test_prefix "compile preload library" {
+    # Compile the preload library.  We only get away with this as we
+    # limit this test to running when ISNATIVE is true.
+    if { [gdb_compile_shlib_pthreads \
+	      $libsrc $libobj {debug}] != "" } then {
+	return -1
+    }
+}
+
+with_test_prefix "compile test executable" {
+    # Compile the test program
+    if { [gdb_compile_pthreads \
+	      "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
+	      executable {debug}] != "" } {
+	return -1
+    }
+}
+
+# Spawn GDB with LIB preloaded with LD_PRELOAD.
+
+proc gdb_spawn_with_ld_preload {lib} {
+    global env
+
+    save_vars { env(LD_PRELOAD) } {
+	if { ![info exists env(LD_PRELOAD) ]
+	     || $env(LD_PRELOAD) == "" } {
+	    set env(LD_PRELOAD) "$lib"
+	} else {
+	    append env(LD_PRELOAD) ":$lib"
+	}
+
+	gdb_start
+    }
+}
+
+# Run test program in the background.
+set test_spawn_id [spawn_wait_for_attach $binfile]
+set testpid [spawn_id_get_pid $test_spawn_id]
+
+# Start GDB with preload library in place.
+gdb_spawn_with_ld_preload $libobj
+
+# Load binary, and attach to running program.
+gdb_load ${binfile}
+gdb_test "attach $testpid" "Attaching to program.*" "attach to target"
+
+gdb_exit
+
+# Kill of test program.
+kill_wait_spawned_process $test_spawn_id
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/testsuite/gdb.threads/multiple-successive-infcall.exp ./gdb/testsuite/gdb.threads/multiple-successive-infcall.exp
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/testsuite/gdb.threads/multiple-successive-infcall.exp	2018-06-12 01:49:16.000000000 +0000
+++ ./gdb/testsuite/gdb.threads/multiple-successive-infcall.exp	2018-06-19 01:49:03.000000000 +0000
@@ -56,17 +56,6 @@ gdb_test "show scheduler-locking" \
 
 foreach_with_prefix thread {5 4 3 2 1}  {
   gdb_test "thread ${thread}" "Switching to .*"
-  set command "call get_value()"
-  set hang_message "testing if ${command} hangs"
-  gdb_test_multiple "${command}" "${hang_message}" {
-    -re "= ${thread}\[\r\n]+${gdb_prompt} $" {
-      pass "${hang_message}"
-    }
-    timeout {
-      kfail "gdb/22882" "${hang_message}"
-      # Exit. The debugger has hung, so there is no point in wasting
-      # time timing out on further calls to get_value().
-      return 0
-    }
-  }
+  gdb_test "call get_value()" "= ${thread}" \
+      "call inferior function"
 }
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/testsuite/gdb.threads/slow-waitpid.c ./gdb/testsuite/gdb.threads/slow-waitpid.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/testsuite/gdb.threads/slow-waitpid.c	1970-01-01 00:00:00.000000000 +0000
+++ ./gdb/testsuite/gdb.threads/slow-waitpid.c	2018-06-19 01:49:03.000000000 +0000
@@ -0,0 +1,342 @@
+/* This testcase is part of GDB, the GNU debugger.
+
+   Copyright 2018 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 3 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
+
+/* This file contains a library that can be preloaded into GDB on Linux
+   using the LD_PRELOAD technique.
+
+   The library intercepts calls to WAITPID and SIGSUSPEND in order to
+   simulate the behaviour of a heavily loaded kernel.
+
+   When GDB wants to stop all threads in an inferior each thread is sent a
+   SIGSTOP, GDB will then wait for the signal to be received by the thread
+   with a waitpid call.
+
+   If the kernel is slow in either delivering the signal, or making the
+   result available to the waitpid call then GDB will enter a sigsuspend
+   call in order to wait for the inferior threads to change state, this is
+   signalled to GDB with a SIGCHLD.
+
+   A bug in GDB meant that in some cases we would deadlock during this
+   process.  This was rarely seen as the kernel is usually quick at
+   delivering signals and making the results available to waitpid, so quick
+   that GDB would gather the statuses from all inferior threads in the
+   original pass.
+
+   The idea in this library is to rate limit calls to waitpid (where pid is
+   -1 and the WNOHANG option is set) so that only 1 per second can return
+   an answer.  Any additional calls will report that no threads are
+   currently ready.  This should match the behaviour we see on a slow
+   kernel.
+
+   However, given that usually when using this library, the kernel does
+   have the waitpid result ready this means that the kernel will never send
+   GDB a SIGCHLD.  This means that when GDB enters sigsuspend it will block
+   forever.  Alternatively, if GDB enters its polling loop the lack of
+   SIGCHLD means that we will never see an event on the child threads.  To
+   resolve these problems the library intercepts calls to sigsuspend and
+   forces the call to exit if there is a pending waitpid result.  Also,
+   when we know that there's a waitpid result that we've ignored, we create
+   a new thread which, after a short delay, will send GDB a SIGCHLD.  */
+
+#define _GNU_SOURCE
+
+#include <sys/types.h>
+#include <sys/wait.h>
+#include <sys/time.h>
+#include <stdlib.h>
+#include <stdio.h>
+#include <dlfcn.h>
+#include <string.h>
+#include <stdarg.h>
+#include <signal.h>
+#include <errno.h>
+#include <pthread.h>
+#include <unistd.h>
+
+/* Logging.  */
+
+static void
+log_msg (const char *fmt, ...)
+{
+#ifdef LOGGING
+  va_list ap;
+
+  va_start (ap, fmt);
+  vfprintf (stderr, fmt, ap);
+  va_end (ap);
+#endif /* LOGGING */
+}
+
+/* Error handling, message and exit.  */
+
+static void
+error (const char *fmt, ...)
+{
+  va_list ap;
+
+  va_start (ap, fmt);
+  vfprintf (stderr, fmt, ap);
+  va_end (ap);
+
+  exit (EXIT_FAILURE);
+}
+
+/* Cache the result of a waitpid call that has not been reported back to
+   GDB yet.  We only ever cache a single result.  Once we have a result
+   cached then later calls to waitpid with the WNOHANG option will return a
+   result of 0.  */
+
+static struct
+{
+  /* Flag to indicate when we have a result cached.  */
+  int cached_p;
+
+  /* The cached result fields from a waitpid call.  */
+  pid_t pid;
+  int wstatus;
+} cached_wait_status;
+
+/* Lock to hold when modifying SIGNAL_THREAD_ACTIVE_P.  */
+
+static pthread_mutex_t thread_creation_lock_obj = PTHREAD_MUTEX_INITIALIZER;
+#define thread_creation_lock (&thread_creation_lock_obj)
+
+/* This flag is only modified while holding the THREAD_CREATION_LOCK mutex.
+   When this flag is true then there is a signal thread alive that will be
+   sending a SIGCHLD at some point in the future.  */
+
+static int signal_thread_active_p;
+
+/* When we last allowed a waitpid to complete.  */
+
+static struct timeval last_waitpid_time = { 0, 0 };
+
+/* The number of seconds that must elapse between calls to waitpid where
+   the pid is -1 and the WNOHANG option is set.  If calls occur faster than
+   this then we force a result of 0 to be returned from waitpid.  */
+
+#define WAITPID_MIN_TIME (1)
+
+/* Return true (non-zero) if we should skip this call to waitpid, or false
+   (zero) if this waitpid call should be handled with a call to the "real"
+   waitpid function.  Allows 1 waitpid call per second.  */
+
+static int
+should_skip_waitpid (void)
+{
+  struct timeval *tv = &last_waitpid_time;
+  if (tv->tv_sec == 0)
+    {
+      if (gettimeofday (tv, NULL) < 0)
+	error ("error: gettimeofday failed\n");
+      return 0; /* Don't skip.  */
+    }
+  else
+    {
+      struct timeval new_tv;
+
+      if (gettimeofday (&new_tv, NULL) < 0)
+	error ("error: gettimeofday failed\n");
+
+      if ((new_tv.tv_sec - tv->tv_sec) < WAITPID_MIN_TIME)
+	return 1; /* Skip.  */
+
+      *tv = new_tv;
+    }
+
+  /* Don't skip.  */
+  return 0;
+}
+
+/* Perform a real waitpid call.  */
+
+static pid_t
+real_waitpid (pid_t pid, int *wstatus, int options)
+{
+  typedef pid_t (*fptr_t) (pid_t, int *, int);
+  static fptr_t real_func = NULL;
+
+  if (real_func == NULL)
+    {
+      real_func = dlsym (RTLD_NEXT, "waitpid");
+      if (real_func == NULL)
+	error ("error: failed to find real waitpid\n");
+    }
+
+  return (*real_func) (pid, wstatus, options);
+}
+
+/* Thread worker created when we cache a waitpid result.  Delays for a
+   short period of time and then sends SIGCHLD to the GDB process.  This
+   should trigger GDB to call waitpid again, at which point we will make
+   the cached waitpid result available.  */
+
+static void*
+send_sigchld_thread (void *arg)
+{
+  /* Delay one second longer than WAITPID_MIN_TIME so that there can be no
+     chance that a call to SHOULD_SKIP_WAITPID will return true once the
+     SIGCHLD is delivered and handled.  */
+  sleep (WAITPID_MIN_TIME + 1);
+
+  pthread_mutex_lock (thread_creation_lock);
+  signal_thread_active_p = 0;
+
+  if (cached_wait_status.cached_p)
+    {
+      log_msg ("signal-thread: sending SIGCHLD\n");
+      kill (getpid (), SIGCHLD);
+    }
+
+  pthread_mutex_unlock (thread_creation_lock);
+  return NULL;
+}
+
+/* The waitpid entry point function.  */
+
+pid_t
+waitpid (pid_t pid, int *wstatus, int options)
+{
+  log_msg ("waitpid: waitpid (%d, %p, 0x%x)\n", pid, wstatus, options);
+
+  if ((options & WNOHANG) != 0
+      && pid == -1
+      && should_skip_waitpid ())
+    {
+      if (!cached_wait_status.cached_p)
+	{
+	  /* Do the waitpid call, but hold the result back.  */
+	  pid_t tmp_pid;
+	  int tmp_wstatus;
+
+	  tmp_pid = real_waitpid (-1, &tmp_wstatus, options);
+	  if (tmp_pid > 0)
+	    {
+	      log_msg ("waitpid: delaying waitpid result (pid = %d)\n",
+		       tmp_pid);
+
+	      /* Cache the result.  */
+	      cached_wait_status.pid = tmp_pid;
+	      cached_wait_status.wstatus = tmp_wstatus;
+	      cached_wait_status.cached_p = 1;
+
+	      /* Is there a thread around that will be sending a signal in
+		 the near future?  The prevents us from creating one
+		 thread per call to waitpid when the calls occur in a
+		 sequence.  */
+	      pthread_mutex_lock (thread_creation_lock);
+	      if (!signal_thread_active_p)
+		{
+		  sigset_t old_ss, new_ss;
+		  pthread_t thread_id;
+		  pthread_attr_t attr;
+
+		  /* Create the new signal sending thread in detached
+		     state.  This means that the thread doesn't need to be
+		     pthread_join'ed.  Which is fine as there's no result
+		     we care about.  */
+		  pthread_attr_init (&attr);
+		  pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED);
+
+		  /* Ensure the signal sending thread has all signals
+		     blocked.  We don't want any signals to GDB to be
+		     handled in that thread.  */
+		  sigfillset (&new_ss);
+		  sigprocmask (SIG_BLOCK, &new_ss, &old_ss);
+
+		  log_msg ("waitpid: spawn thread to signal us\n");
+		  if (pthread_create (&thread_id, &attr,
+				      send_sigchld_thread, NULL) != 0)
+		    error ("error: pthread_create failed\n");
+
+		  signal_thread_active_p = 1;
+		  sigprocmask (SIG_SETMASK, &old_ss, NULL);
+		  pthread_attr_destroy (&attr);
+		}
+
+	      pthread_mutex_unlock (thread_creation_lock);
+	    }
+	}
+
+      log_msg ("waitpid: skipping\n");
+      return 0;
+    }
+
+  /* If we have a cached result that is a suitable reply for this call to
+     waitpid then send that cached result back now.  */
+  if (cached_wait_status.cached_p
+      && (pid == -1 || pid == cached_wait_status.pid))
+    {
+      pid_t pid;
+
+      pid = cached_wait_status.pid;
+      log_msg ("waitpid: return cached result (%d)\n", pid);
+      *wstatus = cached_wait_status.wstatus;
+      cached_wait_status.cached_p = 0;
+      return pid;
+    }
+
+  log_msg ("waitpid: real waitpid call\n");
+  return real_waitpid (pid, wstatus, options);
+}
+
+/* Perform a real sigsuspend call.  */
+
+static int
+real_sigsuspend (const sigset_t *mask)
+{
+  typedef int (*fptr_t) (const sigset_t *);
+  static fptr_t real_func = NULL;
+
+  if (real_func == NULL)
+    {
+      real_func = dlsym (RTLD_NEXT, "sigsuspend");
+      if (real_func == NULL)
+	error ("error: failed to find real sigsuspend\n");
+    }
+
+  return (*real_func) (mask);
+}
+
+/* The sigsuspend entry point function.  */
+
+int
+sigsuspend (const sigset_t *mask)
+{
+  log_msg ("sigsuspend: sigsuspend (0x%p)\n", ((void *) mask));
+
+  /* If SIGCHLD is _not_ in MASK, and is therefore deliverable, then if we
+     have a pending wait status pretend that a signal arrived.  We will
+     have a thread alive that is going to deliver a signal but doing this
+     will boost the speed as we don't have to wait for a signal.  If the
+     signal ends up being delivered then it should be harmless, we'll just
+     perform an additional waitpid call.   */
+  if (!sigismember (mask, SIGCHLD))
+    {
+      if (cached_wait_status.cached_p)
+	{
+	  log_msg ("sigsuspend: interrupt for cached waitstatus\n");
+	  last_waitpid_time.tv_sec = 0;
+	  last_waitpid_time.tv_usec = 0;
+	  errno = EINTR;
+	  return -1;
+	}
+    }
+
+  log_msg ("sigsuspend: real sigsuspend call\n");
+  return real_sigsuspend (mask);
+}
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/testsuite/lib/selftest-support.exp ./gdb/testsuite/lib/selftest-support.exp
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/testsuite/lib/selftest-support.exp	2018-06-12 01:49:16.000000000 +0000
+++ ./gdb/testsuite/lib/selftest-support.exp	2018-06-19 01:49:03.000000000 +0000
@@ -88,17 +88,12 @@ proc selftest_setup { executable functio
 
     set description "run until breakpoint at $function"
     gdb_test_multiple "run $INTERNAL_GDBFLAGS" "$description" {
-        -re "Starting program.*Breakpoint \[0-9\]+,.*$function \\(\\).* at .*main.c:.*$gdb_prompt $" {
+        -re "Starting program.*Breakpoint \[0-9\]+,.*$function \\(.*\\).* at .*main.c:.*$gdb_prompt $" {
             pass "$description"
         }
-        -re "Starting program.*Breakpoint \[0-9\]+,.*$function \\(\\).*$gdb_prompt $" {
+        -re "Starting program.*Breakpoint \[0-9\]+,.*$function \\(.*\\).*$gdb_prompt $" {
             xfail "$description (line numbers scrambled?)"
         }
-	-re "Starting program.*Breakpoint \[0-9\]+,.* at .*main.c:.*$function.*$gdb_prompt $" {
-	    # $function may be inlined, so the program stops at the line
-	    # calling $function.
-	    pass "$description"
-	}
         -re "vfork: No more processes.*$gdb_prompt $" {
             fail "$description (out of virtual memory)"
             set timeout $oldtimeout
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/valops.c ./gdb/valops.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/valops.c	2018-06-12 01:49:19.000000000 +0000
+++ ./gdb/valops.c	2018-06-19 01:49:03.000000000 +0000
@@ -3343,7 +3343,7 @@ value_struct_elt_for_reference (struct t
 				int want_address,
 				enum noside noside)
 {
-  struct type *t = curtype;
+  struct type *t = check_typedef (curtype);
   int i;
   struct value *v, *result;
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/valprint.c ./gdb/valprint.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/valprint.c	2018-06-12 01:49:19.000000000 +0000
+++ ./gdb/valprint.c	2018-06-19 01:49:03.000000000 +0000
@@ -2096,10 +2096,10 @@ partial_memory_read (CORE_ADDR memaddr, 
   return (nread);
 }
 
-/* Read a string from the inferior, at ADDR, with LEN characters of WIDTH bytes
-   each.  Fetch at most FETCHLIMIT characters.  BUFFER will be set to a newly
-   allocated buffer containing the string, which the caller is responsible to
-   free, and BYTES_READ will be set to the number of bytes read.  Returns 0 on
+/* Read a string from the inferior, at ADDR, with LEN characters of
+   WIDTH bytes each.  Fetch at most FETCHLIMIT characters.  BUFFER
+   will be set to a newly allocated buffer containing the string, and
+   BYTES_READ will be set to the number of bytes read.  Returns 0 on
    success, or a target_xfer_status on failure.
 
    If LEN > 0, reads the lesser of LEN or FETCHLIMIT characters
@@ -2122,20 +2122,18 @@ partial_memory_read (CORE_ADDR memaddr, 
 
 int
 read_string (CORE_ADDR addr, int len, int width, unsigned int fetchlimit,
-	     enum bfd_endian byte_order, gdb_byte **buffer, int *bytes_read)
+	     enum bfd_endian byte_order, gdb::unique_xmalloc_ptr<gdb_byte> *buffer,
+	     int *bytes_read)
 {
   int errcode;			/* Errno returned from bad reads.  */
   unsigned int nfetch;		/* Chars to fetch / chars fetched.  */
   gdb_byte *bufptr;		/* Pointer to next available byte in
 				   buffer.  */
-  struct cleanup *old_chain = NULL;	/* Top of the old cleanup chain.  */
 
   /* Loop until we either have all the characters, or we encounter
      some error, such as bumping into the end of the address space.  */
 
-  *buffer = NULL;
-
-  old_chain = make_cleanup (free_current_contents, buffer);
+  buffer->reset (nullptr);
 
   if (len > 0)
     {
@@ -2143,8 +2141,8 @@ read_string (CORE_ADDR addr, int len, in
 	 one operation.  */
       unsigned int fetchlen = std::min ((unsigned) len, fetchlimit);
 
-      *buffer = (gdb_byte *) xmalloc (fetchlen * width);
-      bufptr = *buffer;
+      buffer->reset ((gdb_byte *) xmalloc (fetchlen * width));
+      bufptr = buffer->get ();
 
       nfetch = partial_memory_read (addr, bufptr, fetchlen * width, &errcode)
 	/ width;
@@ -2173,12 +2171,12 @@ read_string (CORE_ADDR addr, int len, in
 	  nfetch = std::min ((unsigned long) chunksize, fetchlimit - bufsize);
 
 	  if (*buffer == NULL)
-	    *buffer = (gdb_byte *) xmalloc (nfetch * width);
+	    buffer->reset ((gdb_byte *) xmalloc (nfetch * width));
 	  else
-	    *buffer = (gdb_byte *) xrealloc (*buffer,
-					     (nfetch + bufsize) * width);
+	    buffer->reset ((gdb_byte *) xrealloc (buffer->release (),
+						  (nfetch + bufsize) * width));
 
-	  bufptr = *buffer + bufsize * width;
+	  bufptr = buffer->get () + bufsize * width;
 	  bufsize += nfetch;
 
 	  /* Read as much as we can.  */
@@ -2210,24 +2208,23 @@ read_string (CORE_ADDR addr, int len, in
 	    }
 	}
       while (errcode == 0	/* no error */
-	     && bufptr - *buffer < fetchlimit * width	/* no overrun */
+	     && bufptr - buffer->get () < fetchlimit * width	/* no overrun */
 	     && !found_nul);	/* haven't found NUL yet */
     }
   else
     {				/* Length of string is really 0!  */
       /* We always allocate *buffer.  */
-      *buffer = bufptr = (gdb_byte *) xmalloc (1);
+      buffer->reset ((gdb_byte *) xmalloc (1));
+      bufptr = buffer->get ();
       errcode = 0;
     }
 
   /* bufptr and addr now point immediately beyond the last byte which we
      consider part of the string (including a '\0' which ends the string).  */
-  *bytes_read = bufptr - *buffer;
+  *bytes_read = bufptr - buffer->get ();
 
   QUIT;
 
-  discard_cleanups (old_chain);
-
   return errcode;
 }
 
@@ -2793,8 +2790,7 @@ val_print_string (struct type *elttype, 
   int found_nul;		/* Non-zero if we found the nul char.  */
   unsigned int fetchlimit;	/* Maximum number of chars to print.  */
   int bytes_read;
-  gdb_byte *buffer = NULL;	/* Dynamically growable fetch buffer.  */
-  struct cleanup *old_chain = NULL;	/* Top of the old cleanup chain.  */
+  gdb::unique_xmalloc_ptr<gdb_byte> buffer;	/* Dynamically growable fetch buffer.  */
   struct gdbarch *gdbarch = get_type_arch (elttype);
   enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
   int width = TYPE_LENGTH (elttype);
@@ -2812,7 +2808,6 @@ val_print_string (struct type *elttype, 
 
   err = read_string (addr, len, width, fetchlimit, byte_order,
 		     &buffer, &bytes_read);
-  old_chain = make_cleanup (xfree, buffer);
 
   addr += bytes_read;
 
@@ -2823,8 +2818,8 @@ val_print_string (struct type *elttype, 
   /* Determine found_nul by looking at the last character read.  */
   found_nul = 0;
   if (bytes_read >= width)
-    found_nul = extract_unsigned_integer (buffer + bytes_read - width, width,
-					  byte_order) == 0;
+    found_nul = extract_unsigned_integer (buffer.get () + bytes_read - width,
+					  width, byte_order) == 0;
   if (len == -1 && !found_nul)
     {
       gdb_byte *peekbuf;
@@ -2852,7 +2847,7 @@ val_print_string (struct type *elttype, 
      and then the error message.  */
   if (err == 0 || bytes_read > 0)
     {
-      LA_PRINT_STRING (stream, elttype, buffer, bytes_read / width,
+      LA_PRINT_STRING (stream, elttype, buffer.get (), bytes_read / width,
 		       encoding, force_ellipsis, options);
     }
 
@@ -2866,7 +2861,6 @@ val_print_string (struct type *elttype, 
     }
 
   gdb_flush (stream);
-  do_cleanups (old_chain);
 
   return (bytes_read / width);
 }
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/valprint.h ./gdb/valprint.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/gdb/valprint.h	2018-06-12 01:49:19.000000000 +0000
+++ ./gdb/valprint.h	2018-06-19 01:49:03.000000000 +0000
@@ -150,7 +150,8 @@ extern void print_function_pointer_addre
 
 extern int read_string (CORE_ADDR addr, int len, int width,
 			unsigned int fetchlimit,
-			enum bfd_endian byte_order, gdb_byte **buffer,
+			enum bfd_endian byte_order,
+			gdb::unique_xmalloc_ptr<gdb_byte> *buffer,
 			int *bytes_read);
 
 extern void val_print_optimized_out (const struct value *val,
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/include/ChangeLog ./include/ChangeLog
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/include/ChangeLog	2018-06-12 01:49:19.000000000 +0000
+++ ./include/ChangeLog	2018-06-19 01:49:03.000000000 +0000
@@ -1,3 +1,18 @@
+2018-06-14  Faraz Shahbazker  <Faraz.Shahbazker@mips.com>
+
+	* elf/mips.h (AFL_ASE_GINV, AFL_ASE_RESERVED1): New macros.
+	(AFL_ASE_MASK): Update to include AFL_ASE_GINV.
+	* opcode/mips.h: Document "+\" operand format.
+	(ASE_GINV): New macro.
+
+2018-06-13  Scott Egerton  <scott.egerton@imgtec.com>
+	    Faraz Shahbazker  <Faraz.Shahbazker@mips.com>
+
+	* elf/mips.h (AFL_ASE_CRC): New macro.
+	(AFL_ASE_MASK): Update to include AFL_ASE_CRC.
+	* opcode/mips.h (ASE_CRC): New macro.
+	* opcode/mips.h (ASE_CRC64): Likewise.
+
 2018-06-04  Max Filippov  <jcmvbkbc@gmail.com>
 
 	* elf/xtensa.h (xtensa_read_table_entries)
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/include/elf/mips.h ./include/elf/mips.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/include/elf/mips.h	2018-06-12 01:49:19.000000000 +0000
+++ ./include/elf/mips.h	2018-06-19 01:49:03.000000000 +0000
@@ -1235,7 +1235,10 @@ extern void bfd_mips_elf_swap_abiflags_v
 #define AFL_ASE_XPA          0x00001000 /* XPA ASE.  */
 #define AFL_ASE_DSPR3        0x00002000 /* DSP R3 ASE.  */
 #define AFL_ASE_MIPS16E2     0x00004000 /* MIPS16e2 ASE.  */
-#define AFL_ASE_MASK         0x00007fff /* All ASEs.  */
+#define AFL_ASE_CRC          0x00008000 /* CRC ASE.  */
+#define AFL_ASE_RESERVED1    0x00010000 /* Reserved by MIPS Tech for WIP.  */
+#define AFL_ASE_GINV         0x00020000 /* GINV ASE.  */
+#define AFL_ASE_MASK         0x0002ffff /* All ASEs.  */
 
 /* Values for the isa_ext word of an ABI flags structure.  */
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/include/opcode/mips.h ./include/opcode/mips.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/include/opcode/mips.h	2018-06-12 01:49:19.000000000 +0000
+++ ./include/opcode/mips.h	2018-06-19 01:49:03.000000000 +0000
@@ -989,6 +989,9 @@ mips_opcode_32bit_p (const struct mips_o
    "-A" symbolic offset (-262144 .. 262143) << 2 at bit 0
    "-B" symbolic offset (-131072 .. 131071) << 3 at bit 0
 
+   GINV ASE usage:
+   "+\" 2 bit Global TLB invalidate type at bit 8
+
    Other:
    "()" parens surrounding optional value
    ","  separates operands
@@ -1003,7 +1006,7 @@ mips_opcode_32bit_p (const struct mips_o
    Extension character sequences used so far ("+" followed by the
    following), for quick reference when adding more:
    "1234567890"
-   "~!@#$%^&*|:'";"
+   "~!@#$%^&*|:'";\"
    "ABCEFGHIJKLMNOPQRSTUVWXZ"
    "abcdefghijklmnopqrstuvwxyz"
 
@@ -1294,6 +1297,11 @@ static const unsigned int mips_isa_table
 /* The Virtualization ASE has eXtended Physical Addressing (XPA)
    instructions which are only valid when both ASEs are enabled.  */
 #define ASE_XPA_VIRT		0x00020000
+/* Cyclic redundancy check (CRC) ASE.  */
+#define ASE_CRC			0x00040000
+#define ASE_CRC64		0x00080000
+/* Global INValidate Extension.  */
+#define ASE_GINV		0x00100000
 
 /* MIPS ISA defines, use instead of hardcoding ISA level.  */
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/include/simple-object.h ./include/simple-object.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/include/simple-object.h	2018-06-12 01:49:19.000000000 +0000
+++ ./include/simple-object.h	2018-06-19 01:49:03.000000000 +0000
@@ -198,12 +198,15 @@ extern void
 simple_object_release_write (simple_object_write *);
 
 /* Copy LTO debug sections from SRC_OBJECT to DEST.
+   If RENAME is true, rename LTO debug section into debug section (i.e.
+   when producing final binary) and if it is false, keep the sections with
+   original names (when incrementally linking).
    If an error occurs, return the errno value in ERR and an error string.  */
 
 extern const char *
 simple_object_copy_lto_debug_sections (simple_object_read *src_object,
 				       const char *dest,
-				       int *err);
+				       int *err, int rename);
 
 #ifdef __cplusplus
 }
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/aclocal.m4 ./libdecnumber/aclocal.m4
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/aclocal.m4	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/aclocal.m4	2018-06-19 01:49:04.000000000 +0000
@@ -1,7 +1,8 @@
-# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
+# generated automatically by aclocal 1.11.6 -*- Autoconf -*-
 
 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
+# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
+# Inc.
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/bid/bid2dpd_dpd2bid.c ./libdecnumber/bid/bid2dpd_dpd2bid.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/bid/bid2dpd_dpd2bid.c	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/bid/bid2dpd_dpd2bid.c	2018-06-19 01:49:04.000000000 +0000
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2013 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2018 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
@@ -114,10 +114,10 @@ _bid_to_dpd32 (_Decimal32 *pres, _Decima
   b1 = b01 - 1000 * b0;
   dcoeff = b2d[b2] | b2d2[b1];
   if (b0 >= 8) { /* is b0 8 or 9? */
-    res = sign | ((0x600 | ((exp >> 6) << 7) | 
+    res = sign | ((0x600 | ((exp >> 6) << 7) |
         ((b0 & 1) << 6) | (exp & 0x3f)) << 20) | dcoeff;
   } else { /* else b0 is 0..7 */
-    res = sign | ((((exp >> 6) << 9) | (b0 << 6) | 
+    res = sign | ((((exp >> 6) << 9) | (b0 << 6) |
         (exp & 0x3f)) << 20) | dcoeff;
   }
   *pres = res;
@@ -138,29 +138,29 @@ _dpd_to_bid32 (_Decimal32 *pres, _Decima
   if ((x & 0x78000000) == 0x78000000) {
     *pres = x;
     return;
-  } else { /* normal number */
-    if ((x & 0x60000000) == 0x60000000) { /* G0..G1 = 11 -> d0 = 8 + G4 */
-      d0 = d2b3[((x >> 26) & 1) | 8]; /* d0 = (comb & 0x0100 ? 9 : 8); */
-      exp = (x >> 27) & 3; /* exp leading bits are G2..G3 */
-    } else {
-      d0 = d2b3[(x >> 26) & 0x7];
-      exp = (x >> 29) & 3; /* exp loading bits are G0..G1 */
-    }
-    d1 = d2b2[(trailing >> 10) & 0x3ff];
-    d2 = d2b[(trailing) & 0x3ff];
-    bcoeff = d2 + d1 + d0;
-    exp = (exp << 6) + ((x >> 20) & 0x3f);
-    if (bcoeff < (1 << 23)) {
-      r = exp;
-      r <<= 23;
-      r |= (bcoeff | sign);
-    } else {
-      r = exp;
-      r <<= 21;
-      r |= (sign | 0x60000000ul);
-      /* add coeff, without leading bits */
-      r |= (((unsigned int) bcoeff) & 0x1fffff);
-    }
+  }
+  /* normal number */
+  if ((x & 0x60000000) == 0x60000000) { /* G0..G1 = 11 -> d0 = 8 + G4 */
+    d0 = d2b3[((x >> 26) & 1) | 8]; /* d0 = (comb & 0x0100 ? 9 : 8); */
+    exp = (x >> 27) & 3; /* exp leading bits are G2..G3 */
+  } else {
+    d0 = d2b3[(x >> 26) & 0x7];
+    exp = (x >> 29) & 3; /* exp loading bits are G0..G1 */
+  }
+  d1 = d2b2[(trailing >> 10) & 0x3ff];
+  d2 = d2b[(trailing) & 0x3ff];
+  bcoeff = d2 + d1 + d0;
+  exp = (exp << 6) + ((x >> 20) & 0x3f);
+  if (bcoeff < (1 << 23)) {
+    r = exp;
+    r <<= 23;
+    r |= (bcoeff | sign);
+  } else {
+    r = exp;
+    r <<= 21;
+    r |= (sign | 0x60000000ul);
+    /* add coeff, without leading bits */
+    r |= (((unsigned int) bcoeff) & 0x1fffff);
   }
   *pres = r;
 }
@@ -184,40 +184,40 @@ _bid_to_dpd64 (_Decimal64 *pres, _Decima
   if ((comb & 0xf00) == 0xf00) {
     *pres = x;
     return;
-  } else { /* Normal number */
-    if ((comb & 0xc00) == 0xc00) { /* G0..G1 = 11 -> exp is G2..G11 */
-      exp = (comb) & 0x3ff;
-      bcoeff = (x & 0x0007ffffffffffffull) | 0x0020000000000000ull;
-    } else {
-      exp = (comb >> 2) & 0x3ff;
-      bcoeff = (x & 0x001fffffffffffffull);
-    }
-    D61 = 2305843009ull; /* Floor(2^61 / 10^9) */
-    /* Multiply the binary coefficient by ceil(2^64 / 1000), and take the upper
-       64-bits in order to compute a division by 1000. */
-    yhi = (D61 * (UINT64)(bcoeff >> (UINT64)27)) >> (UINT64)34;
-    ylo = bcoeff - 1000000000ull * yhi;
-    if (ylo >= 1000000000) {
-      ylo = ylo - 1000000000;
-      yhi = yhi + 1;
-    }
-    d103 = 0x4189374c;
-    B34 = ((UINT64) ylo * d103) >> (32 + 8);
-    B01 = ((UINT64) yhi * d103) >> (32 + 8);
-    b5 = ylo - B34 * 1000;
-    b2 = yhi - B01 * 1000;
-    b3 = ((UINT64) B34 * d103) >> (32 + 8);
-    b0 = ((UINT64) B01 * d103) >> (32 + 8);
-    b4 = (unsigned int) B34 - (unsigned int) b3 *1000;
-    b1 = (unsigned int) B01 - (unsigned int) dm103[b0];
-    dcoeff = b2d[b5] | b2d2[b4] | b2d3[b3] | b2d4[b2] | b2d5[b1];
-    if (b0 >= 8) /* is b0 8 or 9? */
-      res = sign | ((0x1800 | ((exp >> 8) << 9) | ((b0 & 1) << 8) | 
-          (exp & 0xff)) << 50) | dcoeff;
-    else /* else b0 is 0..7 */
-      res = sign | ((((exp >> 8) << 11) | (b0 << 8) | 
-          (exp & 0xff)) << 50) | dcoeff;
   }
+  /* Normal number */
+  if ((comb & 0xc00) == 0xc00) { /* G0..G1 = 11 -> exp is G2..G11 */
+    exp = (comb) & 0x3ff;
+    bcoeff = (x & 0x0007ffffffffffffull) | 0x0020000000000000ull;
+  } else {
+    exp = (comb >> 2) & 0x3ff;
+    bcoeff = (x & 0x001fffffffffffffull);
+  }
+  D61 = 2305843009ull; /* Floor(2^61 / 10^9) */
+  /* Multiply the binary coefficient by ceil(2^64 / 1000), and take the upper
+     64-bits in order to compute a division by 1000. */
+  yhi = (D61 * (UINT64)(bcoeff >> (UINT64)27)) >> (UINT64)34;
+  ylo = bcoeff - 1000000000ull * yhi;
+  if (ylo >= 1000000000) {
+    ylo = ylo - 1000000000;
+    yhi = yhi + 1;
+  }
+  d103 = 0x4189374c;
+  B34 = ((UINT64) ylo * d103) >> (32 + 8);
+  B01 = ((UINT64) yhi * d103) >> (32 + 8);
+  b5 = ylo - B34 * 1000;
+  b2 = yhi - B01 * 1000;
+  b3 = ((UINT64) B34 * d103) >> (32 + 8);
+  b0 = ((UINT64) B01 * d103) >> (32 + 8);
+  b4 = (unsigned int) B34 - (unsigned int) b3 *1000;
+  b1 = (unsigned int) B01 - (unsigned int) dm103[b0];
+  dcoeff = b2d[b5] | b2d2[b4] | b2d3[b3] | b2d4[b2] | b2d5[b1];
+  if (b0 >= 8) /* is b0 8 or 9? */
+    res = sign | ((0x1800 | ((exp >> 8) << 9) | ((b0 & 1) << 8) |
+                   (exp & 0xff)) << 50) | dcoeff;
+  else /* else b0 is 0..7 */
+    res = sign | ((((exp >> 8) << 11) | (b0 << 8) |
+                     (exp & 0xff)) << 50) | dcoeff;
   *pres = res;
 }
 
@@ -237,49 +237,41 @@ _dpd_to_bid64 (_Decimal64 *pres, _Decima
   comb = (x & 0x7ffc000000000000ull) >> 50;
   trailing = (x & 0x0003ffffffffffffull);
   if ((comb & 0x1e00) == 0x1e00) {
-    if ((comb & 0x1f00) == 0x1f00) { /* G0..G4 = 11111 -> NaN */
-      if (comb & 0x0100) { /* G5 = 1 -> sNaN */
-        *pres = x;
-      } else { /* G5 = 0 -> qNaN */
-        *pres = x;
-      }
-    } else { /*if ((comb & 0x1e00) == 0x1e00); G0..G4 = 11110 -> INF */
-      *pres = x;
-    }
+    *pres = x;
     return;
-  } else { /* normal number */
-    if ((comb & 0x1800) == 0x1800) { /* G0..G1 = 11 -> d0 = 8 + G4 */
-      d0 = d2b6[((comb >> 8) & 1) | 8]; /* d0 = (comb & 0x0100 ? 9 : 8); */
-      exp = (comb & 0x600) >> 1; /* exp = (comb & 0x0400 ? 1 : 0) * 0x200 + 
-          (comb & 0x0200 ? 1 : 0) * 0x100; exp leading bits are G2..G3 */
-    } else {
-      d0 = d2b6[(comb >> 8) & 0x7];
-      exp = (comb & 0x1800) >> 3; /* exp = (comb & 0x1000 ? 1 : 0) * 0x200 + 
-          (comb & 0x0800 ? 1 : 0) * 0x100; exp loading bits are G0..G1 */
-    }
-    d1 = d2b5[(trailing >> 40) & 0x3ff];
-    d2 = d2b4[(trailing >> 30) & 0x3ff];
-    d3 = d2b3[(trailing >> 20) & 0x3ff];
-    d4 = d2b2[(trailing >> 10) & 0x3ff];
-    d5 = d2b[(trailing) & 0x3ff];
-    bcoeff = (d5 + d4 + d3) + d2 + d1 + d0;
-    exp += (comb & 0xff);
-    mask = 1;
-    mask <<= 53;
-    if (bcoeff < mask) { /* check whether coefficient fits in 10*5+3 bits */
-      res = exp;
-      res <<= 53;
-      res |= (bcoeff | sign);
-      *pres = res;
-      return;
-    }
-    /* special format */
-    res = (exp << 51) | (sign | 0x6000000000000000ull);
-    /* add coeff, without leading bits */
-    mask = (mask >> 2) - 1;
-    bcoeff &= mask;
-    res |= bcoeff;
   }
+  /* normal number */
+  if ((comb & 0x1800) == 0x1800) { /* G0..G1 = 11 -> d0 = 8 + G4 */
+    d0 = d2b6[((comb >> 8) & 1) | 8]; /* d0 = (comb & 0x0100 ? 9 : 8); */
+    exp = (comb & 0x600) >> 1; /* exp = (comb & 0x0400 ? 1 : 0) * 0x200 +
+        (comb & 0x0200 ? 1 : 0) * 0x100; exp leading bits are G2..G3 */
+  } else {
+    d0 = d2b6[(comb >> 8) & 0x7];
+    exp = (comb & 0x1800) >> 3; /* exp = (comb & 0x1000 ? 1 : 0) * 0x200 +
+        (comb & 0x0800 ? 1 : 0) * 0x100; exp loading bits are G0..G1 */
+  }
+  d1 = d2b5[(trailing >> 40) & 0x3ff];
+  d2 = d2b4[(trailing >> 30) & 0x3ff];
+  d3 = d2b3[(trailing >> 20) & 0x3ff];
+  d4 = d2b2[(trailing >> 10) & 0x3ff];
+  d5 = d2b[(trailing) & 0x3ff];
+  bcoeff = (d5 + d4 + d3) + d2 + d1 + d0;
+  exp += (comb & 0xff);
+  mask = 1;
+  mask <<= 53;
+  if (bcoeff < mask) { /* check whether coefficient fits in 10*5+3 bits */
+    res = exp;
+    res <<= 53;
+    res |= (bcoeff | sign);
+    *pres = res;
+    return;
+  }
+  /* special format */
+  res = (exp << 51) | (sign | 0x6000000000000000ull);
+  /* add coeff, without leading bits */
+  mask = (mask >> 2) - 1;
+  bcoeff &= mask;
+  res |= bcoeff;
   *pres = res;
 }
 
@@ -304,15 +296,7 @@ _bid_to_dpd128 (_Decimal128 *pres, _Deci
   comb = (x.w[1] /*& 0x7fffc00000000000ull */ ) >> 46;
   exp = 0;
   if ((comb & 0x1e000) == 0x1e000) {
-    if ((comb & 0x1f000) == 0x1f000) { /* G0..G4 = 11111 -> NaN */
-      if (comb & 0x01000) { /* G5 = 1 -> sNaN */
-        res = x;
-      } else { /* G5 = 0 -> qNaN */
-        res = x;
-      }
-    } else { /* G0..G4 = 11110 -> INF */
-      res = x;
-    }
+    res = x;
   } else { /* normal number */
     exp = ((x.w[1] & 0x7fff000000000000ull) >> 49) & 0x3fff;
     bcoeff.w[1] = (x.w[1] & 0x0001ffffffffffffull);
@@ -347,16 +331,16 @@ _bid_to_dpd128 (_Decimal128 *pres, _Deci
     BLL32 -= (unsigned int) k9 *1000000;
     k10 = ((UINT64) BLL32 * d103) >> (32 + 8);
     k11 = BLL32 - (unsigned int) k10 *1000;
-    dcoeff.w[1] = (b2d[k5] >> 4) | (b2d[k4] << 6) | (b2d[k3] << 16) | 
-        (b2d[k2] << 26) | (b2d[k1] << 36);
-    dcoeff.w[0] = b2d[k11] | (b2d[k10] << 10) | (b2d[k9] << 20) | 
-        (b2d[k8] << 30) | (b2d[k7] << 40) | (b2d[k6] << 50) | (b2d[k5] << 60);
+    dcoeff.w[1] = (b2d[k5] >> 4) | (b2d[k4] << 6) | (b2d[k3] << 16) |
+      (b2d[k2] << 26) | (b2d[k1] << 36);
+    dcoeff.w[0] = b2d[k11] | (b2d[k10] << 10) | (b2d[k9] << 20) |
+      (b2d[k8] << 30) | (b2d[k7] << 40) | (b2d[k6] << 50) | (b2d[k5] << 60);
     res.w[0] = dcoeff.w[0];
     if (k0 >= 8) {
-      res.w[1] = sign.w[1] | ((0x18000 | ((exp >> 12) << 13) | 
+      res.w[1] = sign.w[1] | ((0x18000 | ((exp >> 12) << 13) |
           ((k0 & 1) << 12) | (exp & 0xfff)) << 46) | dcoeff.w[1];
     } else {
-      res.w[1] = sign.w[1] | ((((exp >> 12) << 15) | (k0 << 12) | 
+      res.w[1] = sign.w[1] | ((((exp >> 12) << 15) | (k0 << 12) |
           (exp & 0xfff)) << 46) | dcoeff.w[1];
     }
   }
@@ -382,42 +366,33 @@ _dpd_to_bid128 (_Decimal128 *pres, _Deci
   trailing.w[1] = x.w[1];
   trailing.w[0] = x.w[0];
   if ((comb & 0x1e000) == 0x1e000) {
-    if ((comb & 0x1f000) == 0x1f000) { /* G0..G4 = 11111 -> NaN */
-      if (comb & 0x01000) { /* G5 = 1 -> sNaN */
-        *pres = x;
-      } else { /* G5 = 0 -> qNaN */
-        *pres = x;
-      }
-    } else { /* G0..G4 = 11110 -> INF */
       *pres = x;
-    }
-    return;
-  } else { /* Normal number */
-    if ((comb & 0x18000) == 0x18000) { /* G0..G1 = 11 -> d0 = 8 + G4 */
-      d0 = d2b6[8 + ((comb & 0x01000) >> 12)];
-      exp = (comb & 0x06000) >> 1;  /* exp leading bits are G2..G3 */
-    } else {
-      d0 = d2b6[((comb & 0x07000) >> 12)];
-      exp = (comb & 0x18000) >> 3;  /* exp loading bits are G0..G1 */
-    }
-    d11 = d2b[(trailing.w[0]) & 0x3ff];
-    d10 = d2b2[(trailing.w[0] >> 10) & 0x3ff];
-    d9 = d2b3[(trailing.w[0] >> 20) & 0x3ff];
-    d8 = d2b4[(trailing.w[0] >> 30) & 0x3ff];
-    d7 = d2b5[(trailing.w[0] >> 40) & 0x3ff];
-    d6 = d2b6[(trailing.w[0] >> 50) & 0x3ff];
-    d5 = d2b[(trailing.w[0] >> 60) | ((trailing.w[1] & 0x3f) << 4)];
-    d4 = d2b2[(trailing.w[1] >> 6) & 0x3ff];
-    d3 = d2b3[(trailing.w[1] >> 16) & 0x3ff];
-    d2 = d2b4[(trailing.w[1] >> 26) & 0x3ff];
-    d1 = d2b5[(trailing.w[1] >> 36) & 0x3ff];
-    tl = d11 + d10 + d9 + d8 + d7 + d6;
-    th = d5 + d4 + d3 + d2 + d1 + d0;
-    __mul_64x64_to_128 (bcoeff, th, 1000000000000000000ull);
-    __add_128_64 (bcoeff, bcoeff, tl);
-    exp += (comb & 0xfff);
-    res.w[0] = bcoeff.w[0];
-    res.w[1] = (exp << 49) | sign.w[1] | bcoeff.w[1];
+      return;
+  }
+  if ((comb & 0x18000) == 0x18000) { /* G0..G1 = 11 -> d0 = 8 + G4 */
+    d0 = d2b6[8 + ((comb & 0x01000) >> 12)];
+    exp = (comb & 0x06000) >> 1;  /* exp leading bits are G2..G3 */
+  } else {
+    d0 = d2b6[((comb & 0x07000) >> 12)];
+    exp = (comb & 0x18000) >> 3;  /* exp loading bits are G0..G1 */
   }
+  d11 = d2b[(trailing.w[0]) & 0x3ff];
+  d10 = d2b2[(trailing.w[0] >> 10) & 0x3ff];
+  d9 = d2b3[(trailing.w[0] >> 20) & 0x3ff];
+  d8 = d2b4[(trailing.w[0] >> 30) & 0x3ff];
+  d7 = d2b5[(trailing.w[0] >> 40) & 0x3ff];
+  d6 = d2b6[(trailing.w[0] >> 50) & 0x3ff];
+  d5 = d2b[(trailing.w[0] >> 60) | ((trailing.w[1] & 0x3f) << 4)];
+  d4 = d2b2[(trailing.w[1] >> 6) & 0x3ff];
+  d3 = d2b3[(trailing.w[1] >> 16) & 0x3ff];
+  d2 = d2b4[(trailing.w[1] >> 26) & 0x3ff];
+  d1 = d2b5[(trailing.w[1] >> 36) & 0x3ff];
+  tl = d11 + d10 + d9 + d8 + d7 + d6;
+  th = d5 + d4 + d3 + d2 + d1 + d0;
+  __mul_64x64_to_128 (bcoeff, th, 1000000000000000000ull);
+  __add_128_64 (bcoeff, bcoeff, tl);
+  exp += (comb & 0xfff);
+  res.w[0] = bcoeff.w[0];
+  res.w[1] = (exp << 49) | sign.w[1] | bcoeff.w[1];
   *pres = res;
 }
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/bid/bid2dpd_dpd2bid.h ./libdecnumber/bid/bid2dpd_dpd2bid.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/bid/bid2dpd_dpd2bid.h	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/bid/bid2dpd_dpd2bid.h	2018-06-19 01:49:04.000000000 +0000
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2013 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2018 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/bid/bid-dpd.h ./libdecnumber/bid/bid-dpd.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/bid/bid-dpd.h	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/bid/bid-dpd.h	2018-06-19 01:49:04.000000000 +0000
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2013 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2018 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/bid/decimal128.c ./libdecnumber/bid/decimal128.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/bid/decimal128.c	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/bid/decimal128.c	2018-06-19 01:49:04.000000000 +0000
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2013 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2018 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/bid/decimal32.c ./libdecnumber/bid/decimal32.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/bid/decimal32.c	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/bid/decimal32.c	2018-06-19 01:49:04.000000000 +0000
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2013 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2018 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/bid/decimal64.c ./libdecnumber/bid/decimal64.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/bid/decimal64.c	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/bid/decimal64.c	2018-06-19 01:49:04.000000000 +0000
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2013 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2018 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/bid/host-ieee128.c ./libdecnumber/bid/host-ieee128.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/bid/host-ieee128.c	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/bid/host-ieee128.c	2018-06-19 01:49:04.000000000 +0000
@@ -1,5 +1,5 @@
 /* This is a software decimal floating point library.
-   Copyright (C) 2007-2013 Free Software Foundation, Inc.
+   Copyright (C) 2007-2018 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/bid/host-ieee32.c ./libdecnumber/bid/host-ieee32.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/bid/host-ieee32.c	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/bid/host-ieee32.c	2018-06-19 01:49:04.000000000 +0000
@@ -1,5 +1,5 @@
 /* This is a software decimal floating point library.
-   Copyright (C) 2007-2013 Free Software Foundation, Inc.
+   Copyright (C) 2007-2018 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/bid/host-ieee64.c ./libdecnumber/bid/host-ieee64.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/bid/host-ieee64.c	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/bid/host-ieee64.c	2018-06-19 01:49:04.000000000 +0000
@@ -1,5 +1,5 @@
 /* This is a software decimal floating point library.
-   Copyright (C) 2007-2013 Free Software Foundation, Inc.
+   Copyright (C) 2007-2018 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/ChangeLog ./libdecnumber/ChangeLog
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/ChangeLog	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/ChangeLog	2018-06-19 01:49:04.000000000 +0000
@@ -1,3 +1,53 @@
+2018-02-19  Martin Liska  <mliska@suse.cz>
+
+	PR c/81272
+	* decNumber.c (decCompareOp): Do not use bit and
+	for conjunction of predicates.
+
+2018-01-03  Jakub Jelinek  <jakub@redhat.com>
+
+	Update copyright years.
+
+2017-05-29  Sylvestre Ledru  <sylvestre@debian.org>
+
+	* bid/bid2dpd_dpd2bid.c (_bid_to_dpd32): Fix whitespace.
+	(_dpd_to_bid32): Simplify identical code on multiple branches.
+	Fix whitespace.
+	(_bid_to_dpd64, _dpd_to_bid64): Likewise.
+	(_bid_to_dpd128, _dpd_to_bid128): Likewise.
+
+2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
+
+	* decCommon.c (decFloatFromPackedChecked): Fix typo in comment.
+	* decNumber.c (decNumberPower, decMultiplyOp): Likewise.
+
+2017-01-08  Jakub Jelinek  <jakub@redhat.com>
+
+	PR bootstrap/79003
+	* Makefile.in (CFLAGS, CPPFLAGS, LDFLAGS): Remove -fno-lto.
+	(NOLTO_FLAGS): New variable.
+	(ALL_CFLAGS): Use it.
+	* configure.ac (nolto_flags): New ACX_PROG_CC_WARNING_OPTS,
+	check for whether -fno-lto works.
+	* configure: Regenerated.
+
+2017-01-06  Martin Liska  <mliska@suse.cz>
+
+	PR bootstrap/79003
+	* Makefile.in: Add -fno-lto to {C,CPP,LD}FLAGS.
+
+2017-01-01  Jakub Jelinek  <jakub@redhat.com>
+
+	Update copyright years.
+
+2016-11-15  Matthias Klose  <doko@ubuntu.com>
+
+	* configure: Regenerate.
+
+2016-01-04  Jakub Jelinek  <jakub@redhat.com>
+
+	Update copyright years.
+
 2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* configure: Regenerated.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/ChangeLog.jit ./libdecnumber/ChangeLog.jit
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/ChangeLog.jit	1970-01-01 00:00:00.000000000 +0000
+++ ./libdecnumber/ChangeLog.jit	2018-06-19 01:49:04.000000000 +0000
@@ -0,0 +1,22 @@
+2014-09-24  David Malcolm  <dmalcolm@redhat.com>
+
+	* ChangeLog.jit: Add copyright footer.
+
+2013-10-07  David Malcolm  <dmalcolm@redhat.com>
+
+	* Makefile.in: Set PICFLAG from configure script; add it to
+	ALL_CFLAGS.
+	* configure.ac (--enable-host-shared): Set up PICFLAG rather
+	than attempting to append -fPIC to CFLAGS, CXXFLAGS, LDFLAGS.
+	* configure: Regenerate.
+
+2013-10-03  David Malcolm  <dmalcolm@redhat.com>
+
+	* configure.ac: Add --enable-host-shared.
+	* configure: Regenerate.
+
+Copyright (C) 2013-2014 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/configure ./libdecnumber/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/configure	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/configure	2018-06-19 01:49:04.000000000 +0000
@@ -613,6 +613,7 @@ EGREP
 GREP
 CPP
 WERROR
+nolto_flags
 WARN_PEDANTIC
 WARN_CFLAGS
 AUTOHEADER
@@ -3382,6 +3383,64 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+nolto_flags=
+save_CFLAGS="$CFLAGS"
+for real_option in -fno-lto; do
+  # Do the check with the no- prefix removed since gcc silently
+  # accepts any -Wno-* option on purpose
+  case $real_option in
+    -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
+    *) option=$real_option ;;
+  esac
+  as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
+$as_echo_n "checking whether $CC supports $option... " >&6; }
+if { as_var=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then :
+  $as_echo_n "(cached) " >&6
+else
+  CFLAGS="$option"
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  eval "$as_acx_Woption=yes"
+else
+  eval "$as_acx_Woption=no"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+eval ac_res=\$$as_acx_Woption
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+  if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
+  nolto_flags="$nolto_flags${nolto_flags:+ }$real_option"
+fi
+  done
+CFLAGS="$save_CFLAGS"
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
 # Only enable with --enable-werror-always until existing warnings are
 # corrected.
 ac_ext=c
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/configure.ac ./libdecnumber/configure.ac
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/configure.ac	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/configure.ac	2018-06-19 01:49:04.000000000 +0000
@@ -1,7 +1,7 @@
 # configure.ac for libdecnumber			-*- Autoconf -*-
 # Process this file with autoconf to generate a configuration script.
 
-# Copyright (C) 2005-2013 Free Software Foundation, Inc.
+# Copyright (C) 2005-2018 Free Software Foundation, Inc.
 
 # This file is part of GCC.
 
@@ -43,6 +43,8 @@ ACX_PROG_CC_WARNING_OPTS([-W -Wall -Wwri
 			  -Wmissing-format-attribute -Wcast-qual])
 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC([-Wno-long-long])
 
+ACX_PROG_CC_WARNING_OPTS([-fno-lto], [nolto_flags])
+
 # Only enable with --enable-werror-always until existing warnings are
 # corrected.
 ACX_PROG_CC_WARNINGS_ARE_ERRORS([manual])
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/dconfig.h ./libdecnumber/dconfig.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/dconfig.h	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/dconfig.h	2018-06-19 01:49:04.000000000 +0000
@@ -1,5 +1,5 @@
 /* Configure decNumber for either host or target.
-   Copyright (C) 2008-2013 Free Software Foundation, Inc.
+   Copyright (C) 2008-2018 Free Software Foundation, Inc.
 
    This file is part of GCC.
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decBasic.c ./libdecnumber/decBasic.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decBasic.c	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/decBasic.c	2018-06-19 01:49:04.000000000 +0000
@@ -1,5 +1,5 @@
 /* Common base code for the decNumber C Library.
-   Copyright (C) 2007-2013 Free Software Foundation, Inc.
+   Copyright (C) 2007-2018 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decCommon.c ./libdecnumber/decCommon.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decCommon.c	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/decCommon.c	2018-06-19 01:49:04.000000000 +0000
@@ -1,5 +1,5 @@
 /* Common code for fixed-size types in the decNumber C Library.
-   Copyright (C) 2007-2013 Free Software Foundation, Inc.
+   Copyright (C) 2007-2018 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
@@ -713,7 +713,7 @@ decFloat * decFloatFromPacked(decFloat *
 /*  returns df, which will be canonical or NULL if any of the	      */
 /*    requirements are not met (if this case df is unchanged); that   */
 /*    is, the input data must be as returned by decFloatToPacked,     */
-/*    except that all six sign codes are acccepted.		      */
+/*    except that all six sign codes are accepted.		      */
 /*								      */
 /* No status will be set.					      */
 /* ------------------------------------------------------------------ */
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decContext.c ./libdecnumber/decContext.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decContext.c	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/decContext.c	2018-06-19 01:49:04.000000000 +0000
@@ -1,5 +1,5 @@
 /* Decimal context module for the decNumber C Library.
-   Copyright (C) 2005-2013 Free Software Foundation, Inc.
+   Copyright (C) 2005-2018 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decContext.h ./libdecnumber/decContext.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decContext.h	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/decContext.h	2018-06-19 01:49:04.000000000 +0000
@@ -1,5 +1,5 @@
 /* Decimal context header module for the decNumber C Library.
-   Copyright (C) 2005-2013 Free Software Foundation, Inc.
+   Copyright (C) 2005-2018 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decDouble.c ./libdecnumber/decDouble.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decDouble.c	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/decDouble.c	2018-06-19 01:49:04.000000000 +0000
@@ -1,5 +1,5 @@
 /* decDouble module for the decNumber C Library.
-   Copyright (C) 2007-2013 Free Software Foundation, Inc.
+   Copyright (C) 2007-2018 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decDouble.h ./libdecnumber/decDouble.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decDouble.h	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/decDouble.h	2018-06-19 01:49:04.000000000 +0000
@@ -1,5 +1,5 @@
 /* decDouble module header for the decNumber C Library.
-   Copyright (C) 2007-2013 Free Software Foundation, Inc.
+   Copyright (C) 2007-2018 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decDPD.h ./libdecnumber/decDPD.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decDPD.h	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/decDPD.h	2018-06-19 01:49:04.000000000 +0000
@@ -1,5 +1,5 @@
 /* Conversion lookup tables for the decNumber C Library.
-   Copyright (C) 2007-2013 Free Software Foundation, Inc.
+   Copyright (C) 2007-2018 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decExcept.c ./libdecnumber/decExcept.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decExcept.c	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/decExcept.c	2018-06-19 01:49:04.000000000 +0000
@@ -1,5 +1,5 @@
 /* Temporary library support for decimal floating point.
-   Copyright (C) 2005-2013 Free Software Foundation, Inc.
+   Copyright (C) 2005-2018 Free Software Foundation, Inc.
 
    This file is part of GCC.
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decExcept.h ./libdecnumber/decExcept.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decExcept.h	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/decExcept.h	2018-06-19 01:49:04.000000000 +0000
@@ -1,5 +1,5 @@
 /* Temporary library support for decimal floating point.
-   Copyright (C) 2006-2013 Free Software Foundation, Inc.
+   Copyright (C) 2006-2018 Free Software Foundation, Inc.
 
    This file is part of GCC.
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decLibrary.c ./libdecnumber/decLibrary.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decLibrary.c	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/decLibrary.c	2018-06-19 01:49:04.000000000 +0000
@@ -1,5 +1,5 @@
 /* Temporary library support for decimal floating point.
-   Copyright (C) 2005-2013 Free Software Foundation, Inc.
+   Copyright (C) 2005-2018 Free Software Foundation, Inc.
 
    This file is part of GCC.
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decNumber.c ./libdecnumber/decNumber.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decNumber.c	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/decNumber.c	2018-06-19 01:49:04.000000000 +0000
@@ -1,5 +1,5 @@
 /* Decimal number arithmetic module for the decNumber C Library.
-   Copyright (C) 2005-2013 Free Software Foundation, Inc.
+   Copyright (C) 2005-2018 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
@@ -2171,7 +2171,7 @@ decNumber * decNumberPower(decNumber *re
       /* if a negative power the constant 1 is needed, and if not subset */
       /* invert the lhs now rather than inverting the result later */
       if (decNumberIsNegative(rhs)) {	/* was a **-n [hence digits>0] */
-	decNumber *inv=invbuff; 	/* asssume use fixed buffer */
+	decNumber *inv=invbuff; 	/* assume use fixed buffer */
 	decNumberCopy(&dnOne, dac);	/* dnOne=1;  [needed now or later] */
 	#if DECSUBSET
 	if (set->extended) {		/* need to calculate 1/lhs */
@@ -5197,7 +5197,7 @@ static decNumber * decMultiplyOp(decNumb
 /*    exp(-x) where x can be the tiniest number (Ntiny).	      */
 /*								      */
 /* 2. Normalizing x to be <=0.1 (instead of <=1) reduces loop	      */
-/*    iterations by appoximately a third with additional (although    */
+/*    iterations by approximately a third with additional (although    */
 /*    diminishing) returns as the range is reduced to even smaller    */
 /*    fractions.  However, h (the power of 10 used to correct the     */
 /*    result at the end, see below) must be kept <=8 as otherwise     */
@@ -6029,11 +6029,11 @@ decNumber * decCompareOp(decNumber *res,
 
     /* If total ordering then handle differing signs 'up front' */
     if (op==COMPTOTAL) {		/* total ordering */
-      if (decNumberIsNegative(lhs) & !decNumberIsNegative(rhs)) {
+      if (decNumberIsNegative(lhs) && !decNumberIsNegative(rhs)) {
 	result=-1;
 	break;
 	}
-      if (!decNumberIsNegative(lhs) & decNumberIsNegative(rhs)) {
+      if (!decNumberIsNegative(lhs) && decNumberIsNegative(rhs)) {
 	result=+1;
 	break;
 	}
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decNumber.h ./libdecnumber/decNumber.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decNumber.h	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/decNumber.h	2018-06-19 01:49:04.000000000 +0000
@@ -1,5 +1,5 @@
 /* Decimal number arithmetic module header for the decNumber C Library.
-   Copyright (C) 2005-2013 Free Software Foundation, Inc.
+   Copyright (C) 2005-2018 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decNumberLocal.h ./libdecnumber/decNumberLocal.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decNumberLocal.h	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/decNumberLocal.h	2018-06-19 01:49:04.000000000 +0000
@@ -1,5 +1,5 @@
 /* Local definitions for the decNumber C Library.
-   Copyright (C) 2007-2013 Free Software Foundation, Inc.
+   Copyright (C) 2007-2018 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decPacked.c ./libdecnumber/decPacked.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decPacked.c	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/decPacked.c	2018-06-19 01:49:04.000000000 +0000
@@ -1,5 +1,5 @@
 /* Packed decimal conversion module for the decNumber C Library.
-   Copyright (C) 2007-2013 Free Software Foundation, Inc.
+   Copyright (C) 2007-2018 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decPacked.h ./libdecnumber/decPacked.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decPacked.h	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/decPacked.h	2018-06-19 01:49:04.000000000 +0000
@@ -1,5 +1,5 @@
 /* Packed decimal conversion module header for the decNumber C Library.
-   Copyright (C) 2007-2013 Free Software Foundation, Inc.
+   Copyright (C) 2007-2018 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decQuad.c ./libdecnumber/decQuad.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decQuad.c	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/decQuad.c	2018-06-19 01:49:04.000000000 +0000
@@ -1,5 +1,5 @@
 /* decQuad module for the decNumber C Library.
-   Copyright (C) 2007-2013 Free Software Foundation, Inc.
+   Copyright (C) 2007-2018 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decQuad.h ./libdecnumber/decQuad.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decQuad.h	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/decQuad.h	2018-06-19 01:49:04.000000000 +0000
@@ -1,5 +1,5 @@
 /* decQuad module header for the decNumber C Library.
-   Copyright (C) 2007-2013 Free Software Foundation, Inc.
+   Copyright (C) 2007-2018 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decRound.c ./libdecnumber/decRound.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decRound.c	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/decRound.c	2018-06-19 01:49:04.000000000 +0000
@@ -1,6 +1,6 @@
 /* Internal testing support for rounding for decimal float.
 
-   Copyright (C) 2005-2013 Free Software Foundation, Inc.
+   Copyright (C) 2005-2018 Free Software Foundation, Inc.
 
    This file is part of GCC.
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decRound.h ./libdecnumber/decRound.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decRound.h	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/decRound.h	2018-06-19 01:49:04.000000000 +0000
@@ -1,6 +1,6 @@
 /* Internal testing support for rounding for decimal float.
 
-   Copyright (C) 2006-2013 Free Software Foundation, Inc.
+   Copyright (C) 2006-2018 Free Software Foundation, Inc.
 
    This file is part of GCC.
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decSingle.c ./libdecnumber/decSingle.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decSingle.c	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/decSingle.c	2018-06-19 01:49:04.000000000 +0000
@@ -1,5 +1,5 @@
 /* decSingle module for the decNumber C Library.
-   Copyright (C) 2007-2013 Free Software Foundation, Inc.
+   Copyright (C) 2007-2018 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decSingle.h ./libdecnumber/decSingle.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/decSingle.h	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/decSingle.h	2018-06-19 01:49:04.000000000 +0000
@@ -1,5 +1,5 @@
 /* decSingle module header for the decNumber C Library.
-   Copyright (C) 2005-2013 Free Software Foundation, Inc.
+   Copyright (C) 2005-2018 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/dpd/decimal128.c ./libdecnumber/dpd/decimal128.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/dpd/decimal128.c	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/dpd/decimal128.c	2018-06-19 01:49:04.000000000 +0000
@@ -1,5 +1,5 @@
 /* Decimal 128-bit format module for the decNumber C Library.
-   Copyright (C) 2005-2013 Free Software Foundation, Inc.
+   Copyright (C) 2005-2018 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/dpd/decimal128.h ./libdecnumber/dpd/decimal128.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/dpd/decimal128.h	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/dpd/decimal128.h	2018-06-19 01:49:04.000000000 +0000
@@ -1,5 +1,5 @@
 /* Decimal 128-bit format module header for the decNumber C Library.
-   Copyright (C) 2005-2013 Free Software Foundation, Inc.
+   Copyright (C) 2005-2018 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/dpd/decimal128Local.h ./libdecnumber/dpd/decimal128Local.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/dpd/decimal128Local.h	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/dpd/decimal128Local.h	2018-06-19 01:49:04.000000000 +0000
@@ -1,5 +1,5 @@
 /* Local definitions for use with the decNumber C Library.
-   Copyright (C) 2007-2013 Free Software Foundation, Inc.
+   Copyright (C) 2007-2018 Free Software Foundation, Inc.
 
    This file is part of GCC.
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/dpd/decimal32.c ./libdecnumber/dpd/decimal32.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/dpd/decimal32.c	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/dpd/decimal32.c	2018-06-19 01:49:04.000000000 +0000
@@ -1,5 +1,5 @@
 /* Decimal 32-bit format module for the decNumber C Library.
-   Copyright (C) 2005-2013 Free Software Foundation, Inc.
+   Copyright (C) 2005-2018 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/dpd/decimal32.h ./libdecnumber/dpd/decimal32.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/dpd/decimal32.h	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/dpd/decimal32.h	2018-06-19 01:49:04.000000000 +0000
@@ -1,5 +1,5 @@
 /* Decimal 32-bit format module header for the decNumber C Library.
-   Copyright (C) 2005-2013 Free Software Foundation, Inc.
+   Copyright (C) 2005-2018 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/dpd/decimal64.c ./libdecnumber/dpd/decimal64.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/dpd/decimal64.c	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/dpd/decimal64.c	2018-06-19 01:49:04.000000000 +0000
@@ -1,5 +1,5 @@
 /* Decimal 64-bit format module for the decNumber C Library.
-   Copyright (C) 2005-2013 Free Software Foundation, Inc.
+   Copyright (C) 2005-2018 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/dpd/decimal64.h ./libdecnumber/dpd/decimal64.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/dpd/decimal64.h	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/dpd/decimal64.h	2018-06-19 01:49:04.000000000 +0000
@@ -1,5 +1,5 @@
 /* Decimal 64-bit format module header for the decNumber C Library.
-   Copyright (C) 2005-2013 Free Software Foundation, Inc.
+   Copyright (C) 2005-2018 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/Makefile.in ./libdecnumber/Makefile.in
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libdecnumber/Makefile.in	2018-06-12 01:49:21.000000000 +0000
+++ ./libdecnumber/Makefile.in	2018-06-19 01:49:04.000000000 +0000
@@ -1,7 +1,7 @@
 # @configure_input@
 # Makefile for libdecnumber.  Run 'configure' to generate Makefile from Makefile.in
 
-# Copyright (C) 2005-2013 Free Software Foundation, Inc.
+# Copyright (C) 2005-2018 Free Software Foundation, Inc.
 
 #This file is part of GCC.
 
@@ -44,6 +44,7 @@ PICFLAG = @PICFLAG@
 RANLIB = @RANLIB@
 SHELL = @SHELL@
 objext = @OBJEXT@
+NOLTO_FLAGS = @nolto_flags@
 
 datarootdir = @datarootdir@
 datadir = @datadir@
@@ -58,7 +59,8 @@ enable_decimal_float= @enable_decimal_fl
 
 INCLUDES = -I$(srcdir) -I.
 
-ALL_CFLAGS = $(CFLAGS) $(WARN_CFLAGS) $(INCLUDES) $(CPPFLAGS) $(PICFLAG)
+ALL_CFLAGS = $(CFLAGS) $(WARN_CFLAGS) $(NOLTO_FLAGS) $(INCLUDES) $(CPPFLAGS) \
+	     $(PICFLAG)
 
 bid_OBJS = bid2dpd_dpd2bid.$(objext) host-ieee32.$(objext) \
 	host-ieee64.$(objext) host-ieee128.$(objext)
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libiberty/ChangeLog ./libiberty/ChangeLog
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libiberty/ChangeLog	2018-06-12 01:49:21.000000000 +0000
+++ ./libiberty/ChangeLog	2018-06-19 01:49:04.000000000 +0000
@@ -1,3 +1,10 @@
+2018-05-30  Jan Hubicka  <hubicka@ucw.cz>
+
+	* simple-object.c (handle_lto_debug_sections): Add rename parameter.
+	(handle_lto_debug_sections_rename): New function.
+	(handle_lto_debug_sections_norename): New function.
+	(simple_object_copy_lto_debug_sections): Add rename parameter.
+
 2018-05-28  Bernd Edlinger  <bernd.edlinger@hotmail.de>
 
 	* splay-tree.c (splay_tree_compare_strings,
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libiberty/simple-object.c ./libiberty/simple-object.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/libiberty/simple-object.c	2018-06-12 01:49:21.000000000 +0000
+++ ./libiberty/simple-object.c	2018-06-19 01:49:04.000000000 +0000
@@ -251,12 +251,15 @@ simple_object_find_section (simple_objec
 }
 
 /* Callback to identify and rename LTO debug sections by name.
-   Returns 1 if NAME is a LTO debug section, 0 if not.  */
+   Returns non-NULL if NAME is a LTO debug section, NULL if not.
+   If RENAME is true it will rename LTO debug sections to non-LTO
+   ones.  */
 
 static char *
-handle_lto_debug_sections (const char *name)
+handle_lto_debug_sections (const char *name, int rename)
 {
-  char *newname = XCNEWVEC (char, strlen (name) + 1);
+  char *newname = rename ? XCNEWVEC (char, strlen (name) + 1)
+	  	         : xstrdup (name);
 
   /* ???  So we can't use .gnu.lto_ prefixed sections as the assembler
      complains about bogus section flags.  Which means we need to arrange
@@ -265,22 +268,24 @@ handle_lto_debug_sections (const char *n
   /* Also include corresponding reloc sections.  */
   if (strncmp (name, ".rela", sizeof (".rela") - 1) == 0)
     {
-      strncpy (newname, name, sizeof (".rela") - 1);
+      if (rename)
+        strncpy (newname, name, sizeof (".rela") - 1);
       name += sizeof (".rela") - 1;
     }
   else if (strncmp (name, ".rel", sizeof (".rel") - 1) == 0)
     {
-      strncpy (newname, name, sizeof (".rel") - 1);
+      if (rename)
+        strncpy (newname, name, sizeof (".rel") - 1);
       name += sizeof (".rel") - 1;
     }
   /* ???  For now this handles both .gnu.lto_ and .gnu.debuglto_ prefixed
      sections.  */
   /* Copy LTO debug sections and rename them to their non-LTO name.  */
   if (strncmp (name, ".gnu.debuglto_", sizeof (".gnu.debuglto_") - 1) == 0)
-    return strcat (newname, name + sizeof (".gnu.debuglto_") - 1);
+    return rename ? strcat (newname, name + sizeof (".gnu.debuglto_") - 1) : newname;
   else if (strncmp (name, ".gnu.lto_.debug_",
 		    sizeof (".gnu.lto_.debug_") -1) == 0)
-    return strcat (newname, name + sizeof (".gnu.lto_") - 1);
+    return rename ? strcat (newname, name + sizeof (".gnu.lto_") - 1) : newname;
   /* Copy over .note.GNU-stack section under the same name if present.  */
   else if (strcmp (name, ".note.GNU-stack") == 0)
     return strcpy (newname, name);
@@ -289,14 +294,31 @@ handle_lto_debug_sections (const char *n
      COMDAT sections in objects produced by GCC.  */
   else if (strcmp (name, ".comment") == 0)
     return strcpy (newname, name);
+  free (newname);
   return NULL;
 }
 
+/* Wrapper for handle_lto_debug_sections.  */
+
+static char *
+handle_lto_debug_sections_rename (const char *name)
+{
+  return handle_lto_debug_sections (name, 1);
+}
+
+/* Wrapper for handle_lto_debug_sections.  */
+
+static char *
+handle_lto_debug_sections_norename (const char *name)
+{
+  return handle_lto_debug_sections (name, 0);
+}
+
 /* Copy LTO debug sections.  */
 
 const char *
 simple_object_copy_lto_debug_sections (simple_object_read *sobj,
-				       const char *dest, int *err)
+				       const char *dest, int *err, int rename)
 {
   const char *errmsg;
   simple_object_write *dest_sobj;
@@ -317,9 +339,10 @@ simple_object_copy_lto_debug_sections (s
   if (! dest_sobj)
     return errmsg;
 
-  errmsg = sobj->functions->copy_lto_debug_sections (sobj, dest_sobj,
-						     handle_lto_debug_sections,
-						     err);
+  errmsg = sobj->functions->copy_lto_debug_sections
+	 	 (sobj, dest_sobj,
+		  rename ? handle_lto_debug_sections_rename
+			 : handle_lto_debug_sections_norename,  err);
   if (errmsg)
     {
       simple_object_release_write (dest_sobj);
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/Makefile.def ./Makefile.def
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/Makefile.def	2018-06-12 01:49:09.000000000 +0000
+++ ./Makefile.def	2018-06-19 01:49:00.000000000 +0000
@@ -593,7 +593,8 @@ languages = { language=c++;	gcc-check-ta
 				lib-check-target=check-target-libgomp-c++; };
 languages = { language=fortran;	gcc-check-target=check-fortran;
 				lib-check-target=check-target-libquadmath;
-				lib-check-target=check-target-libgfortran; };
+				lib-check-target=check-target-libgfortran;
+				lib-check-target=check-target-libgomp-fortran; };
 languages = { language=ada;	gcc-check-target=check-ada;
 				lib-check-target=check-target-libada; };
 languages = { language=objc;	gcc-check-target=check-objc;
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/Makefile.in ./Makefile.in
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/Makefile.in	2018-06-12 01:49:23.000000000 +0000
+++ ./Makefile.in	2018-06-19 01:49:05.000000000 +0000
@@ -46908,6 +46908,10 @@ maintainer-clean-target-libatomic: 
 check-target-libgomp-c++:
 	$(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
 
+.PHONY: check-target-libgomp-fortran
+check-target-libgomp-fortran:
+	$(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) fortran.exp" check-target-libgomp
+
 @endif target-libgomp
 
 @if target-libitm
@@ -46959,7 +46963,7 @@ check-gcc-fortran:
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS) \
 	(cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
-check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
+check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran check-target-libgomp-fortran
 
 .PHONY: check-gcc-ada check-ada
 check-gcc-ada:
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/Makefile.tpl ./Makefile.tpl
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/Makefile.tpl	2018-06-12 01:49:09.000000000 +0000
+++ ./Makefile.tpl	2018-06-19 01:49:00.000000000 +0000
@@ -1460,6 +1460,10 @@ ENDIF raw_cxx +]
 check-target-libgomp-c++:
 	$(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
 
+.PHONY: check-target-libgomp-fortran
+check-target-libgomp-fortran:
+	$(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) fortran.exp" check-target-libgomp
+
 @endif target-libgomp
 
 @if target-libitm
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/md5.sum ./md5.sum
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/md5.sum	2018-06-12 01:53:51.000000000 +0000
+++ ./md5.sum	2018-06-19 01:53:40.000000000 +0000
@@ -1,8 +1,8 @@
 2d02487a3e195372e7d3ae5533fa9b71  bfd/cpu-pru.c
 d97c22f1847bc426423f25d424963e22  bfd/tekhex.c
-183a3cb158a7a2c866e75a25f4bc8511  bfd/reloc.c
+78ce78fa28cf232414d83246ab90d588  bfd/reloc.c
 ee3114f8ce9affe325750d74287dede8  bfd/dwarf2.c
-1b085c448bf71e7acff6be97621f6cd2  bfd/libbfd.h
+2a92d37bafdcaf27a4851f1bc83ab267  bfd/libbfd.h
 f1e932eb1c19f2763afafa12ca09e210  bfd/cpu-nds32.c
 69dc19cbef8cc9c9e991c11695a26e5b  bfd/vaxnetbsd.c
 2e8db6d8c7852c6004bdb5766d26511f  bfd/elf64-ppc.c
@@ -36,14 +36,14 @@ f1d3d3b2e2ce3d9c8c6f9ceab9502966  bfd/el
 aca9b8a230aca9041fb5c04b5d2a65a4  bfd/wasm-module.c
 306baaf0ea55df8e2288fc88ab166b7b  bfd/elf64-mips.c
 32c1c2c183f56bd2b5af2fb9c3ca94af  bfd/cpu-m9s12x.c
-f630471adafd2143f42ca1fa2e6b9f81  bfd/version.h
+1fdcbec1d7dc8841d2fc0caa767023d9  bfd/version.h
 25cd4c1378787d5bb9fa74b13a55098a  bfd/cpu-tilegx.c
 cfcd2011881a504922bee6bf40ce6898  bfd/coff-mcore.c
 836b9de6d0ea1914f82c0ec0fa0341ef  bfd/cpu-avr.c
 aa2713fe4d188e32746d64e0387de034  bfd/aout64.c
 dbaa0461d728402ea113c5fee819a93e  bfd/elf32-pru.c
 f5ad372cf681a57b9a43f6975c05e33c  bfd/ChangeLog-2012
-f4fee9590e6f7f517086c63e3517f53c  bfd/elf.c
+441f5c50be47ac4653ad30b37983f8dd  bfd/elf.c
 4914596b65fdf29a860f30296e7ce276  bfd/hppabsd-core.c
 81932bfefb2074ebe74b129e7fae4164  bfd/elf32-xgate.c
 a234904ba807a47151853822151464d3  bfd/elf32-nds32.h
@@ -60,7 +60,7 @@ bf291948e17b61b2c2dc2513dda2a95a  bfd/el
 3b7896273f52ee7f290ad9d51d246647  bfd/libaout.h
 1874b2f447ec006abacb463ef451ce4f  bfd/elfxx-aarch64.h
 d4f19e72e13657f50aa7d6429711e53d  bfd/elf-vxworks.c
-f8a6a2b11886c5dc7dd14907db21a9df  bfd/elfxx-mips.c
+124ed33d12e8f5be8ec1b5ad738b7245  bfd/elfxx-mips.c
 931f45afff62aa04862a6710951fad91  bfd/archive.c
 c65250570f63c8c3a91088f8fa23f340  bfd/aix5ppc-core.c
 f08f49553df4594e5541c9e1e8c5aa50  bfd/pei-ppc.c
@@ -101,7 +101,7 @@ c54be8bed640c8d3e2ce1b687cb15e09  bfd/bf
 c942e6f102dd94d5b000c363e3a37197  bfd/libxcoff.h
 a77895125fc1ed1536526573de0f789c  bfd/i386bsd.c
 d094bca2112920d301f0a6210583e790  bfd/hpux-core.c
-d843ba1bc30563118cb38069697a547d  bfd/elf-bfd.h
+82d5951169309141526df47cc71cc15e  bfd/elf-bfd.h
 7442f1ee271a7c232cde2446263e5439  bfd/mach-o-target.c
 c55e1a6246ca842951f9dbe45502ca6b  bfd/elf-strtab.c
 d853183db82f804f8cd45fbe37edbac6  bfd/peXXigen.c
@@ -139,7 +139,7 @@ fd2f709ee318221e7dea29c072e9b7b4  bfd/cp
 f5c52bcaa7aee0b94d3235a445978953  bfd/configure.host
 01cc63fbebf1a8868f057dc2eb38b909  bfd/cpu-aarch64.c
 19c63b604f6f33790f92e2b86cff1b46  bfd/elf32-ft32.c
-b58eeca983308d202ae4953aca0c5796  bfd/bfd-in2.h
+a7e9133f111b24a15b05b09e56535718  bfd/bfd-in2.h
 12e16cab684c810195a06be8ac3baa73  bfd/cpu-nfp.c
 57d5dcb50a5921ea4198d2d218f5e88b  bfd/cpu-k1om.c
 6f46335aa43d4e6293804a34ad7ab22a  bfd/cpu-lm32.c
@@ -187,7 +187,7 @@ c96f4f847eebbcf201664452af068175  bfd/cp
 50af93890fa9dfa6fcc3f7e6ea22d63e  bfd/doc/libbfd.texi
 37ba364fb34b96a1dbb55b0f6f612432  bfd/doc/init.texi
 930173859dab35d4c1c03efd5ddb18e3  bfd/doc/format.texi
-a7846a4077766f787fc98d15d073794b  bfd/doc/reloc.texi
+1b305e06fcdb9168da513dd4d9d7f161  bfd/doc/reloc.texi
 072910d553f79906db69fa7c0e956bba  bfd/doc/fdl.texi
 884c457392e56f773fabfa63ccc2d171  bfd/doc/ChangeLog-0415
 eaf95d7724a03dff103cbac278868d35  bfd/doc/section.texi
@@ -199,7 +199,7 @@ f32b11f47b666164ab1aa78183a50b1e  bfd/do
 740f72aaefe8ba2b044e3b5683de7184  bfd/doc/bfdver.texi
 3d524b7e195fb38eb168045e4a2d18aa  bfd/doc/coffcode.texi
 0f03c268d81adcd8078ba07561413b06  bfd/doc/makefile.vms
-f72e89e4fc7a7ee20e6cbf3fb0fb32b8  bfd/doc/bfd.info
+4b0e8ad19b902950353f1f45800c8dd9  bfd/doc/bfd.info
 0099d1d7b0f7fbea1244c30268db03b7  bfd/doc/bfdt.texi
 e67d8b07516154c4ddbee2e3bab3d75e  bfd/doc/doc.str
 06c6f483903efef1756b3c24fe4507ad  bfd/doc/bfd.texinfo
@@ -233,7 +233,7 @@ bf3cb55e93153dcbfe9e5ef624cd1e56  bfd/os
 b99584d00ae5ac66c772fa6887fe83c2  bfd/pe-mcore.c
 2def21880d37554458b14a90bf893d50  bfd/cpu-mmix.c
 fb4054fc1ce2a7b3c92e9ca59a710f64  bfd/coff-x86_64.c
-211febf99b684446563d56237d6beba7  bfd/bfdio.c
+d7ffede7b6bbcce350a4ca58a4a48f02  bfd/bfdio.c
 621977267970a7fce5d9a9682265206b  bfd/cpu-s390.c
 4f96af31851ac36540ff2db83a826c23  bfd/pef.h
 7961c65c046471e22f47312dd7a28ce5  bfd/elf32-tic6x.h
@@ -312,7 +312,7 @@ bcf99df76a4837a1b2d0dfea57bbd6db  bfd/Ch
 8360bc96986fd1a2ac4f09e61a75816c  bfd/elf32-m68hc12.c
 e088ef13699b02e6ef46c0da3d0897ae  bfd/elf32-m32c.c
 8f7b5397a7bb5d502a9997e19d244cea  bfd/ChangeLog-2014
-d08d3204c63369b4dd33e2163793e150  bfd/elflink.c
+efdf6f35f4c687b317ffae8a7e9767fa  bfd/elflink.c
 e025d7200a6e1e3f6b987ceade262c38  bfd/elf32-iq2000.c
 a939bdd818ca9a692a3ab42a01f0cfde  bfd/arc-plt.def
 5d517b990dac5997d0e3c8ae8be119c1  bfd/elf-hppa.h
@@ -392,7 +392,7 @@ a98b6da27a6fa8c18cd48ad2762cc1ad  bfd/el
 8d4d744508f1954a1e84207976a9ed1f  bfd/elfxx-ia64.h
 a32a11a90e680d848c563a7664389067  bfd/elf32-or1k.c
 2074a9dac470cf61aaaecc2f61f057b8  bfd/targets.c
-4115ce0db824b08f6a1fa01ade8afe10  bfd/ChangeLog
+0a104eeb0a316e21615ace8d87d109a5  bfd/ChangeLog
 76a54b57696d4946a2fc04746941130b  bfd/section.c
 78ae11600c2227f680fd167903e41c28  bfd/elf-s390-common.c
 4cd053ce6a3075cc43ac05bbf8fc60cb  bfd/elf32-lm32.c
@@ -403,7 +403,7 @@ b2109f55a88b99c0c3272bfa371b265d  bfd/el
 f74026ca420c599f42bfa049aef922c3  bfd/pei-arm-wince.c
 d73efe2e4fd9abd0f48d456bc54e1952  bfd/arc-got.h
 630d12dac59611798222e200a7bfc6c7  bfd/coff-tic54x.c
-d0632d6c54d4bdd814ca042743e45e5c  bfd/mach-o-x86-64.c
+a6fb6d629e584824dcd85d412275f406  bfd/mach-o-x86-64.c
 257d23d57e8de714740ccb9520d3fb03  bfd/vms-alpha.c
 958e93c592117c38cf1e1a099a751e3a  bfd/aout-tic30.c
 e9698c9141c0aee24395d33862a533b4  bfd/elf32-hppa.c
@@ -514,10 +514,10 @@ bcb18f04c18e61cb8a95f4366973fedf  bfd/ao
 75749381081d38d5ea92c4685d331337  bfd/elf32-sh-relocs.h
 643e1356e65257b19e8f3d237de531db  bfd/elfxx-riscv.c
 9ecb262d9ec6c688e145d9037d4e4df8  bfd/mach-o-aarch64.c
-d2a578c660599d8cc11146e60fc07426  ChangeLog
+462d1651f4aa6fbb28d823910bd5e360  ChangeLog
 500b9244caa7a7ab23ece1db37efa76d  compile
 042203b305962ba9a8f8474ef80edeee  config/enable.m4
-4e07b66e4e4b3c6e35ba2a752e1cd95d  config/acx.m4
+2ea0edfde0ce5ce69b49317a5650f048  config/acx.m4
 babb6167c05386834412652e8b27239e  config/bootstrap-debug-lib.mk
 15b8d5adf53ad5ec75f055b193a6b1c2  config/extensions.m4
 76d638a67d840715b2de89afee8ef49a  config/mh-ppc-aix
@@ -537,10 +537,10 @@ b17ad59a69316040fae6c3b09187bcbc  config
 db111161c56fa9d53a03abfb188ad1d0  config/lcmessage.m4
 761497fd3445beb86a90919955d5aa20  config/stdint_h.m4
 f466ea6022e6627a2e3d94bb0cc7eeb9  config/bootstrap-time.mk
-e2fb31179c5098c59479b3420b138d44  config/bootstrap-lto.mk
+46d519a53c628afcbdd8f0bf47500a7f  config/bootstrap-lto.mk
 f0d17f3362caa1926e231994168f1e8d  config/bootstrap-asan.mk
 de7f31c1daa932fa37c9415df986d97e  config/dfp.m4
-1b1ab257ba40879d02ba0f059a3bbcf8  config/bootstrap-cet.mk
+696b71cc336927f298a69c5b9321910b  config/bootstrap-cet.mk
 e32906a3177f3b368bcd56f9e86a620c  config/inttypes-pri.m4
 48d5107b991a0cdbe7eb7022b0dfecb2  config/mh-pa-hpux10
 5c6a030699353abe2ff69294a495e4cd  config/bootstrap-O1.mk
@@ -567,7 +567,6 @@ c950e3234da1eb9ad5f29bc1c2d2ae74  config
 120ec56e3aa27739a2945bc1c8a2530a  config/nls.m4
 8e54553a2c063659a749e0ef9e5348e4  config/futex.m4
 7cdde9f19fc614304e49342c660e2d47  config/intdiv0.m4
-d4c12184dc04d16ce8f4e846810b7d43  config/bootstrap-mpx.mk
 49305b421244035f19bdccb38a800d5f  config/unwind_ipinfo.m4
 0fcd4badfe2a2191778bdf5ab94aa40c  config/acinclude.m4
 1999cda4a81e667104bc146b3968eb4d  config/bootstrap-debug-ckovw.mk
@@ -578,16 +577,16 @@ d4c12184dc04d16ce8f4e846810b7d43  config
 8e9893e8dda7f5288879e0a4cc10d3da  config/math.m4
 a6bf9c39c62222092ea6d5d8551c077f  config/ax_check_define.m4
 16956754bb073f43a4e0c8077356a5a7  config/gthr.m4
-a6b9ab5180604ced293bc26e39f08cbd  config/cet.m4
+197020547d9441bc0fed105dd9ad7822  config/cet.m4
 cd7034dccd04e50150b14c597dd545a5  config/mh-pa
 3be755875df9da02eb4b0a9badd414f1  config/bootstrap-debug-big.mk
-f80f3c132c93880561bc1016e1ea180f  config/ChangeLog
+5928c8d1c331987950de5d0fa9e0a79b  config/ChangeLog
 01e70ae9c362268b14876c621e650f3d  config/mt-nios2-elf
 9a194b56c06b616528d1e76306aa78e6  config/bootstrap-debug.mk
 77931c860806547ce9fc56097a731c6f  config/lib-ld.m4
 5cabffc02a90bd9698105b9eef507f11  config/warnings.m4
 625bacc09b9992290d94831bd7506bd0  config/mh-djgpp
-dd28266897efa211a681c66b97d43927  config/bootstrap-ubsan.mk
+065f6478cf9a6fdc999f666517cfb8b4  config/bootstrap-ubsan.mk
 c97b318db8e2775b81a9635ad4ce97e1  config/sjlj.m4
 d31260ea4a04e5fe935a240278d5d02b  config/picflag.m4
 1282ef4331970c26224afd363968e276  config/gettext-sister.m4
@@ -595,7 +594,8 @@ d31260ea4a04e5fe935a240278d5d02b  config
 5e1e75893989d0ae3c0452451cf80280  config/uintmax_t.m4
 a155332d4af74bcf3f4c52b4dbadca34  config/plugins.m4
 29c9c3d57667bc9e6f14d625b2cd5894  config/glibc21.m4
-5241ed32e4a458c787fa154423b5409f  config/bootstrap-lto-noplugin.mk
+33768879cdb11bf946d977ab6632d169  config/bootstrap-lto-noplugin.mk
+dd11d6ddf98d1e2066fa3aef4f8ce966  config/ax_pthread.m4
 d3eafe382a46e6747e3644cf4a55d5cc  config/gc++filt.m4
 f8cc157a22bc4fae23cee0f7da613154  config/isl.m4
 683433c6c1f829d4f0aa007dfa29c880  config/mh-mingw
@@ -613,8 +613,8 @@ bb0adcfc53fa9145313e50dd94d6a12b  config
 cb74b6c8a93f1e46388212f44c60afed  config-ml.in
 040359150cf11493f973a46d8a25b06b  config.rpath
 41443ff6d8e7ed7fda2d4db2c2efd4fd  config.sub
-ed443fe8a25fcc5888813f212786a45b  configure
-28b0f957c30cff4c88006604c795258e  configure.ac
+285d73580a79f4a24a6f568a14c92fc3  configure
+714db63e53f183fd46701572dfb3f292  configure.ac
 59530bdf33659b29e73d4adb9f9f6552  COPYING
 d32239bcb673463ab874e80d47fae504  COPYING3
 6a6a8e020838b23406c81b19c1d46df6  COPYING3.LIB
@@ -691,7 +691,7 @@ c0fe04a0d1b056f6a725b9bf9da5a4f2  gdb/co
 7183e8083ec0ef90017a39b06ad1e5d9  gdb/regset.h
 cc775aa82d35516a3f472e4523ce8318  gdb/event-loop.c
 48d22df016020c329d7e545c3e3dc759  gdb/solist.h
-1796e52d1147a14c0ccda7e8b9786e32  gdb/d-exp.y
+93c396d057eb074c86e86960955b6624  gdb/d-exp.y
 bf58ff8e9cb3b71ea39e048343285497  gdb/ada-varobj.c
 285060cf0aa5250a2e0ed766765071c7  gdb/ser-event.h
 c3c9c81f974b2c1751694c135052d590  gdb/i386-nbsd-nat.c
@@ -798,7 +798,7 @@ fbfdb2d038b70538b4ff2238bbe1c812  gdb/co
 1bba3cf08797144be2860be187a54273  gdb/common/signals-state-save-restore.c
 380f74beed99e4ad14c42dd9c9e82287  gdb/ppc-linux-nat.c
 fc013c828e009a1b9fcef0a67b6b1ac6  gdb/charset-list.h
-60e69a512ad9e0ccf8c4565e4f7a9048  gdb/m2-lang.c
+f192ac98426e1cd06f0f25b4050879fa  gdb/m2-lang.c
 fbac6bdf96d9d720f0f0660a63ef272e  gdb/target-float.h
 94e7ff03b10d18c22b7d3e6c266d9397  gdb/corelow.c
 3f13fde4f1d8ccca155156c18e1c59b6  gdb/ppc-linux-tdep.h
@@ -809,9 +809,9 @@ cbc25577aba1ee853c06e99de5129282  gdb/st
 ce36f03d220e48ed0f862f5b8b61c85a  gdb/mips-nbsd-tdep.c
 f4a41b8305fa66a8a603f95c24c0cd5e  gdb/ppc-ravenscar-thread.h
 a029d376a5e0903d22341c92472413fc  gdb/memrange.h
-5e190aba61b564dbd1c27c230761e8c6  gdb/solib-svr4.c
+dda871a4b6fe609df104926c0bc827c6  gdb/solib-svr4.c
 fd601b5312a3f82c5f513f8788d83e9e  gdb/ChangeLog-2013
-84267961ba5d047f3e03313260bbfc89  gdb/f-exp.c
+85da16dde6d99fc04e0fe0eb589806d9  gdb/f-exp.c
 268ab94ab7b4199798437e7f32690cc2  gdb/remote.h
 a12ad5a8cda76312f8a49c5144bf29a3  gdb/gdb_regex.h
 7541ebf2e3e112cf696c85f8ff1b4968  gdb/defs.h
@@ -865,13 +865,13 @@ d8e9b1a8618a8bdb7c468f1222c3a249  gdb/sp
 e892780b81d7fd7245b1858d8f6057a5  gdb/ia64-libunwind-tdep.c
 c339f12ab621b6827c54b3c99a7f0ed5  gdb/rs6000-aix-tdep.c
 9567ea370567ecd3170d7e7eec038f08  gdb/macrotab.c
-58fe9d380d4383b9832d0db6e20dd480  gdb/rust-lang.h
+dd1aed8bedb03e361b8fd9884644cd2e  gdb/rust-lang.h
 632d47daebb2facb1dae3208b44ce646  gdb/agent.c
 526536cf30b137dcebfaaa604fa55615  gdb/ChangeLog-1994
-0ff186f36bd8c7eac814dff143fb2ed9  gdb/d-lang.c
+73bf38e1814705929f8ae634187e27d6  gdb/d-lang.c
 574482b1424131fd88eed390a815f3cb  gdb/linux-fork.c
-79f6331ace10dcbf579106e9fbbe1ffe  gdb/m2-exp.y
-6974dd11cefee0e2f063d3a893827df9  gdb/f-lang.h
+0209e0d89626754a049ddde77509774d  gdb/m2-exp.y
+4ffeac77c22ae4af4651309024938783  gdb/f-lang.h
 30727866716057a9df4b60f4c9d7f7a9  gdb/hppa-obsd-nat.c
 5411073e8c80e7a4c2d2cd7a710f0818  gdb/dwarf-index-common.h
 174457b56fc072a2b1819b99219ac9a2  gdb/amd64-nbsd-tdep.c
@@ -885,7 +885,7 @@ adfcfea54e5c452823da53fbf5a1bc53  gdb/li
 53cf114ff5719cd047da9d38dd318599  gdb/ChangeLog-2012
 42b9f7c51223e595f66c2210064be682  gdb/ChangeLog-1990
 ec2098fb8047960772c2125959e3ea46  gdb/nto-procfs.c
-ec547d0735f5e4b3e33ee030c69d85fc  gdb/d-exp.c
+a203d7ae5a671160663676475b44ae9f  gdb/d-exp.c
 12b28ec402480e87d6e085913c465ec8  gdb/infcall.c
 c055385fcf4861d598d7ea4360591f46  gdb/remote-fileio.h
 882baa51f11690d806170f6c4a8ff507  gdb/ft32-tdep.c
@@ -905,7 +905,7 @@ bb7e87f53f054ca7f9b6925c5231db33  gdb/py
 d7e75de86d964c5d969ce24daf16db4c  gdb/python/py-frame.c
 cd97570e0bc03201d1c30994222f9495  gdb/python/py-record-full.c
 06f1b0cb4daacbbd09a57abfdc5fdd4e  gdb/python/python-config.py
-584a076f5f716bc8c393de03c23ddb16  gdb/python/py-value.c
+8d636e7ae733dcc3e58cd19ac503d6a6  gdb/python/py-value.c
 910ffbfdfde97519864f1cb1f7cd8a0f  gdb/python/py-unwind.c
 77191a9d2d4ab1bdc49a04951ac0254b  gdb/python/py-instruction.h
 f79f94ce42c1aace9744c02f8ed3cb2e  gdb/python/py-type.c
@@ -990,7 +990,7 @@ cf0a31b11efed9f66a51b80cb8c4af16  gdb/sp
 dd074b437ee7fa012b5df1a455b544a0  gdb/symfile.c
 a6fdadda1e880a5744d37ee3e8765167  gdb/auxv.c
 94557969c462a70bace8c67f7a0d293b  gdb/bfin-linux-tdep.c
-250e2d93550b4474d03b9d36985d0c42  gdb/m2-lang.h
+f345a6b49d493f9d7b0d366dfe988019  gdb/m2-lang.h
 dcc59b942411f1a0d68083ca39f2093b  gdb/s390-linux-tdep.c
 b023546e791400655ec7dc32eb298b39  gdb/auto-load.c
 96987b651bfe93b977196f132f22937a  gdb/interps.h
@@ -1006,6 +1006,7 @@ f285104c4ba8f42babd6656165592492  gdb/xt
 36874ab186774797325817084ab14e64  gdb/go32-nat.c
 378f04611dca3381461172b4d191d239  gdb/inline-frame.h
 a0f78e3e73b18275265c02449bb83fb0  gdb/nat/fork-inferior.h
+f6cb13432ea2fe321f104d3a5c1d7a55  gdb/nat/aarch64-sve-linux-sigcontext.h
 92b379bf068eb232c70a358437f48db9  gdb/nat/linux-ptrace.h
 87c01244d65a35214ab93eabbf983aac  gdb/nat/linux-waitpid.h
 f5fc20d161f372368d259917b52a3e8e  gdb/nat/aarch64-linux-hw-point.c
@@ -1033,7 +1034,7 @@ ff296b07d3d2c0bbacf23f11bb7e07c3  gdb/na
 3ea671b53bb90c95196e70544ff052e9  gdb/nat/amd64-linux-siginfo.c
 8755152bb1622c226fbf0ee74587d648  gdb/nat/x86-linux.h
 190be645c355a50685f52717588bbb4d  gdb/nat/aarch64-linux.h
-49f75db575e42132c5417fb4fba575e6  gdb/nat/aarch64-sve-linux-ptrace.c
+918d11c8100cd2d72278e10b6d5abe25  gdb/nat/aarch64-sve-linux-ptrace.c
 adae21661830cc755ff5274534e762d4  gdb/nat/glibc_thread_db.h
 e6c61da93874efdf28b3d2713e1320a6  gdb/nat/linux-personality.h
 f6b7bba5f00c8ea0423c37c4e271190b  gdb/nat/x86-dregs.c
@@ -1042,7 +1043,7 @@ ac5c6771217a2ee5f775ae4ee71b50a3  gdb/na
 98720799e8591a6be7a7f5f6c996428d  gdb/nat/gdb_ptrace.h
 a325b6225cc9601da6da9772ea7d99d4  gdb/nat/aarch64-linux-hw-point.h
 74aa9b3792f48632d3a76d27468b7896  gdb/nat/fork-inferior.c
-1a2691d63a38824b003ceea8dbe7614e  gdb/nat/aarch64-sve-linux-ptrace.h
+84aed820626270746846b8cd63191bef  gdb/nat/aarch64-sve-linux-ptrace.h
 c12297b6e66ea50afbba0285d5da69f0  gdb/nat/linux-personality.c
 670f78d2abd3157b11fe7a425a596082  gdb/nat/linux-waitpid.c
 859e6f320dd488dd634e4bd47eb3e378  gdb/go-valprint.c
@@ -1089,7 +1090,7 @@ a7fe565f6eaaae530ad4c7a7d1ff4471  gdb/cl
 3980e2425991e7e3527ea54662e16c35  gdb/cli/cli-decode.c
 83a39dca488197b92ac550d2ac1b2b3d  gdb/cli/cli-cmds.c
 846046a4091c747ff77158b8f5a95919  gdb/cli/cli-utils.h
-d9374359bf54a458534bd7d2511675ef  gdb/cli/cli-script.c
+f6995549d98759dbdca534083b1def4e  gdb/cli/cli-script.c
 3b6925bc7211285b555a52c091cc327f  gdb/cli/cli-logging.c
 92c111490a2663e584fcbcdce0908968  gdb/cli/cli-decode.h
 efa231ca912122cb0b76afa7b734ea1c  gdb/cli/cli-utils.c
@@ -1100,10 +1101,10 @@ d94dca23b32a1fc28973a7da62222bc4  gdb/bs
 9017e7c4b448430dcc21f4cdd1a12934  gdb/inferior.h
 1ffcc2b6ccb4acd07d44c5510a387339  gdb/reggroups.h
 0995979778608fe7203391a85d13e743  gdb/copying.awk
-7eefee7549ad3c1c7a49a8cf63987786  gdb/valprint.h
+1e02a0ddd71942e7076d64c31a258813  gdb/valprint.h
 fe8ac21d36511d7b267336c46462bc86  gdb/amd64-fbsd-nat.c
 98000ddcc1000738258f5e0bd5376229  gdb/ravenscar-thread.h
-6cf1073395eae7157381add280762de3  gdb/objfiles.h
+4ce24f9f8e8daf559d7133945ba0606f  gdb/objfiles.h
 6ce600c6dd507e8e286a17d9edabe286  gdb/reply_mig_hack.awk
 46c1dba133169e5c7356f950896548a4  gdb/nto-tdep.h
 24096aca3294cab3717506c2c69a7272  gdb/msg_reply.defs
@@ -1129,7 +1130,7 @@ e9f406a8dbbe1808b05ca7d71d3996fc  gdb/co
 5d797ae2c5820e78219e514348f5f4f5  gdb/fbsd-nat.h
 451cc8c9f0cce50e55b229d7980c410f  gdb/inferior.c
 bc61cf5cb75086c360f993326940d08f  gdb/mips-tdep.c
-d737b3d10e2527fd38240d49fd0062e9  gdb/solib-dsbt.c
+209ebf519095c34cafb76a963d12acb2  gdb/solib-dsbt.c
 2e2b30fed35496792631419c7092e37e  gdb/minsyms.c
 e9e73ead1f67643a58e783be0b57284d  gdb/i386-darwin-tdep.c
 f3019aefd2e49b91c6b886086e54eef1  gdb/m68k-bsd-nat.c
@@ -1138,7 +1139,7 @@ e8c3e1e3c8f420ff45769fd0fa0c320d  gdb/li
 8774efc02cd045f44c33b231d5eed322  gdb/event-top.c
 241edaafd0b3e9df34721d907da8d01f  gdb/mem-break.c
 78a5dd6d410199fa1bf9af171e0f85f0  gdb/charset.c
-2ab030ee28708042ee95e070eac2aa4c  gdb/sparc-nat.h
+a0d126477f8a073a797ac2b2e6d2e89f  gdb/sparc-nat.h
 7e02660e1d3bc87f9b508368c0c00c64  gdb/record-btrace.c
 ac95bab288c787a3f9cc32e0b8383af0  gdb/proc-api.c
 364aca98f9e09fc0e7dc5e0b33a4853d  gdb/target-memory.c
@@ -1185,13 +1186,13 @@ f48daece847f879834d8a8e232db0076  gdb/sy
 aa585453b137cfe491a78d1292ecd4aa  gdb/target-delegates.c
 a288118ed518726fca7cad53daef7eca  gdb/i386-go32-tdep.c
 3717b843594ea5ba00ae392a28c2b721  gdb/ax_cxx_compile_stdcxx.m4
-72f838af34b069f90284b581c1e66cd0  gdb/solib-frv.c
+4711cbc307dac6615e4d6fec30a6b498  gdb/solib-frv.c
 9727d2634995f58bfa0f048382ba69e2  gdb/amd64-tdep.c
 6216d4e506c526a30517dd671d6a3547  gdb/nbsd-tdep.h
 ecfd9b2668c64d934083eed0c1857f7d  gdb/amd64-fbsd-tdep.c
-38fc0abf02be4f98a1d92e7ef542c1e9  gdb/p-lang.c
+6008ab8c701c7026a874e9fcab47e684  gdb/p-lang.c
 85669543ad21bd7d723dc0b9a1838e77  gdb/ser-event.c
-7603fe2488d6143c107769e1904c4e46  gdb/aix-thread.c
+460a85adc0379b024de875a7e0f3826c  gdb/aix-thread.c
 8f9668b01e312ed0d07aafd7c1d7571d  gdb/arm-fbsd-nat.c
 9444a2289ac054c1dde25220a03aa2e7  gdb/dummy-frame.h
 b4a82177eb52fb9c11310457fd93d9c0  gdb/i386-darwin-tdep.h
@@ -1204,8 +1205,8 @@ c347954d4517f60d1220db4d30f00f92  gdb/me
 62372741c8fa1c6f1087057a69158608  gdb/gdbarch-selftests.c
 5fed6fa2027940f9f1cc22a518821db0  gdb/windows-tdep.c
 ec376335a92bd9f2ea53ee7c6e2c0e46  gdb/coff-pe-read.h
-3f5fb23996125c46445459cd4951bf50  gdb/go-lang.c
-762c8c43cada9356f446a6768eaaedf6  gdb/infrun.c
+7ca88f5387948fc57d606965e94c858f  gdb/go-lang.c
+7fbe44912713fec2487adbc2b718922e  gdb/infrun.c
 069f9df8169b48d51d95c375feec6363  gdb/ppc-fbsd-nat.c
 9f17d928e1ed3e8a6423ba556d65ed00  gdb/jit-reader.in
 37db92fe07a4f43ec93642807bd24d4f  gdb/darwin-nat-info.c
@@ -1234,12 +1235,12 @@ e2bf7c661d3a4b2b2f10e324a0acefe4  gdb/i3
 aa954af7dd07dcfbd454ca395e8df507  gdb/s390-linux-nat.c
 c8dbea7d9389c08f3789b58a561a07f0  gdb/linux-nat.h
 494257c414eccee1044a0ab98883e794  gdb/sh-linux-tdep.c
-b563257f26bd937f0aea8953aebed8e8  gdb/go-exp.y
+38f78c6afbbbbc17c11c683ac91e308c  gdb/go-exp.y
 2b2f56872999b916912d02edad5da0c4  gdb/dbxread.c
 29f6eede7daf473eeb4d4742ce221d19  gdb/remote-notif.c
 7fc733857220d977be1753bb536270d8  gdb/aarch64-linux-tdep.h
 1e5d761461e8b9c35376b15569d8e30c  gdb/aarch64-linux-tdep.c
-4a01a50e926434369abcd976ec473bd4  gdb/f-lang.c
+1002865f9cf86f1ade90b768a7cec48d  gdb/f-lang.c
 0136d38e5c6b7d964f6aecbcad92fb1a  gdb/break-catch-throw.c
 dab68109c15df636e61c7b8177b99c99  gdb/rs6000-aix-tdep.h
 e3a08b131a85b6b1a09122266cb5d5ab  gdb/gnu-v2-abi.c
@@ -1251,7 +1252,7 @@ e3a08b131a85b6b1a09122266cb5d5ab  gdb/gn
 8f07b8c77be423bdb29b2c4a42c87478  gdb/sparc-ravenscar-thread.h
 0f7decb129c084c0d3fb704a564713be  gdb/m68k-tdep.h
 2313e8a84a0adcf69c0527dfa3ff6300  gdb/typeprint.c
-4d318c0e2b80fdd6a98421e4953bb58c  gdb/solib-aix.c
+bb3f91794421322decb86c82cacac17a  gdb/solib-aix.c
 fcae3cb1131a8474f8bcce6c02962494  gdb/warning.m4
 243966a2c94cc9efaa3621b2c41c48e9  gdb/ppc-tdep.h
 e4f468fc94a76cd4b804eab1b2e08517  gdb/dtrace-probe.c
@@ -1259,9 +1260,9 @@ e4f468fc94a76cd4b804eab1b2e08517  gdb/dt
 fc49b6bd5b96812a5786b8f3ddda29f7  gdb/observable.h
 1c88aaca276d5f0b376df2c2ef71a1c9  gdb/x86-nat.h
 aa9ba52741b2748b3b9addadbe2dbcbb  gdb/linux-thread-db.c
-0cf5ad72545c4978dce90d995a1e8f61  gdb/c-exp.c
+dbbb62e3f15e0a463f16521f5641f345  gdb/c-exp.c
 3f5804572b36fb720620878e220f5e64  gdb/alpha-linux-nat.c
-95ca897108db7b90ca559a18280cd726  gdb/ada-exp.c
+0a204b4db33f359d55db8eb636f1aada  gdb/ada-exp.c
 1e538a799e84d9920056dd814728514e  gdb/tilegx-linux-tdep.c
 8e669c0223eff4845c4f818622fe0da4  gdb/mips-fbsd-tdep.c
 dbeb7ed60c2a8516b5ba18758fa20340  gdb/m32r-linux-nat.c
@@ -1289,7 +1290,7 @@ bcbaaaa5fa741c6accd8360670b59325  gdb/dw
 8c4dd1fdf6c94c4ae765b2a7221ceec4  gdb/i386-nto-tdep.c
 cbf4bb4777413dcfb5bd6d8bee835900  gdb/obsd-tdep.c
 5052b57de2fd8b3515777bb814bcd394  gdb/ChangeLog-1999
-0b6ca1e18bc18405c8561a90a6efab2f  gdb/f-exp.y
+2fdd94c7916373fb7485c5af701c2bef  gdb/f-exp.y
 54e839f7799f5ab74ff387691d6342e7  gdb/jit.h
 fc71efca03535915fb34279829bf093c  gdb/psymtab.c
 aaaa6f1f7fc6fb08e48575717e97f93c  gdb/stack.h
@@ -1298,7 +1299,7 @@ da71c479b68a4d95a79d36640b93c9c3  gdb/Ch
 56fc1be77877258d4ff3b19e7750cb53  gdb/gdbarch.c
 ac3684c4a3658e1fd2ef5be5f457ec12  gdb/CONTRIBUTE
 289cf4a8613664f7744dc12d8cbfb4a4  gdb/mep-tdep.c
-62841edbcefa5077c13a93d85bfd797b  gdb/opencl-lang.c
+642426c650d1ca27f541c6f4e3437160  gdb/opencl-lang.c
 3d027cac6019ae876866bbffc91eb5d2  gdb/mn10300-tdep.h
 adf42b0a0fe79811fe9bad72d26bef49  gdb/thread-fsm.h
 779c2c69ea9b6926780153532951e708  gdb/tramp-frame.c
@@ -1323,7 +1324,7 @@ e306e8a33e05fb16fe99185ca4a1972d  gdb/gd
 2b245522e18db1726572435090dd03a1  gdb/coff-pe-read.c
 90f0c90b6728b0bad96366815ecf5fc6  gdb/bcache.c
 e82e1a53dbb63d792fc8645192a4b2cb  gdb/gdb-gdb.gdb.in
-6f186e724c56d14f4df16a51453cc47a  gdb/rust-exp.c
+95387eaed726599f97cbd5279952be4b  gdb/rust-exp.c
 eff0ec95e3c4a239a8367a03d551af76  gdb/i386-linux-tdep.h
 a380b8a6157cbfefdd0a394ae4d5b2b4  gdb/tui/tui-winsource.h
 a3d242c361866800669a06d0ef84c027  gdb/tui/tui-stack.h
@@ -1361,7 +1362,7 @@ b536d7b362aaf500fabed11b5a2f141a  gdb/tu
 e99a1689b0622fad6abea7ff0d8d4673  gdb/tui/tui.h
 55464ef669b4cad991eb9bb136250f3f  gdb/target-dcache.h
 b8bcad97aacc2e146a6baf5145af3bd9  gdb/ui-file.c
-afa50b90ea96c6bd61e1b97b5a1523f4  gdb/m2-exp.c
+435dcf2cb819a4597a92220077a0e7c3  gdb/m2-exp.c
 023b3f0ef7c9413d6ae1a03fc4512338  gdb/ser-base.h
 fd4f984f357ac8253a6017e311f7d3d1  gdb/progspace-and-thread.c
 54ba1f9c5224705a5f1c6006032c9713  gdb/record-full.c
@@ -1369,7 +1370,7 @@ fd4f984f357ac8253a6017e311f7d3d1  gdb/pr
 bab237deb777790901915754ae08c1ed  gdb/m68hc11-tdep.c
 3ff77873f6692944b1c524dbb6f17859  gdb/registry.c
 72b7d9154a6d5c2555985382c028c8cf  gdb/d-valprint.c
-5365bdf583b5ad019d3df9b19d566125  gdb/ada-lang.h
+ccc0c62ad360a4cf5a9bd5957612799a  gdb/ada-lang.h
 00f9a7e8ab7b23d3ed5d8810f63e765b  gdb/gnu-nat.c
 31c83b4bb1c5c9c771fe8e1ec3f1e9ba  gdb/msg.defs
 c5a6da46b3f28f588924bce923299b95  gdb/arm-linux-tdep.h
@@ -1382,10 +1383,10 @@ c311d3a15e412d63bc5b150bca5c7a49  gdb/al
 22ee99381c4240c28585b4a2cf488476  gdb/p-valprint.c
 2a53c523dcdfe89148f025a641569b17  gdb/producer.c
 782abbb4959b97cb2105575fb6d52c71  gdb/macrocmd.c
-ad4e002571bc3d0d22b120a9decb074d  gdb/arch-utils.c
+9a6c5342ed843d818b450e5f857aa50a  gdb/arch-utils.c
 44f9af90f4739ed09ee15f55360be335  gdb/cp-valprint.c
 66f799c8dd14357e25888b2221b0ea52  gdb/disable-implicit-rules.mk
-d8321cce7e8c35e1623217315a13d720  gdb/dwarf2read.c
+fac666a80d963a4ea6c8b679eef2b926  gdb/dwarf2read.c
 c64c7593e7d71625ee20f04d28ab988e  gdb/or1k-tdep.c
 c2e1d902b17fdaf4a480a18af3971788  gdb/amd64-windows-tdep.c
 e4708e4b23e4e6ddd07c7245736d37b3  gdb/testsuite/config/cygmon.exp
@@ -1659,6 +1660,7 @@ d995a1cf5b14fc0a3bf8f935ed35dc2f  gdb/te
 723aeaad63e0e4cca111b3e42d90097c  gdb/testsuite/gdb.cp/expand-sals.cc
 2426d2795fbefaf21366e9b4a7aed3ff  gdb/testsuite/gdb.cp/extern-c.exp
 a54c7a01e128551b8d37484a919778cf  gdb/testsuite/gdb.cp/minsym-fallback.h
+be0910b6441c40a0c0f074326ec888e6  gdb/testsuite/gdb.cp/typedef-base.exp
 727bfa94b7d35086e550e8b4f00ea09c  gdb/testsuite/gdb.cp/ena-dis-br-range.cc
 719f8adf38efd74f1800bf617e2e535b  gdb/testsuite/gdb.cp/exception.cc
 00769b46e1fdf62bbf1860c208c13b03  gdb/testsuite/gdb.cp/mb-inline2.cc
@@ -1790,6 +1792,7 @@ d147f29e4035d7ebbaa76dd68918f2dc  gdb/te
 cdf859b815a3407577845a16b5ec6191  gdb/testsuite/gdb.cp/static-print-quit.exp
 4c596abecc55f72fa649b1a9fc6db580  gdb/testsuite/gdb.cp/gdb1355.exp
 123a0dff68ea69341f2697d03e2e60a0  gdb/testsuite/gdb.cp/cttiadd.cc
+fc9b1546caea8abdd36558538ae8b938  gdb/testsuite/gdb.cp/typedef-base.cc
 2cbf94bd4795ba76ede2a549a4de3122  gdb/testsuite/gdb.cp/misc.exp
 ed1d421a8f63a4437e10cbaea81f92ca  gdb/testsuite/gdb.cp/expand-sals.exp
 099f7d8f4ab51bfe38243c1ba77e150a  gdb/testsuite/gdb.cp/ovsrch.h
@@ -2271,6 +2274,7 @@ af6f9e427bb3d09aa6033ec64aec8775  gdb/te
 2ea119dea6b7915de5e2942e96db927d  gdb/testsuite/gdb.base/relational.exp
 26bdfe7d84293d3b020d89974107414f  gdb/testsuite/gdb.base/random-signal.exp
 4384323c35a42c2c7af74809b94ff1c9  gdb/testsuite/gdb.base/sepdebug2.c
+069a15e737d50538d066a20494a4d747  gdb/testsuite/gdb.base/finish-pretty.c
 0f1b8fd72f692e8a603c66163877fe33  gdb/testsuite/gdb.base/wrong_frame_bt_full.exp
 3764973c71d5aa701031b4e66fd276d3  gdb/testsuite/gdb.base/shreloc.c
 df694aa9bac76d9decd59fd17ee641f3  gdb/testsuite/gdb.base/solib-weak.exp
@@ -2643,7 +2647,7 @@ cc73eb7951662aabb85954b1f57b055a  gdb/te
 ecbf71781f59411b71debb9a18da178e  gdb/testsuite/gdb.base/dtrace-probe.exp
 318bdbff360710e6d6026adcbcdf6b1b  gdb/testsuite/gdb.base/jit-reader.exp
 a3bbbaaebe1bd4168a37b11c401b3109  gdb/testsuite/gdb.base/call-rt-st.c
-f69cf856ab4dc12a3c7c527158396631  gdb/testsuite/gdb.base/fork-running-state.exp
+6364a7b472c748b881c4ce4efa5ff96b  gdb/testsuite/gdb.base/fork-running-state.exp
 db0033eef28ed6cbd84e138e8f69fcbf  gdb/testsuite/gdb.base/gdb11531.c
 99966f0ace976f0526110721baf06163  gdb/testsuite/gdb.base/siginfo.exp
 ae5fe835dcb05c3e3aae72c884942c62  gdb/testsuite/gdb.base/source-execution.gdb
@@ -2767,7 +2771,7 @@ e63edef2bc70718ab5517c524db78298  gdb/te
 202f2a3b26e835f9fa0b705e26ac7759  gdb/testsuite/gdb.base/cvexpr.exp
 c1c565d949980ac94a2ba49c011378d8  gdb/testsuite/gdb.base/coredump-filter.exp
 bb8c7d08b88867eb297cbf528cebfc84  gdb/testsuite/gdb.base/source-nofile.gdb
-dc316a0644b1446600d11e935b11a851  gdb/testsuite/gdb.base/fork-running-state.c
+97f6265e744fb5e69c5101bc4bf69116  gdb/testsuite/gdb.base/fork-running-state.c
 a803da56f85dd1cf96da5c5a88b7a7de  gdb/testsuite/gdb.base/gdb1555-main.c
 90d1176d29b8e66f819511426e4fe212  gdb/testsuite/gdb.base/pie-execl.exp
 dac64e13291407207000e224951ab29a  gdb/testsuite/gdb.base/opaque.exp
@@ -3021,6 +3025,7 @@ dfa979acbe1384c0558b2d66b8c1b1a4  gdb/te
 13f6c60af6ad41c3d6f0983866fa084c  gdb/testsuite/gdb.base/step-sw-breakpoint-adjust-pc.exp
 0fa06da7c88ec5b57fa138086c0dd686  gdb/testsuite/gdb.base/consecutive.exp
 85b4b0b6924ffc241d4f10e3176b9219  gdb/testsuite/gdb.base/symbol-without-target_section.exp
+7cf88e61bd7eea053454bd8065fe45be  gdb/testsuite/gdb.base/finish-pretty.exp
 1b87a636b513108adfe7f31e3b829940  gdb/testsuite/gdb.base/skip.exp
 1422d1cd727bdc3203d272527ba6550d  gdb/testsuite/gdb.base/annota1.exp
 31c3fbf7520103a82c5f638a509ce7f4  gdb/testsuite/gdb.base/dcache-line-read-error.c
@@ -3932,7 +3937,7 @@ b8028b7ede173dd6a5d1bb059be11fbb  gdb/te
 199a36a209e2a76cae60f2808ccbed16  gdb/testsuite/lib/prompt.exp
 0877507e7333bfd373d58a52ada8bd17  gdb/testsuite/lib/future.exp
 60c6874d1ec3b971e3adf6f8732d08aa  gdb/testsuite/lib/trace-support.exp
-318a18a0d8730d4233bc5140b45ae661  gdb/testsuite/lib/selftest-support.exp
+331b1d14321687d29e9fb33bb2c2548e  gdb/testsuite/lib/selftest-support.exp
 f935e4aafc37f79743ec500cf9d2530a  gdb/testsuite/lib/mi-support.exp
 87fef3b48b51dd414fb21061782da0ba  gdb/testsuite/lib/ada.exp
 b95dc2a351d65373861d5ccbc6f62d5c  gdb/testsuite/lib/opencl_kernel.cl
@@ -4159,7 +4164,7 @@ df82452f754ef15a81d71f46a0892757  gdb/te
 1af6fb7c1b19a12c6922dcd5c06c7282  gdb/testsuite/gdb.threads/current-lwp-dead.c
 cce61d72cd61110b090005c55bfa4228  gdb/testsuite/gdb.threads/clone-attach-detach.exp
 a3f6f1ede316d3c02aa88f0e66dfedd8  gdb/testsuite/gdb.threads/non-ldr-exc-1.c
-1cc6de21579780e8ff3318438fb2254e  gdb/testsuite/gdb.threads/multiple-successive-infcall.exp
+560bc2a5adff07459e0dd1f7a30e80f9  gdb/testsuite/gdb.threads/multiple-successive-infcall.exp
 0e74db2ece8c7ed249bf9cb8386f15c7  gdb/testsuite/gdb.threads/queue-signal.c
 ea46f843e59ed5964f6f90cd9177d6aa  gdb/testsuite/gdb.threads/fork-child-threads.exp
 c2be2a703e173a89f2970edf3a044a81  gdb/testsuite/gdb.threads/break-while-running.exp
@@ -4174,10 +4179,12 @@ f7e82b9ee6f278f17468ecbbedf3b521  gdb/te
 ce885e8e714a3cb40380492a425b42b5  gdb/testsuite/gdb.threads/attach-stopped.c
 60ae94520fb1e6e24c0b23bcca17bbaf  gdb/testsuite/gdb.threads/continue-pending-status.exp
 f24872fe96f0facabb525d516d6aa29f  gdb/testsuite/gdb.threads/interrupted-hand-call.c
+29c8b435b3b30cc6a0b86e44519fb6b6  gdb/testsuite/gdb.threads/slow-waitpid.c
 9e137ab959c686e94a5a730ecdef92bd  gdb/testsuite/gdb.threads/non-ldr-exc-4.c
 9f1980e50d0b18ecab95050153e4733a  gdb/testsuite/gdb.threads/tls-nodebug.c
 3dc7d316c160194b184b8c08d5b6b256  gdb/testsuite/gdb.threads/manythreads.c
 734fdcfa868c07ff662ddc0fd92d983a  gdb/testsuite/gdb.threads/local-watch-wrong-thread.c
+2bb413c2c21e9aa7b53fe2bffab64db8  gdb/testsuite/gdb.threads/attach-slow-waitpid.exp
 9b8599bab348044137522c5870c13d4d  gdb/testsuite/gdb.threads/thread_events.exp
 74fd4f42d145f6c6e96baa4f4357c341  gdb/testsuite/gdb.threads/watchpoint-fork-mt.c
 966f42af6cc2d63f0ec40eacbe063176  gdb/testsuite/gdb.threads/hand-call-in-threads.c
@@ -4238,6 +4245,7 @@ ba445c53435050ca518072f3ccdeaeb9  gdb/te
 020b1476374ccc13acb3324bc2047fbf  gdb/testsuite/gdb.threads/process-dies-while-handling-bp.c
 096bcca017e33bad1dca8f676160170e  gdb/testsuite/gdb.threads/signal-command-handle-nopass.c
 fcf4d0cb1c57307a29ff0ee2693c53f1  gdb/testsuite/gdb.threads/next-bp-other-thread.exp
+b54a00a887790b127e7a9ea03ffb2ebf  gdb/testsuite/gdb.threads/attach-slow-waitpid.c
 f1aad3d4a918a626936d94433460d6fa  gdb/testsuite/gdb.threads/corethreads.exp
 94ce1c2898f22a9923556c22d8c3f566  gdb/testsuite/gdb.threads/break-while-running.c
 f50d6f15ead4536c63f21c70481e2126  gdb/testsuite/gdb.threads/wp-replication.exp
@@ -4294,7 +4302,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
-dfb5a8f10af747e89bd52bb1986a0d7a  gdb/testsuite/ChangeLog
+dcd0565ead87baf382179f94f40688ec  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
@@ -4620,7 +4628,7 @@ ab8612851d7dc841a399af0de79b6feb  gdb/te
 0ce739c2f5f292351458f164d3ecc018  gdb/testsuite/gdb.ada/ptype_field/foo.adb
 fc76375e8a9d340926d85be75dea2429  gdb/testsuite/gdb.ada/ptype_field/pck.ads
 572513d28681a7b0812d653d3622481b  gdb/testsuite/gdb.ada/ptype_field/pck.adb
-3eadf91a3f81bd646809e0e330727465  gdb/testsuite/gdb.ada/bp_inlined_func.exp
+a0e45f9ea3e0c94d8942889513c4a09a  gdb/testsuite/gdb.ada/bp_inlined_func.exp
 5af5da6e4c23ee445084cd0ce178011f  gdb/testsuite/gdb.ada/array_bounds.exp
 be79f38d4855c6ac5fd7f7d2389e123d  gdb/testsuite/gdb.ada/atomic_enum.exp
 6fe9edce9847828b7b51ffeac636b4c9  gdb/testsuite/gdb.ada/assign_arr/main_p324_051.adb
@@ -5032,7 +5040,7 @@ b17141653a2a7f81010b78ba903cfdec  gdb/te
 0762eff212b3c7e9fe3c7047b5f037d9  gdb/testsuite/gdb.xml/trivial.xml
 db4894f09a7324b25de6b98a23383a5d  gdb/testsuite/gdb.xml/inc-body.xml
 3f10343bb2b2755e713739b4bc88a7c9  gdb/testsuite/gdb.gdb/complaints.exp
-47e00686f1065323e8428e3341a86da2  gdb/testsuite/gdb.gdb/selftest.exp
+55d0e6bbb196d65d322985e860ed40fe  gdb/testsuite/gdb.gdb/selftest.exp
 5b4dd3cc78784f908c891c69eec5cfc3  gdb/testsuite/gdb.gdb/python-interrupts.exp
 8059c33797b348cbc3704e56a99a6e1d  gdb/testsuite/gdb.gdb/python-selftest.exp
 51d754d433a751313efc68200a779bfe  gdb/testsuite/gdb.gdb/unittest.exp
@@ -5043,54 +5051,54 @@ f1b65f9353229306b9081c1135d85247  gdb/sy
 29209f0a84f981d84f100e8fc4c3a84b  gdb/f-valprint.c
 b6bbbfc248f90052ce30fda420c5916f  gdb/gdb_curses.h
 8108dd8f906f2654fecc74958cf383db  gdb/doc/psrc.sed
-f60b6ef8ae56afabbe4f66aeefad1dc2  gdb/doc/gdb.info-3
-6ddec29a0ab85cd233a8103b0def1440  gdb/doc/gdb.info-4
+9ac6cae1f6d58e459abf4914c95ae84e  gdb/doc/gdb.info-3
+57b7a8da45cadb0bc63c7052c77bcf0e  gdb/doc/gdb.info-4
 ab0fe311032294b952da80585b8b90e7  gdb/doc/fdl.texi
 7293ab6b8a4482a4fb58806f78e27fd9  gdb/doc/Makefile.in
-d6c85156fb5f9c1f3189a4f233fbe7f5  gdb/doc/gdb.info-7
-2f95ee3e54253cfc512752dc665bf081  gdb/doc/gdbserver.1
+ab69834c6da30740603d6eba87c15615  gdb/doc/gdb.info-7
+00d2999dc1cd5191f5bf4085172ac62b  gdb/doc/gdbserver.1
 8a3211e1c1b6c1a9ae823c3c469675e8  gdb/doc/guile.texi
 f81a0e00e0cb9e41b078069fb9bedb07  gdb/doc/stack_frame.txt
 319d74c658533df2b0bedcca97af4d94  gdb/doc/stabs.info
-560e85e2f1fdb93892ec8af5e372cad9  gdb/doc/gdb.info-5
+9d409bcda7332fe1c3dad60a528ddb04  gdb/doc/gdb.info-5
 19abe6cc6d5cc545f19b7c7703223589  gdb/doc/agentexpr.texi
 66674dc351ba95941f422dc18cae24bb  gdb/doc/.gitignore
-96273e297509f99b423bc3c4415e6985  gdb/doc/gdb.info-1
+8dbe172ad92369202f1c4acb0c5a7c67  gdb/doc/gdb.info-1
 d5d06eaf9b4d44aa442a4a281aa9aea4  gdb/doc/a4rc.sed
-0d6a599e3e5f0eab20705baf7a9c3b2e  gdb/doc/gdb.info-6
-652db64fdf90cd7ca7c15a3e96f083a4  gdb/doc/gdb.texinfo
-aa0797e67122ba3a38d42aecc41c261d  gdb/doc/gdb-add-index.1
+b0ca2c712f3f2a984bb06e9eca3bac3e  gdb/doc/gdb.info-6
+7bd7ce5009d6f2bc59d01b497f3c178f  gdb/doc/gdb.texinfo
+73fe279b5a30442c2ce093599861f8f6  gdb/doc/gdb-add-index.1
 553b7fe1bf4b5d8b96fdb8cd83503de1  gdb/doc/stack_frame.svg
 04c82b1da7e894a6555868e4f86225af  gdb/doc/filter-for-doxygen
 6eef6173ced7b929f5142c1577f2189a  gdb/doc/Doxyfile-gdb-api.in
 26a572acbe3a2b351c0d3c0a2790b07d  gdb/doc/annotate.info
-dab9cd864ab56303212c5d10d4164fc3  gdb/doc/gdb.info-2
+16c1e3f41b643cc07183376cee408041  gdb/doc/gdb.info-2
 0e44f6ffe6996c2827630e31909c3e1e  gdb/doc/refcard.tex
 6076d300a46651562d4ecd0604442414  gdb/doc/stack_frame.png
-711d47945cd2a7b013798dc7c03bae82  gdb/doc/gdb.info
+4e26b680370065b7fd04685cc9f0b71e  gdb/doc/gdb.info
 65a7709429887bbf3a2d4cc49bfe2a38  gdb/doc/python.texi
 c3feb7ddebdf77fd82e65fc406bc2f23  gdb/doc/stabs.texinfo
-47c968cbebd9ba599973c6bdd36e312a  gdb/doc/ChangeLog
-50dcde5f06b0610ba8dc57493bb6485a  gdb/doc/gdb.1
-4d70e5b8cc83ba82041314ec08e1f317  gdb/doc/gcore.1
+94b067218ba95d08bfcb164f08c87b45  gdb/doc/ChangeLog
+740f099613e19078a30ec8b0832b1bb3  gdb/doc/gdb.1
+63952ab2799ca5c623962b4d00a288c6  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
-b330207d7e5dd1c706b3fe5795da2853  gdb/doc/gdbinit.5
+b11ed00923265aea4d7867345e8dadcf  gdb/doc/gdbinit.5
 78d7bd07699d6e1b53e552cc3a1c16ef  gdb/doc/Doxyfile-gdb-xref.in
 d398b8cec3d96f0f3267dac6b8fe64bb  gdb/doc/annotate.texinfo
 5863a78c1571978dc97dccb25e481134  gdb/doc/doxy-index.in
 5fd0b4ab51371cec2c95861526ff4b9e  gdb/doc/Doxyfile-gdbserver.in
 73ec71cd3b2e7f61bc530f19d4b35056  gdb/doc/lpsrc.sed
-70103166df80aa2f612b28af331bc993  gdb/parse.c
+828c160c19391f151ec7062a118331a6  gdb/parse.c
 bfd52bc35b925b584d13610e6ef838f4  gdb/fbsd-nat.c
 c6e50b510f5aa2a361a607b7b68e24c2  gdb/windows-tdep.h
 57d3e4e0db70b1c2099ca24edc0efbb5  gdb/stap-probe.h
 1f68d3272b33b380724fe731f1716f7b  gdb/ChangeLog-3.x
-8f897015b7a4efcf70ff9fdefb3958e9  gdb/language.h
+6361099811727e3fdc0c625e000ec0ba  gdb/language.h
 e15d3c09fa07434a0d2a5abbc3dcf47a  gdb/tracefile.c
 266408d8483d853111c5cddbf0db77a8  gdb/arm-bsd-tdep.c
 e4380a969090133aecacefce9f80e292  gdb/mi/mi-console.c
@@ -5159,7 +5167,7 @@ e3b8346d72480af83bef682a0902d53d  gdb/mi
 2a9b1af5b85feaf17932475d88c83ab2  gdb/procfs.h
 4ff5be01c5bac92df0c1760b2663a09a  gdb/sparc-nbsd-nat.c
 17cf3395b846f725f8ffd5ee48ba1139  gdb/tid-parse.c
-3af104d7d0791c804c2fe0134c4f0a3f  gdb/objc-lang.c
+3b57f95fc84608f086133a7bcc4c11b5  gdb/objc-lang.c
 3b0fd52a0d062b9de16b53a58c15eace  gdb/rs6000-tdep.h
 f50b276090db87139739e36275624248  gdb/dwarf2-frame.h
 698937a77e4a2bc651e2a822e900e65e  gdb/ft32-tdep.h
@@ -5167,10 +5175,10 @@ f50b276090db87139739e36275624248  gdb/dw
 7f51552d8562e3ec02560da61fbc55f4  gdb/gregset.h
 1636b4946aafa46effc15a542900acde  gdb/infcall.h
 f957d864cfe67f1616e488c20fe12f74  gdb/source.c
-8843d2306507fd7481e556a6895d0316  gdb/sparc64-linux-nat.c
+43bd1063e63ecb65a8f6f1deebd9aa8e  gdb/sparc64-linux-nat.c
 7759be6176b65904a973ffc0a8d65efb  gdb/build-id.h
 ca02e1cd415afc4ad2d90574dd29edd9  gdb/xcoffread.c
-44c510f7aee92952b5287acc056b9f3b  gdb/valops.c
+e832353b1cf1d559041ebaf6c2121a90  gdb/valops.c
 9ca73b1d1adc3172db7b008f0dfa88b5  gdb/d-namespace.c
 3dcdaf0522868c8f0faf5a71f4ad7462  gdb/sparc-nat.c
 d0ad98ae7cee62713fe85a4e09ad168e  gdb/continuations.h
@@ -5180,7 +5188,7 @@ d0ad98ae7cee62713fe85a4e09ad168e  gdb/co
 c5e45419503b3c6eb53c1c4f454c600b  gdb/frame-base.h
 57ddbfe415f5fcf9470df13df7f4ef3c  gdb/xml-syscall.c
 8e9bd9c9b9be997d2fd4ffeb35f354ca  gdb/symfile-mem.c
-465f70dd80d846393a95e9a12ae7a6ee  gdb/c-lang.c
+7dbb1c95429be938f6592a2f4668ccd3  gdb/c-lang.c
 aba8d6987911ef805cb23a8d63c0853a  gdb/hppa-bsd-tdep.c
 32d233898136efdb3289b58dcf99a269  gdb/typeprint.h
 4a1b5a38547eb27355cf3ccbb301e6cd  gdb/osabi.h
@@ -5198,7 +5206,7 @@ ee0a69a84974f0f29b655357e738bb45  gdb/fb
 21192b4878969ebd25eee6347c9bc4e8  gdb/c-valprint.c
 16b29d325525fe8c7ec81a254fd1436d  gdb/value.c
 f247843121711489e1ce27baeba4983d  gdb/dummy-frame.c
-6c5d86d903a6a1e7884d141ab0ab7858  gdb/ser-mingw.c
+99ed19d384381a780a073c94e924d1c2  gdb/ser-mingw.c
 83d3b77c037b132a96c2a296685c74f8  gdb/completer.h
 44fcceea3084dfb5b072649db9ad8d04  gdb/arm-fbsd-tdep.h
 2058631f40b6744897d0ce55595b3394  gdb/tracefile.h
@@ -5487,11 +5495,11 @@ bd64b165a0376ee5e21256856a9ab023  gdb/fe
 ddb0e6961a8bafbe81ace0ae4c624062  gdb/features/nds32.xml
 6c760553daeaba1494447b8f5f1122ed  gdb/features/aarch64-fpu.xml
 9d9baf6ee79baadc2a660370cb2c1afc  gdb/gdb_indent.sh
-f33d29c9e40b0ad5dcca50014e2d7d9a  gdb/infcmd.c
-21aff4436ddb5d2d7445c8daaceb3b76  gdb/valprint.c
+13af004cf5987e3c2bd7ed92187b4afe  gdb/infcmd.c
+63de0d406f081b32f3cb1ade3e683cdb  gdb/valprint.c
 849729fd85118146d99e48457eb0719a  gdb/solib-target.c
 fb88de598eefca882bafb5d68273125e  gdb/tilegx-tdep.c
-f63b1816582b5eb4a999becd5052ab95  gdb/c-lang.h
+8f1e0ebb5b633e7183969b55a92d3cbf  gdb/c-lang.h
 16ba5f9e20a99462890651eada188dda  gdb/breakpoint.c
 30e36d0136fd98d8aacfc29e3d11577b  gdb/block.h
 0d9514ca001efc59de5eb69b17e17e4d  gdb/s390-tdep.h
@@ -5503,11 +5511,11 @@ fe892fdb31b046f86b878c945007f8c5  gdb/i3
 b9ce9ff96030d324b767992ce3ff3a04  gdb/maint.c
 fcc05575fd0ef64a8721a671a004bbfa  gdb/x86-bsd-nat.h
 45f33ef810d2680cb2055fc42b51de66  gdb/moxie-tdep.c
-9dc27a09d7b0138144859167a8ad85b0  gdb/gdbtypes.c
+ccaca1cd57512a4831c865061aff50fb  gdb/gdbtypes.c
 1b8416c08a58c674d4152317d3c38cff  gdb/ppc-obsd-nat.c
 b8853c26e14944bee07af150c89aa6c2  gdb/mips-nbsd-nat.c
 861a95a0df3b71f0ae16291f142604cc  gdb/elfread.c
-d952bcad3f3c6901567c6e673e087e33  gdb/aarch64-linux-nat.c
+2a48bff4d2d79b135bf8a967e0b29bb5  gdb/aarch64-linux-nat.c
 117490adf3ca40285edf884c23cd9590  gdb/gdb_obstack.c
 0c3e41993b15c3231d32f4e7e8bbba8e  gdb/inflow.c
 0fc1b8c99a5ad27ecd9c69f8054ea506  gdb/spu-linux-nat.c
@@ -5554,7 +5562,7 @@ c9c5feb59254016bd1e92d838fb999ac  gdb/or
 83b4a5046acc009222bac2a8794b290b  gdb/osabi.c
 4a717fc61f80cc15c9aefbf90f0fbbd5  gdb/m32r-linux-tdep.c
 84007546cc383fe97536f0a893c925a0  gdb/inf-child.c
-08716249d8bcf45b76e0b550217409e7  gdb/ada-exp.y
+9e711456b24ce7aaecd2d30b72b21970  gdb/ada-exp.y
 f063061f88467f0dab6fe7b7d2bd5317  gdb/x86-tdep.h
 6e58fafea49b69765fbee4f97d614eb1  gdb/frame-unwind.c
 1a4cf2a482540ae09973aab3c000b178  gdb/acinclude.m4
@@ -5570,16 +5578,16 @@ b8eb73dc7fae7d0a96731c9064f208cb  gdb/s3
 c9e1ce74c4a97cd187a10f8e2fe25f17  gdb/varobj.c
 391a90da5a283690403794b3b11c917a  gdb/alpha-linux-tdep.c
 54d62d7e88dfedfdc2cf45e3178f18dc  gdb/aclocal.m4
-b8834c965ffdb58186754848bed23ad0  gdb/p-lang.h
+6777ad1733cbfb91ced0c25e74b59f05  gdb/p-lang.h
 ed72e5a7e68affef48c995a7c4073492  gdb/solib-darwin.h
 a9395d09415322faea2304f9a1d7d9e2  gdb/command.h
 c8ad35fbed9ae9f7955517bb9dfddaf3  gdb/std-regs.c
-94939358229d338905f052768534159b  gdb/go-lang.h
+f18eaf82079c22fefde0df5f1a87e1e7  gdb/go-lang.h
 08acbfe7a6b5373b372b4cbe252da59c  gdb/i386-windows-nat.c
-cc892bb94f149345132672c9b2dcf83c  gdb/po/gdb.pot
+e05170bb4791c06dd729bddd4023c07f  gdb/po/gdb.pot
 1851bff0653201a488dcae18dde7efad  gdb/po/gdbtext
 0f52c2a584933e0bf3b982ada452c462  gdb/break-catch-syscall.c
-9408b18c8c779f4de84e4696c80fb13e  gdb/ada-lang.c
+54c4454b0473cd46460ddd4a1d8697a6  gdb/ada-lang.c
 715d5ca0108a1dcd9f91ec780c74aab0  gdb/dcache.h
 91302ac180cb979c2b2d758ed2edbb01  gdb/system-gdbinit/elinos.py
 ff7f357c1d20a712bf87a00711b2c26a  gdb/system-gdbinit/wrs-linux.py
@@ -5608,7 +5616,7 @@ f539f4273565a74911411b6f401d41e5  gdb/nb
 3c9961cb6c84271cfbbde613a1c7962d  gdb/i386-fbsd-nat.c
 22b7bd034786740f2c39f2e5011e6265  gdb/mipsread.c
 1b4194bf7b4056dfa96ced19566459ad  gdb/amd64-darwin-tdep.c
-e96718da702ba48460cd52e99a091ab8  gdb/ChangeLog
+55f71ea836f7356249aaf54e5205c559  gdb/ChangeLog
 59570a0bc164919d36efd6a8d2ef0c89  gdb/go-typeprint.c
 fc2f696609dae162343590eeb57eda62  gdb/score-tdep.c
 c75bca55efb6a051ca94c96437efc365  gdb/xml-support.h
@@ -5633,7 +5641,7 @@ b35f37c594e44a5dc32d477d40c5fd03  gdb/fr
 9732a2548d5f50fb696b030fb5cf3a87  gdb/hppa-bsd-tdep.h
 ade9b1c599d88767dbd444ae0c5d0528  gdb/proc-service.list
 11bcf7bbfd870a1e81a3dcbb7503ec66  gdb/gdb-stabs.h
-9045c4032ca19dd12bdfe05fda929842  gdb/p-exp.c
+3e388e863758699e234e790de23153a4  gdb/p-exp.c
 093c50d7b6021a1ae6e858d425b4b876  gdb/btrace.c
 2e79787d61b7f117163a20f586967915  gdb/m68k-tdep.c
 511888ad8e0cdbf15bf0b60a6753715e  gdb/coffread.c
@@ -5747,10 +5755,10 @@ b09b0ee5da44df728eb552f6bf6ed138  gdb/re
 1f676d929927876ac99e87b43c7343fe  gdb/arm-obsd-tdep.c
 01fd3d867a9956fb8f1446b833d53141  gdb/utils.h
 dfff610eb710a6a7232db443997e7d83  gdb/sparc-sol2-tdep.c
-9317c126f71fdbe22a3e90ebc315bf8b  gdb/procfs.c
+9b7b2d782525f5b4f95c362344bb23e3  gdb/procfs.c
 b4e966a104efb5131285d0ea2da0c7d5  gdb/solib-svr4.h
 3ce4249f299a24f9b4d55bf48173725a  gdb/psympriv.h
-be0f525330d3781e759b4f97c3121d24  gdb/rust-lang.c
+f5ae407adc56701d0b8f694109923a14  gdb/rust-lang.c
 2ee605374f4c3f0b2dd31cbac8dbd203  gdb/m32r-tdep.c
 a895ef4c32e7ffe665a772b400a36a38  gdb/hppa-tdep.c
 f2e3059a9390bb03663fa83309362f4c  gdb/exceptions.h
@@ -5785,7 +5793,7 @@ e9a39af7c9be1b1a8dabdb0820edd071  gdb/gu
 20422374ba9e4bbaf563ddfc7b8f7641  gdb/guile/scm-math.c
 5425886b05697c4eefd02e4691b6cb47  gdb/guile/guile.h
 cebca95e81ec864a425aaffc3edbf536  gdb/guile/scm-breakpoint.c
-eee5c710a101639ecd5c38d90f8be595  gdb/guile/scm-value.c
+8d2280b3f7dbb05af9bdbfeb31e04dec  gdb/guile/scm-value.c
 10c2e293ce18664326ceb1af4cc73108  gdb/guile/scm-pretty-print.c
 a726510eb7f6c9e5dc39cf6e424de106  gdb/guile/scm-disasm.c
 a97a7f17c996cf406d64da4bed15941f  gdb/guile/scm-progspace.c
@@ -5801,14 +5809,14 @@ fa4ea78a45c841cc16164db1173a402c  gdb/pr
 67074d22d1485e8d592c73e37d61cdab  gdb/nbsd-tdep.c
 9bcb0aac11dd1cd8d78e6ac52faa22fa  gdb/macroscope.h
 32ee9354056253f6d10636ca4c7ec10f  gdb/ada-lex.c
-5bac6333b0900bf9d4a1c78c422bb458  gdb/solib-darwin.c
+3e5b7c731e9e9a1be55b15fa6593ca55  gdb/solib-darwin.c
 0eaa204b7848f4a281f063b53c08d49b  gdb/tilegx-linux-nat.c
 a10e5ce959c537aa24c42c56f0161340  gdb/filesystem.c
 70a77fd6898743da19391f432f32be37  gdb/ChangeLog-2008
 a6c02548b91292a14df8b2da3f5c429c  gdb/nbsd-nat.c
 0af191c82b11678cb68426f5472f7f84  gdb/dicos-tdep.h
 c8b7a7ab4dffef5419e8e6c987b2c3f0  gdb/serial.h
-0191fdc5eadc64f6c7256f5893fb277e  gdb/d-lang.h
+6a8d7b1d008666bc6576deb0c2a09d57  gdb/d-lang.h
 03a06496bde66e86705e54d72c782283  gdb/sparc64-tdep.c
 5a43fe5cb333c00207a2832cb0bb4ca2  gdb/sparc64-obsd-nat.c
 fc98c919d131afb8d16d5f13991bfb8f  gdb/rs6000-lynx178-tdep.c
@@ -5840,7 +5848,7 @@ eb3c382595de2e131c8d2649f69e3b5e  gdb/gd
 bbb81af88626fe0414a6826fd172f0e5  gdb/gdbserver/inferiors.h
 30b63fe788b3fa9582ba39bc94e8a371  gdb/gdbserver/win32-arm-low.c
 369c14baa6ea408223aa30ee45c15cc1  gdb/gdbserver/linux-bfin-low.c
-1bad9b6266b3d8f985e0f17301ad7925  gdb/gdbserver/Makefile.in
+898bc8c12ea5efdac0bacdf8bda2da4f  gdb/gdbserver/Makefile.in
 57ae21aa7a8f5e943ac0984e6219bf38  gdb/gdbserver/x86-low.h
 c989e28f14e68f6bd1ba0a838f36ee80  gdb/gdbserver/hostio-errno.c
 deac692c45e7238b0a0bb28d008b6dc8  gdb/gdbserver/dll.h
@@ -5852,8 +5860,8 @@ d1a9739af597885f72de0d16a39b8316  gdb/gd
 f5b82e276b10a006cdd00aa2a2224be3  gdb/gdbserver/linux-ia64-low.c
 2a1d672ae7ac7c67bb62d3362d1b611e  gdb/gdbserver/configure.srv
 cccc03639697cc2a9899765e10e16ce5  gdb/gdbserver/linux-arm-low.c
-538f3315a9d2799755b220871858668b  gdb/gdbserver/tracepoint.h
-3e959db833d880ad86675e94866dd568  gdb/gdbserver/linux-aarch64-low.c
+84e78f0b5bd688347b0b0fa37c61f698  gdb/gdbserver/tracepoint.h
+928fd871739c8ee5f12ee6383246dd8e  gdb/gdbserver/linux-aarch64-low.c
 86de296075a1a56f6810d56ce42b922f  gdb/gdbserver/event-loop.h
 768b906bf2ef925490de73ce0780eeb4  gdb/gdbserver/ax.h
 b1bc026b75ed2c8949259c6dcdd3bea3  gdb/gdbserver/linux-m68k-low.c
@@ -5912,7 +5920,7 @@ c3667fdc9cd67df9fe41bd1bd00eb03c  gdb/gd
 453bdc56217c9700751109b35c86d335  gdb/gdbserver/thread-db.c
 08befe1c7835400972ae8709aa89fe7b  gdb/gdbserver/linux-s390-ipa.c
 bfa9ceb983ffaf55b4025c073a0e8bbb  gdb/gdbserver/linux-tile-low.c
-d8e4c79075df95d6f95a0c5f6b188d40  gdb/gdbserver/ChangeLog
+7501da5b35f9fd122b446c707e7055ff  gdb/gdbserver/ChangeLog
 5889bb9f24fa24a170d31f222b47eb73  gdb/gdbserver/linux-ppc-low.c
 16e0d9e370626d4b01ca32fce83a9576  gdb/gdbserver/linux-low.c
 2ce8d0b523754928d0d12157dc96db5d  gdb/gdbserver/proc-service.list
@@ -5954,7 +5962,7 @@ ef7f67e5720cf7b193349f8687243947  gdb/st
 ffc93e69a8813484cec63da022b68375  gdb/stubs/sh-stub.c
 145cd41185515b9c934b395a73ee7bbe  gdb/buildsym.c
 5365982e2814b4e53e349de2a41d74d0  gdb/breakpoint.h
-afb51882a4fcd41b241b8c0cae18928d  gdb/objfiles.c
+e87715c46edddb056ba42b60c23b78e2  gdb/objfiles.c
 6dc50ee9f50761b994845c93e943ac7d  gdb/debug.c
 754096f3d7e72140a7b0c9af2957d9fd  gdb/sol2-tdep.h
 33fd772ac412f13ab508ac7c49c07b7b  gdb/ppc-linux-tdep.c
@@ -5975,13 +5983,13 @@ c2873bef2a4eca9aa4162265225ed29c  gdb/sp
 47bd96ab5396b4a38d9790d18e05c453  gdb/sparc64-nat.c
 4a1c02f62a4a675c773d66a4b74eb795  gdb/nios2-linux-tdep.c
 d943f86d587711ad91661fb832547841  gdb/proc-events.c
-4466baaecaea56f278e466b09a545a82  gdb/go-exp.c
+8e54e630b5adac902d8123ab5fcd9d61  gdb/go-exp.c
 c63de3b8fe8d1745aa6da23e8b6d7a49  gdb/glibc-tdep.h
 7cd145fb17066da7997bf592fb9135a7  gdb/macroexp.h
 94dae6e96643c32af52ac1fdc00c5ff1  gdb/m68k-linux-nat.c
 46c7561fad0bf32939842cca4d794a12  gdb/arm-nbsd-tdep.c
-a45eb6600316bbb8ceda361401eeaf23  gdb/rust-exp.y
-455bf0fd430c317c8ae7f3b0a82d3776  gdb/linux-nat.c
+3ecc8cf7ae45c7a08ee02a295bc4950e  gdb/rust-exp.y
+d85f07156434c662dc17710e9b98152e  gdb/linux-nat.c
 619ef7db8e62a0be1f0b1e5707970dbd  gdb/producer.h
 f44ef527ff311fa0d11539c1d764a819  gdb/nds32-tdep.h
 db39dae4bf92c13f266edc08e08f0a93  gdb/sh-tdep.h
@@ -5989,7 +5997,7 @@ db39dae4bf92c13f266edc08e08f0a93  gdb/sh
 e9cd0cce650615a84b93a985211012c4  gdb/xml-syscall.h
 d2f7f4dd705c942832b13453acf23b5b  gdb/xtensa-linux-nat.c
 1f6b545be0b6822eca215d0b5f1edfc2  gdb/exc_request.defs
-d2b89d2542ee61410b550d8a6b19fa55  gdb/c-exp.y
+52483405ea35ad867c03514751ca494a  gdb/c-exp.y
 a89155f1dd915b34a7ac23f5c5189e60  gdb/alpha-bsd-tdep.c
 8f5a03c189727d347a330548f3ea9c98  gdb/ChangeLog-1991
 c6214153c759f31a865cc9f2f7e53419  gdb/amd64-nat.h
@@ -6285,7 +6293,7 @@ e6445c7afbb0de9cbd6722962f22476a  gdb/gn
 4afc2077562f87bda203559b54de3d23  gdb/gnulib/import/malloca.valgrind
 eba504acf9815f6f21cf19f50d3c0513  gdb/gnulib/import/dirname-lgpl.c
 6c22a2c007c6fba48298eabeb157956b  gdb/gnulib/import/filename.h
-74cbf13399aee973067b8fe736004113  gdb/gnulib/update-gnulib.sh
+b5bc03cfab6bb721f8856da978cd6153  gdb/gnulib/update-gnulib.sh
 fc483c38e96bc4065f578872c3872e35  gdb/gnulib/configure
 775d2912926e8b1b876520a16acc1ca8  gdb/gnulib/aclocal.m4
 a205dd1a408fafb7fa5fd3bd59318168  gdb/target-dcache.c
@@ -6314,14 +6322,14 @@ f469eae15fb1c314ea4aefdfecc6d5f0  gdb/li
 f66bdac58f2652e0f6441b77d521532c  gdb/dwarf-index-write.c
 737a57dfc3af81065d1096226a8fb5c9  gdb/gcore.c
 59fb89baacdcd182f8385dc194614499  gdb/hppa-linux-tdep.c
-16417265590b6556596f4e5e4db15dc6  gdb/p-exp.y
+b6bf17bec4f95735c2cbe10a9fbc8712  gdb/p-exp.y
 81981423ac8d5245dabad8e9b956a592  gdb/ia64-linux-tdep.c
 cd249ddad873055a764485405a148fd4  gdb/amd64-tdep.h
 0adca51f3b7f9ba9a9da0243b1660f90  gdb/xstormy16-tdep.c
 0cc2ddc542187f54909da8fb99ced71d  gdb/i386-obsd-tdep.c
 852b0a724dcb3cfdcabf8315dcf998e4  gdb/ppc-nbsd-tdep.c
 531af446673b3adeff7d564fa08591e8  gdb/stabsread.c
-c3b72d563fda3171ae1510a5ecb24dfd  gdb/MAINTAINERS
+5d341a9c93cb0e31f9d117d2ac3d243a  gdb/MAINTAINERS
 074caf11d670efb9f23fbcd727b37f0b  gdb/arm-fbsd-tdep.c
 b430bcd11d401c2f93d63f9ce9b80ec2  gdb/i386-bsd-nat.c
 feeeb8cba0f46c50b028311ac9b138bc  gdb/terminal.h
@@ -6348,7 +6356,7 @@ bd9ce820a4e293f51435eb315be04f3f  gdb/md
 f4f2143a9283b5c65b54b3aab64cb847  gdb/gnu-nat.h
 5cc85659ce552aa463dfc6b0e31d2dea  gdb/bfd-target.h
 3e9f394c4e9ee80c88bbfe5e8a112e64  gdb/arc-tdep.h
-46632de30afe441a82cf59bc1e5074f1  gdb/language.c
+de3a82f3c1c1258ea3561cde3d12edc2  gdb/language.c
 d451431fa8dfb66398fb766f376e43b0  gdb/stabsread.h
 7529db6c45419058f6bed69e56e21891  gdb/aarch64-fbsd-nat.c
 a1bdb560c593a848a941eaf19562b0f0  gdb/sparc-ravenscar-thread.c
@@ -6495,7 +6503,7 @@ f092e3b5be79c57d290e77f669acb19b  gdb/di
 de14c7a5d8d1ce55fda864a08a3d1990  include/objalloc.h
 781f387da8427a8cef273e127e9ffc49  include/alloca-conf.h
 b5e4c5a63f55f91d209087edef1340eb  include/fibheap.h
-cc08cd4cddc61e66bc488bd71ebc3572  include/simple-object.h
+60d4c5035c7b0868a54f70ee8087b517  include/simple-object.h
 5f7ed1643aa43c1e0044653068c379e4  include/os9k.h
 0109815bce024e5a11a37c6adaec69b1  include/dyn-string.h
 3695f27151c3e8b53ff0a11c93175e8a  include/timeval-utils.h
@@ -6586,7 +6594,7 @@ b0a660620a5b1650aa550e4d49dc0c3e  includ
 74ddc1dfb6e5cd3da27b4b03abdd66a0  include/opcode/arc.h
 9f7c6c94ee80e3de96af54eb463a4a14  include/opcode/tic30.h
 a424ec71bff901a9109cb4877e93a0c2  include/opcode/cr16.h
-48540294d4a80fa311fd1fb1b0906c0b  include/opcode/mips.h
+8b88a24e5b421cf40ca0d5f214c72312  include/opcode/mips.h
 0e61a510eba5ba164c3ed700efb66537  include/opcode/np1.h
 716124446101305b20a602a78c5bc8e5  include/opcode/aarch64.h
 bb647d596a663b4e1c050f3cd24dd79a  include/opcode/pn.h
@@ -6694,7 +6702,7 @@ d2ad036f25b58cfe8d97a28e90381e79  includ
 ffcfe0cb01c0a38af7417bc9aa775e94  include/gdb/callback.h
 810af656d62bf4d126e8ac209c33fb19  include/hashtab.h
 e8bf8dd17f26a9cf31a3a56106772180  include/gcc-interface.h
-3c6428308aba38285b64514b46f05398  include/ChangeLog
+fbfd8574695a40ffff71f1a0bf3d3a04  include/ChangeLog
 4c9f22255d779f166ad28a10abb00b25  include/dis-asm.h
 dba6f24691254ca1333ae3aa858af9b2  include/splay-tree.h
 1cc64c7ec7b7065e8ae4a879369655e4  include/filenames.h
@@ -6754,7 +6762,7 @@ f357599bdc97b50eb84dd136d8bd2aa5  includ
 d93b46e8edd37a417b5f4f921290dd94  include/elf/arc.h
 8bbbb5bf25420b4b7d1e9047003aeedc  include/elf/ip2k.h
 573e7c04cfe7d00a347812d4d0f9f70e  include/elf/cr16.h
-b6c7bb38389df849b456a17c1e9e9c93  include/elf/mips.h
+8df4b182e9588d7cc09f6d362cd0e747  include/elf/mips.h
 382d041cc079b275fbe3ba32f20d8706  include/elf/aarch64.h
 ac1b05b8884bdd60464db0035c8abe0c  include/elf/s12z.h
 7a4de8838a01e46db762ee4ec920e523  include/elf/dwarf.h
@@ -6859,67 +6867,68 @@ bdad874b80d29c70bb040f2ddeb67c5d  intl/l
 d50a8c6c5b41089930accbdce767d3c0  intl/plural.y
 287ad6ebf8b8179aa843368e9600a3fb  libdecnumber/decPackedSymbols.h
 8f3ac08d4cc421cc89035e90c890bb09  libdecnumber/decDPDSymbols.h
-0674e50551a1f37ad66af5e4688710cc  libdecnumber/dconfig.h
-18057297675f1d6ea8bd51876457a863  libdecnumber/decQuad.h
-fee170e3084f660b301cded43f33dab1  libdecnumber/Makefile.in
-0943661e2f07ee586ddfd94f1431bfef  libdecnumber/decSingle.c
-7c67ef985c87524fee836cef8e4c121d  libdecnumber/decNumberLocal.h
-d823ba20c8b412bbff750cd4c1880e98  libdecnumber/decDouble.c
+7491c7795c6c03d7a2a8b278490ca898  libdecnumber/dconfig.h
+1b89a5bc4842fd26ecde038c8a017ad6  libdecnumber/decQuad.h
+c15307b3cd8fabf131a41cbfa4f062d4  libdecnumber/Makefile.in
+aef74e5dbc8c3f804d9dd8ed22e9c6c5  libdecnumber/decSingle.c
+2ff776f9e3651435022092b000151422  libdecnumber/decNumberLocal.h
+d02a047fb1fa09dfe54ac69489693cd1  libdecnumber/decDouble.c
 22e16083bf3d0b76c4736f7f6382cfb6  libdecnumber/decDoubleSymbols.h
 76d4afd0dd1c0f5e776cbc40cf2e91b3  libdecnumber/config.in
-48858021d98408930c805620029c9485  libdecnumber/configure.ac
-6d275c187ad6b9f532953246d138fefb  libdecnumber/decPacked.h
-8afd30b0b63647e9195b469bc83f9118  libdecnumber/decContext.c
+2113a2435f70f13e2e6651482ff7a92e  libdecnumber/configure.ac
+9678f392a5f91876203f26e3c70ef287  libdecnumber/decPacked.h
+5425a6733a823197355b8300cbd06524  libdecnumber/decContext.c
 a6c2b3de06c7424706b16f4c206396a1  libdecnumber/.gitignore
 3851bae03416db42a85be1c5610f438b  libdecnumber/decQuadSymbols.h
 2f6da07ba897ca626a4f6d283feeef93  libdecnumber/dpd/decimal128Symbols.h
-bc4d326d73d5c3896157e0fde10b1448  libdecnumber/dpd/decimal32.h
+dffdcb83cf14ca1a6f6c7221cb803536  libdecnumber/dpd/decimal32.h
 0f6db29710e7075c2fd62bc4478b3b8d  libdecnumber/dpd/decimal64Symbols.h
-c9781e827a7967cd6fc66d49dbb6d7b7  libdecnumber/dpd/decimal32.c
-7bff859e94ae843784d72e241ab2b5c7  libdecnumber/dpd/decimal64.c
+87d51d3a1bed477f16f6a03d7d12c40a  libdecnumber/dpd/decimal32.c
+1b3ac8f16152273c87e1f2ec5f887016  libdecnumber/dpd/decimal64.c
 a97c47969dfc92a7666dfe3c2e1e1448  libdecnumber/dpd/decimal32Symbols.h
-301f87bdfb39c27efa10ca36ab11a56a  libdecnumber/dpd/decimal128.h
-906645c3ec32fa2a2708eb6705bb0532  libdecnumber/dpd/decimal128.c
-fc3cbd8a0d344b1ae83a8677ff93fab3  libdecnumber/dpd/decimal128Local.h
-15afb5cf507c63955aef09267fbaa571  libdecnumber/dpd/decimal64.h
-79ae9aac6948bb87e1454113c874a808  libdecnumber/decDPD.h
+f76b24b61366da5ec859d5d7f2eb169f  libdecnumber/dpd/decimal128.h
+6556faedd7609493dbaf68a58ab9de9f  libdecnumber/dpd/decimal128.c
+32cc0742460198c0a98cd868dbf9f159  libdecnumber/dpd/decimal128Local.h
+e2fdfe70083dbc8a6bec996d90813407  libdecnumber/dpd/decimal64.h
+3dde62830c9325c7752d44584a837d39  libdecnumber/decDPD.h
+2bd831b17997584e38305782cebe6948  libdecnumber/ChangeLog.jit
 2f89d012c7a8a2912e7dce02bd4a08dc  libdecnumber/decCommonSymbols.h
-dff6fa78c9e24d7c56df078486f4eb88  libdecnumber/decBasic.c
-69c1f6e146aba442c158ed3c0ce23dbf  libdecnumber/decNumber.c
-98c5e337cb4edd5839f1b4059b0dcba4  libdecnumber/configure
-e54b222e28dcc0e1cdbdb01fe4772570  libdecnumber/decExcept.h
-2746a1155d319a2cda823ee5b58921ce  libdecnumber/aclocal.m4
-b1bcd2a666fd01c133309c06c3242fcd  libdecnumber/decQuad.c
-186b9ca9837f0aca3763b4400faea9c5  libdecnumber/ChangeLog
-0ba6bb07330f5a21d83e3e1226758a06  libdecnumber/bid/bid2dpd_dpd2bid.c
+aa51c887f31905ea292407060a6f8a5e  libdecnumber/decBasic.c
+e8c7308ce5716c1c64c6894097ff7bac  libdecnumber/decNumber.c
+8d45ac8ae4853b00e9378fc15b01abb2  libdecnumber/configure
+4f847be768ae6810ccfc10b3e07aab89  libdecnumber/decExcept.h
+b9ab907f769f0664ed31991a9c9bf3bb  libdecnumber/aclocal.m4
+6768e55c274f86452a2659c2c14117f2  libdecnumber/decQuad.c
+24427ec08d95d230c4f70dead8daeedb  libdecnumber/ChangeLog
+12230c29a88550a7f662f60696680206  libdecnumber/bid/bid2dpd_dpd2bid.c
 eab7eeba10520ab4a805774d42b8f9dd  libdecnumber/bid/decimal128Symbols.h
-46e5d626369c59cd16837dfda58fe743  libdecnumber/bid/host-ieee128.c
+7bf8ced2827725463bd5ae851407043e  libdecnumber/bid/host-ieee128.c
 43b6b2bd872ad984104804b1b20fb10c  libdecnumber/bid/decimal32.h
-062ce6acd11505f6ae65e2b941087122  libdecnumber/bid/host-ieee64.c
-c554da3dd320de9f364bb99511586e0a  libdecnumber/bid/bid-dpd.h
+510aa882d7973ab728d24af922c5ec67  libdecnumber/bid/host-ieee64.c
+728c92a81977f6b1ce57146d7a66076c  libdecnumber/bid/bid-dpd.h
 9f903ba71afb574bfa3a0f3cd2f9fbc7  libdecnumber/bid/decimal64Symbols.h
-ecb561b796cfb1c5692bb0ac8fd7f80d  libdecnumber/bid/decimal32.c
-3ac7f2c74a6f7f2b2c6f5b06c0c41565  libdecnumber/bid/decimal64.c
+70e969f148d8b9fa58b2b78dea3d4e4e  libdecnumber/bid/decimal32.c
+1639393fa356e435abfd665e376a9bf6  libdecnumber/bid/decimal64.c
 c5864ab84549ca0f34188ce5b057bbee  libdecnumber/bid/decimal32Symbols.h
-5e0d1b3c470ff7cd183e932fed9b30d4  libdecnumber/bid/bid2dpd_dpd2bid.h
-99c533007135375058063505c1b07040  libdecnumber/bid/host-ieee32.c
+e6d087e338c023920a35188158b74578  libdecnumber/bid/bid2dpd_dpd2bid.h
+641724c6fc243fd4d0448f2533401554  libdecnumber/bid/host-ieee32.c
 47afd72790bc284aceb5a23597cc6146  libdecnumber/bid/decimal128.h
-e6078e224aa63f69d8b139858038e8f7  libdecnumber/bid/decimal128.c
+ea69a6d83c0278792d3acc4f6b069c82  libdecnumber/bid/decimal128.c
 f8df5b96d86c867ad233c6f0d3e2541f  libdecnumber/bid/decimal128Local.h
 8c612aadae9886f1a72212f93d8651c0  libdecnumber/bid/decimal64.h
-fcc26742ae6975512f81c902fc679fe6  libdecnumber/decContext.h
+4ddc06f2c811639fa14beb3e6cc3fa32  libdecnumber/decContext.h
 dd46d36cafe0d7dcb669ad059fbed9b6  libdecnumber/decNumberSymbols.h
-6fa37e4f0eb3ad12181de27f8357cd68  libdecnumber/decRound.c
+7d452ade6ccb9a38c45915fe23ff97a2  libdecnumber/decRound.c
 53b67627dab6d36fba960317d84c1487  libdecnumber/decContextSymbols.h
-a4b73550a11428009bb7a8a4f4f034a6  libdecnumber/decNumber.h
-6284a8b81ab6992993f876f58ff3600c  libdecnumber/decLibrary.c
-0e3d80d4d461d4e6b7dc54217019866b  libdecnumber/decExcept.c
-7e07f7dbb90b2a62f74b2561f66f7b59  libdecnumber/decDouble.h
-70dd3797bef871511b6e7a5360a77386  libdecnumber/decRound.h
+3423f460d0273790302c0f9d01790301  libdecnumber/decNumber.h
+dd054d8a7b37d7c966b69cb9f1de8d4b  libdecnumber/decLibrary.c
+6b3d38ddffa7f13ce3215b4d09e9484b  libdecnumber/decExcept.c
+7c87617750d1b98dc73651fe5e304779  libdecnumber/decDouble.h
+b0edada33cd27ac39d929b258c442adb  libdecnumber/decRound.h
 8998c4f3e69ea3d218b574a2defb9a98  libdecnumber/decSingleSymbols.h
-9c3a9e828557622656503a8059646572  libdecnumber/decSingle.h
-828d8b133f28c377d2a2b9ed16a7015e  libdecnumber/decPacked.c
-c040382ca9cb3f01cb0d4d2f9b97a1aa  libdecnumber/decCommon.c
+14bca761b4ae83667b69345bac5d1613  libdecnumber/decSingle.h
+c2e8e00770012c27928fd039c71f588e  libdecnumber/decPacked.c
+fc0304097041af8de1c67dd83066ea14  libdecnumber/decCommon.c
 4ef74c7498317582fb00b0a1a304177a  libiberty/simple-object-elf.c
 4004fdcde347fda58406b4b84a995c66  libiberty/config/mh-aix
 904bdcd9daf97fa55a9ca8901ffe7435  libiberty/config/mh-openedition
@@ -6978,7 +6987,7 @@ f75800c96e9f5c994ba2d0dde515fad7  libibe
 9d98c584c82453cdb9645961c0fccb73  libiberty/concat.c
 f67d7032f04fc989ca93d25264ffad0a  libiberty/cp-demangle.c
 b121198aef8f193bc4cc32e415646704  libiberty/asprintf.c
-5cd499062517758a0d2b57fa2facace1  libiberty/simple-object.c
+3438fcbda7a6b8475100f4d8b0ab1e88  libiberty/simple-object.c
 21e996a7d3ef984eee623ff111970530  libiberty/memmem.c
 94f22680349b4ae73ad658495d2eb542  libiberty/random.c
 94dd78e5aa05771ffb160785f478fd1f  libiberty/cplus-dem.c
@@ -7044,7 +7053,7 @@ fb2e601fa39c6dfb09b81a443f17576e  libibe
 9d0471286f21d9027bbf1b7c67b87856  libiberty/insque.c
 b2c289eb14e9197dcad172f3acba12b7  libiberty/xmemdup.c
 c9bd3841bbde6d8ae680f62523f00ab0  libiberty/strtol.c
-0c169c188b95d9e87fcc9da288ef0f2a  libiberty/ChangeLog
+0e87770e12b61949764c1817f4fd7aa0  libiberty/ChangeLog
 c34119797a13e71989722851c14b711b  libiberty/atexit.c
 5dc38f391360e671cc1948034a62c57c  libiberty/objalloc.c
 d6266cd7b8b0bd4b05328e08198e1b52  libiberty/argv.c
@@ -7094,9 +7103,9 @@ dee72a6a60e99528b0d17bf3ff9a1e15  ltopti
 bc2f6032c98896249eadb56177c7d357  ltsugar.m4
 c30cd33c496505f13d9fbdb6970c7c33  ltversion.m4
 8fd1cceaa7b6f73df604b14180534345  MAINTAINERS
-6456f5e2935830a2e33f501bac750681  Makefile.def
-9ddac3919a8f5bdc0b0d879c58fd2456  Makefile.in
-ee9326b9e9d8bdc23dc2588e981b198d  Makefile.tpl
+873a14aa56f668912cc2638796de0421  Makefile.def
+cc6ad4b7ef46137be96df3af424a8109  Makefile.in
+195eb82d369e959e036cc68563224215  Makefile.tpl
 5f2a276ee7b8decec541391229d03591  missing
 fbe2467afef81c41c166173adeb0ee20  mkdep
 82b7b70a9845ee61a01f20b29dd2df2c  mkinstalldirs
@@ -7160,7 +7169,7 @@ fd8acf5c23e699251c0cba12de2fb5b6  opcode
 b1603f8211886ad5fcba5b4bac1c9135  opcodes/m32r-opc.c
 94d93eac0cecc62749675bc0a07bb57d  opcodes/moxie-dis.c
 aeb3d6ab693a56fa9ae78af5923ba327  opcodes/tic80-dis.c
-f03b07a41322ffbe80fb5895355c46f7  opcodes/mips-opc.c
+975ea5a368b4b39f0e7c21a18a8d321f  opcodes/mips-opc.c
 82f85f5946700d6818256ee0b9c5ecc9  opcodes/config.in
 12bb8041f8aef4cf20149e601c987cf3  opcodes/configure.ac
 77dd557ea90ae23ae6bc66fa8586542b  opcodes/d30v-opc.c
@@ -7261,7 +7270,7 @@ f2616521db4a304874512281de0301da  opcode
 821e9a6001b4eb57520735c46bac278f  opcodes/lm32-desc.c
 25a3af05d7d778bca89625965576ce1b  opcodes/xstormy16-dis.c
 5902a935d9fe9dbe0ff5d8236a72c6db  opcodes/cgen-dis.in
-3588e5a07ac21c2f6b538b91f4f836db  opcodes/mips-dis.c
+8340797acd276dccf4c0cc3350e0de4f  opcodes/mips-dis.c
 91892bef65d868299ec34b488b4a171e  opcodes/s12z.h
 cfaba148fee5c371656a8ec50375d07a  opcodes/arc-regs.h
 87f4c82677e7cda39f65f9ef3470c98b  opcodes/msp430-decode.opc
@@ -7351,7 +7360,7 @@ b794098718c76a1fcf348fe2412c42c3  opcode
 3e1b56af946bc90309b854236c01f6d5  opcodes/m10300-dis.c
 395f7184aa40f80b8a109ee7f116439f  opcodes/nds32-opc.h
 c81f896bb87c1b3093fbe39e0807501d  opcodes/aarch64-opc.h
-7017eead71c89a6c4bf932b8cd5829ef  opcodes/ChangeLog
+3a6e17db3a38b93b2e4e08abce347620  opcodes/ChangeLog
 327cf11f5c08b578f3b0cdb7f3923280  opcodes/ia64-raw.tbl
 23baa51211f26d956af9bce5ff49852c  opcodes/frv-dis.c
 45b575307227ac1fd4abf99be6a70c72  opcodes/aarch64-opc.c
@@ -7698,7 +7707,7 @@ a44c16d5cf0cef5516bbfab7680abbf8  sim/mo
 964440dbdf931834e8ea8542008fd154  sim/moxie/config.in
 2681d762c5767113cb0971c575c57c9a  sim/moxie/configure.ac
 94b1418028e823bd3a589dafcf7afead  sim/moxie/interp.c
-4fc3f18f37622cb23f41df8fbb6fddc8  sim/moxie/configure
+27c1b2b631d066c550675bd4c69a7c49  sim/moxie/configure
 94500e8b65d9332dee333844d5522a02  sim/moxie/aclocal.m4
 d919962ef2a2527ac92ceba8b893fb67  sim/moxie/ChangeLog
 f69b1b18130fe959aadcd15ac89c6d7d  sim/moxie/sim-main.h
@@ -7707,7 +7716,7 @@ efe0100e10bbf933c5a9c82c9fd8c6cf  sim/ft
 964440dbdf931834e8ea8542008fd154  sim/ft32/config.in
 1252c6201b72af1a27cf291337211592  sim/ft32/configure.ac
 b37de40ea4a236da9c84d1bd11ff3b8f  sim/ft32/interp.c
-c4e71e445eed90f968441d012e7dc0da  sim/ft32/configure
+add8cc54df667efa676619d1e5453f49  sim/ft32/configure
 94500e8b65d9332dee333844d5522a02  sim/ft32/aclocal.m4
 cca394963a06fdeae736e3575103d984  sim/ft32/ChangeLog
 ffb2be9ee0d201f458dcef71ee96edc5  sim/ft32/sim-main.h
@@ -7718,7 +7727,7 @@ d15177b2bc3b28b0462cf836dae336bf  sim/aa
 964440dbdf931834e8ea8542008fd154  sim/aarch64/config.in
 7eaa254f8014a0bdf46911aa658abd46  sim/aarch64/configure.ac
 75b0905c99cc4fb3dcb285abc2785209  sim/aarch64/interp.c
-4ee37f941fba8a15786706afc8045435  sim/aarch64/configure
+c0d4b02c7f80d914f30ed008e8c76285  sim/aarch64/configure
 2a4cc676da3431298557cafe209ddd7b  sim/aarch64/aclocal.m4
 d307b3f44d1a0d0c136bcc50a7b2b907  sim/aarch64/memory.h
 96d8686f3044e15cf4cc811bbd8988c5  sim/aarch64/ChangeLog
@@ -7732,7 +7741,7 @@ e90301197476a58522f5dd4ea5aeeb1a  sim/aa
 b42c6e70509d69418cca5e4d03a16f64  sim/msp430/config.in
 69ca7d2c54cb78ff7c39807bb8176e98  sim/msp430/configure.ac
 55db1392d0aeaef81852d75286975771  sim/msp430/msp430-sim.c
-b84f8100a3469a24ce175452fc4acdf5  sim/msp430/configure
+334a8d95c6cc707479c7781e0a20f74c  sim/msp430/configure
 94500e8b65d9332dee333844d5522a02  sim/msp430/aclocal.m4
 a25d80616c54aac2f832b3dfc4b8a37f  sim/msp430/ChangeLog
 60373c89146c9a32ed6d0725a6ac0314  sim/msp430/sim-main.h
@@ -7742,7 +7751,7 @@ a25d80616c54aac2f832b3dfc4b8a37f  sim/ms
 daa4535a7428b95572256d31c6b7118d  sim/sh/gencode.c
 32f5b8f9788e8786980836aa08f81713  sim/sh/interp.c
 485762a39054bcf5bf3a3ee2a4de586f  sim/sh/syscall.h
-b9e9b0bc8d824dce0ccf336f3a024647  sim/sh/configure
+bd21c484698d6f5c2432cf74f58cefdc  sim/sh/configure
 94500e8b65d9332dee333844d5522a02  sim/sh/aclocal.m4
 a1217029552bf4107c9b439c95bec39b  sim/sh/ChangeLog
 3055de17feccf02c14e43006cd7540f4  sim/sh/sim-main.h
@@ -7765,7 +7774,7 @@ ba6e5184c7c5ee2343762d79891c28fb  sim/sh
 adbaac5162470002b83025ae45e56bd2  sim/sh64/mloop-media.c
 22a150b50364a514163cb7e782684671  sim/sh64/decode-compact.c
 66514e96a6c0ad21c3ff22c305615caa  sim/sh64/sem-compact.c
-b252c61a24ee0cc7273f4c3cdcdda5af  sim/sh64/configure
+cf41702ab9a4b514edd63b7cf8c160e3  sim/sh64/configure
 94500e8b65d9332dee333844d5522a02  sim/sh64/aclocal.m4
 0ff8e7a3afe73037ab85312898b719a5  sim/sh64/arch.c
 0a9b14abb0765f3b3a6b71204354b174  sim/sh64/arch.h
@@ -7805,7 +7814,7 @@ d51c2b5201f8e21ff8b6d6b8ae58d4ed  sim/fr
 181aea9cf408de2d47003fb2a819f9bd  sim/frv/profile.c
 1977e6537d6637cde22d7159569df764  sim/frv/sem.c
 6115713946909976a5142ebe0fce3d23  sim/frv/profile-fr400.h
-36566f8de95e0930635aea7bbfb4ea60  sim/frv/configure
+d2df55b6cc80baa45b7e61f454c80e8c  sim/frv/configure
 94500e8b65d9332dee333844d5522a02  sim/frv/aclocal.m4
 55cac7557452c7802e3bb854459f6c6d  sim/frv/profile-fr550.c
 87c86402f320967ec68733d3e9cabea4  sim/frv/arch.c
@@ -7830,7 +7839,7 @@ ae12dac7cdf8895146447c34d257ae4d  sim/rl
 ad7df04ed013ceba9be9224adabe6cfc  sim/rl78/main.c
 0ff4ff11ea82e47788342ab45dba656a  sim/rl78/mem.h
 1c7a34e498bc38177f0d48eb67d258e8  sim/rl78/rl78.c
-a61b1c11a4108b073f630ff1b179e1e3  sim/rl78/configure
+13aa6a5d53680ab031d55da7bc651582  sim/rl78/configure
 94500e8b65d9332dee333844d5522a02  sim/rl78/aclocal.m4
 0f70a274f16673f3c92216579480a7f7  sim/rl78/ChangeLog
 db1894c105a9f4bd4e039de55838eeae  sim/rl78/trace.h
@@ -7848,7 +7857,7 @@ af2c83244a91504979f6a0b77e9f6219  sim/v8
 6e73125e9ecb8a876b27861efcaefe89  sim/v850/configure.ac
 5be894a40ad061ddb10cc74af505e506  sim/v850/v850_sim.h
 f1c7e4031cb70d8722addad1f2ad8612  sim/v850/interp.c
-f5f769f9d56d824011c4448ceaddbe5f  sim/v850/configure
+14da5a59449944feda9a31a1546a99d0  sim/v850/configure
 94500e8b65d9332dee333844d5522a02  sim/v850/aclocal.m4
 dbfef4c712c7087215cd7f121a3f6fb2  sim/v850/ChangeLog
 26161fca5d747178c7cb1ea21cf3ee39  sim/v850/sim-main.h
@@ -7877,7 +7886,7 @@ ad1dd62bbde38eda63bef32a6b534987  sim/mi
 234fe68587fc61c693d7efeb687e41b6  sim/mips/dsp.c
 0cc85f54d1aaffc21fa0a619b2e23020  sim/mips/mips.dc
 efe0c6cab20f817cc6575b6052a10ec6  sim/mips/micromips.dc
-279708da9fb2f54fe685e189e40c7e60  sim/mips/configure
+360fdd77b534fa040f03d41ecadd3c2d  sim/mips/configure
 94500e8b65d9332dee333844d5522a02  sim/mips/aclocal.m4
 3399ae632b9c4e401c15bea178da5767  sim/mips/m16e.igen
 ffa2a2b2d2a5c53d3339ab49adc1ff75  sim/mips/dv-tx3904sio.c
@@ -7896,7 +7905,7 @@ e90e73eee445d44f164749dc8d8c0a4d  sim/mi
 56a93c7d96723c8e7fbe33440b8a4baa  sim/microblaze/microblaze.h
 976c97ea83f21c7c6e503690eb58d47c  sim/microblaze/microblaze.isa
 0996e860f6f673405679df899d6cb042  sim/microblaze/interp.c
-b9e9b0bc8d824dce0ccf336f3a024647  sim/microblaze/configure
+bd21c484698d6f5c2432cf74f58cefdc  sim/microblaze/configure
 94500e8b65d9332dee333844d5522a02  sim/microblaze/aclocal.m4
 99e92eed2bc88c43cf09ba8b32a53d06  sim/microblaze/ChangeLog
 4454465c1348f734abeda6ec860b5d37  sim/microblaze/sim-main.h
@@ -7907,7 +7916,7 @@ a3869b1abe35742852b9f32dc577e22a  sim/d1
 030a61bc5d67ce1b8a537c7e93b9de11  sim/d10v/gencode.c
 0588da5709059f25ef93487a2068a8e7  sim/d10v/d10v_sim.h
 486ffceb0ca54037eb52857f2c2be17e  sim/d10v/interp.c
-b9e9b0bc8d824dce0ccf336f3a024647  sim/d10v/configure
+bd21c484698d6f5c2432cf74f58cefdc  sim/d10v/configure
 94500e8b65d9332dee333844d5522a02  sim/d10v/aclocal.m4
 0151d6f631ef5b3834e7d5a43304b55e  sim/d10v/endian.c
 587912cfc56a3ad22382cc8f82d7453f  sim/d10v/ChangeLog
@@ -7923,7 +7932,7 @@ da96866419ef5db5a90b5bc8a407b9c4  sim/or
 42461f1fe8dce184c5d033b77ecdcaea  sim/or1k/mloop.in
 551a7419819d000c43081310d0eee201  sim/or1k/or1k-sim.h
 7a0548bb53da2d39213f22f6a69c3c05  sim/or1k/sem.c
-0b0ad1c3e97653ca58dedb5c8a08f6b4  sim/or1k/configure
+4db34a961a099b717d3a5382d89d6277  sim/or1k/configure
 5c2b15dd4234b6a4a05a60129bb84cd6  sim/or1k/aclocal.m4
 3fb08eead9fb1496f6802859b2ff4c0f  sim/or1k/arch.c
 80a5c05942a3783359d3b956d5be784d  sim/or1k/arch.h
@@ -11229,7 +11238,7 @@ cc16675e19f20d246b81ba1aa64e2c05  sim/te
 36e51fd3fa445f63573cffef4da15282  sim/testsuite/frv-elf/configure
 b03f73b590c393cd710f753106cd5184  sim/testsuite/frv-elf/ChangeLog
 e30b4c8b1165f133ffd45b28034a33a7  sim/testsuite/frv-elf/grloop.s
-9b69bb295d5d4913ead3b07b70838753  sim/testsuite/configure
+1813737e8a78c7f37a046ee722135fe6  sim/testsuite/configure
 8125b34e96a1751a078ecd537b1a6068  sim/testsuite/ChangeLog
 89126451f8ccabf427d2079823869725  sim/testsuite/mips64el-elf/Makefile.in
 aeb9f246be0c025b69dcf144b916ce33  sim/testsuite/mips64el-elf/configure.ac
@@ -11292,7 +11301,7 @@ be230dfdf2fc8a9548a086fd285ea00e  sim/te
 964440dbdf931834e8ea8542008fd154  sim/avr/config.in
 efea71bd9c04da6a2777a1190acbe328  sim/avr/configure.ac
 2bc7d6a2639e02391422085e1eeaa078  sim/avr/interp.c
-bf1dfc5b21dc70f1aee3e5465f14fee0  sim/avr/configure
+5ee5c8346935051eafa9523895ce8aa9  sim/avr/configure
 94500e8b65d9332dee333844d5522a02  sim/avr/aclocal.m4
 f7fdcd9476a22c222329703588c3fe52  sim/avr/ChangeLog
 ef408ad5cc564dca2884a30a837e310a  sim/avr/sim-main.h
@@ -11300,7 +11309,7 @@ ef408ad5cc564dca2884a30a837e310a  sim/av
 964440dbdf931834e8ea8542008fd154  sim/mcore/config.in
 9aedeeeb3f292ad0e1f72f0a0fde3982  sim/mcore/configure.ac
 e8ed624504b6deb8b5390fab4f385daf  sim/mcore/interp.c
-b9e9b0bc8d824dce0ccf336f3a024647  sim/mcore/configure
+bd21c484698d6f5c2432cf74f58cefdc  sim/mcore/configure
 94500e8b65d9332dee333844d5522a02  sim/mcore/aclocal.m4
 199b9d7620fd06d6fdb11531783d8553  sim/mcore/ChangeLog
 e3581c52e5bce87d04f071d8f5b5d730  sim/mcore/sim-main.h
@@ -11318,7 +11327,7 @@ de8952792c5beba20c26acf57914a03c  sim/lm
 1fa624fcac5d6ac1835a0344ddb35bef  sim/lm32/dv-lm32uart.c
 57426bccf9c2596f3134a4d1de436dda  sim/lm32/sem.c
 225cd65fc670986edb16b2b0722c23be  sim/lm32/user.c
-3e8b67604175fc44c4bf51f927220ce2  sim/lm32/configure
+8e180f8eda28a0aaa8378ff0c0a03812  sim/lm32/configure
 94500e8b65d9332dee333844d5522a02  sim/lm32/aclocal.m4
 76e8b122e5f8cca3b6832efb091ea3ab  sim/lm32/arch.c
 6d2051697e94ed2827dd095313d8d672  sim/lm32/arch.h
@@ -11337,7 +11346,7 @@ dc52869edda505f625941fb19c1a4f32  sim/cr
 21383288c6aaa544783c5b1b8bd62a58  sim/cr16/configure.ac
 d47c0b6a843ee19d4518ea7d291a42a8  sim/cr16/gencode.c
 42d196f40d6fa367ff9d7e30d1f55bec  sim/cr16/interp.c
-2f09cfa85c6867ea1342eae2480ca046  sim/cr16/configure
+e51beeacc5162a23ba43793037bc6875  sim/cr16/configure
 94500e8b65d9332dee333844d5522a02  sim/cr16/aclocal.m4
 df830fe3c2195af11d2fc229a4116c92  sim/cr16/ChangeLog
 108a0dc61b94bdbdabd56947801ba642  sim/cr16/sim-main.h
@@ -11440,7 +11449,7 @@ df6ce308b6164a82f216e6dc70667ced  sim/pp
 ac8af167df5e2cc9c80ab1bb813764bb  sim/ppc/emul_unix.h
 cafa0dabf0d206be630c333994e46bdf  sim/ppc/dp-bit.c
 9a0ecd71253cc8e01812639dcfe6385f  sim/ppc/emul_generic.c
-c810423038f6e18c0b02a82c710b60eb  sim/ppc/configure
+8022e9f805a1b9f046d4d33aaf56df8d  sim/ppc/configure
 9e8810a61d4a6fa162efcf8c18061f26  sim/ppc/emul_generic.h
 4f90dac25651b90137e08d0dc8b280e2  sim/ppc/hw_register.c
 d41d8cd98f00b204e9800998ecf8427e  sim/ppc/aclocal.m4
@@ -11490,7 +11499,7 @@ d83e9281376698706bead364f2bc0c9e  sim/pp
 a3aaffcc56fa65b1fa1c3ff4e63eaa6a  sim/h8300/compile.c
 e76052c753e5884d28491e61e9d73aea  sim/h8300/config.in
 addd9069b6cc7076e0797d0d755c2b10  sim/h8300/configure.ac
-ecf94e2522d525f47764bb9bfe1a10ef  sim/h8300/configure
+3bf9aa69b2734cd8ae950ffbb9909fee  sim/h8300/configure
 94500e8b65d9332dee333844d5522a02  sim/h8300/aclocal.m4
 e9c6c6b57764d71012fbe0e3d1754589  sim/h8300/ChangeLog
 5a198f6b19aed858570b289330bf44f2  sim/h8300/writecode.c
@@ -11515,7 +11524,7 @@ d27ffd43ba40429bf1f35d60144f7471  sim/cr
 b47d40da665317ca835bf51e5f0b574c  sim/cris/mloop.in
 5842e5b89279b1e704cd1c06243c9037  sim/cris/decodev10.h
 03729219114356aea66f75c54b036544  sim/cris/dv-cris.c
-a5a0d95f34edb0dda64543ca03e1cd49  sim/cris/configure
+e959015390928f542303b77887ac3d2a  sim/cris/configure
 d014b5cdfd06f4627052c7a22c231a38  sim/cris/cris-opc.h
 94500e8b65d9332dee333844d5522a02  sim/cris/aclocal.m4
 e98cb540663b1e0bc5029e4c4ea72439  sim/cris/arch.c
@@ -11531,7 +11540,7 @@ c730c5c16fcbb6ab0baa2fa910fa39d4  sim/cr
 97bfa3d2b542d9993c8c2eef26c251c3  sim/cris/sim-main.h
 d867b7b2d30b1ab813ab91d221982d95  sim/cris/dv-cris_900000xx.c
 1b5e154d06f98399ae47cc77a118708c  sim/cris/sim-if.c
-fd528a00caa6fe5f9498cd31e1871b73  sim/configure
+6cfb5c0900dcca266dde825c27860fe0  sim/configure
 faf3e0477f6e5f6c2a36f9da7608cf97  sim/m32c/srcdest.c
 821c7c6e084f93f7cb7b05ffa66ae8a8  sim/m32c/m32c.opc
 bf15e79e8ebb9d1453453cb9f03eb57a  sim/m32c/Makefile.in
@@ -11551,7 +11560,7 @@ b3e216f12dc79e66d5a7403a283715fa  sim/m3
 4b47076f572f6fab8fecba360effb48c  sim/m32c/mem.h
 24e2f861da06951620983b5a9ca6efe2  sim/m32c/syscall.h
 8ae457e15e9b68a71213e3a6252cdafc  sim/m32c/syscalls.c
-96a551c86d03c14502b18f95aea05dc3  sim/m32c/configure
+83e7b561063f34b16a967fa521f3285c  sim/m32c/configure
 94500e8b65d9332dee333844d5522a02  sim/m32c/aclocal.m4
 1ba16e636f08f9dc4b0ea52117faec19  sim/m32c/syscalls.h
 29eec8e13a9ab5f77501faa6904d4725  sim/m32c/ChangeLog
@@ -11590,7 +11599,7 @@ f4fce44acccb2fd2cb593ae660622bea  sim/m3
 b77761a7009811c139958f7d13d91aad  sim/m32r/sem.c
 82a529f52526ae716a447086a163c005  sim/m32r/m32r-sim.h
 c72893bd3b859b0aa61698faa65340df  sim/m32r/dv-m32r_cache.c
-94255cd1d552e632fffcff088c3fb59a  sim/m32r/configure
+560d4057fc7cb4ad3c3cbfbbfffa5286  sim/m32r/configure
 94500e8b65d9332dee333844d5522a02  sim/m32r/aclocal.m4
 b0bbb075aaaf1ba9186da23a3b3798db  sim/m32r/dv-m32r_uart.c
 df1a42e032e84f4af5b941b9dbbc9751  sim/m32r/arch.c
@@ -11618,7 +11627,7 @@ fda7fcce98218a9b90089f9910b1d6cb  sim/mn
 a7335227cef936abda2f0c8402e79570  sim/mn10300/mn10300.igen
 e06d3d5148b90d05798fdeb1671f9b2c  sim/mn10300/mn10300_sim.h
 466a3655c14b5c268d44cd0056c223eb  sim/mn10300/dv-mn103cpu.c
-fe6d3b673c921346db09204d9fb5954e  sim/mn10300/configure
+500f8da5af393b82f3db927d82b05565  sim/mn10300/configure
 94500e8b65d9332dee333844d5522a02  sim/mn10300/aclocal.m4
 0657f237bd722862fdab342c2ee81685  sim/mn10300/dv-mn103int.c
 4e06f442e7ebb9bdfacba51dd57bebfb  sim/mn10300/ChangeLog
@@ -11642,7 +11651,7 @@ cbeb8528f051a7e516c4b3174bc184e0  sim/er
 a317bf293917ac978f81df996ae270f3  sim/erc32/erc32.c
 9f2cbd625dfef51b3d1162ba9dbb8a4f  sim/erc32/NEWS
 188f5f363f4d29ed87d95280f53020c4  sim/erc32/sis.c
-1258b3f717bd77a52a662865246afaae  sim/erc32/configure
+adde970347626a904b57a7c12bfc8b6c  sim/erc32/configure
 69d18c82b0e82fd6816bb82c7c66321a  sim/erc32/interf.c
 94500e8b65d9332dee333844d5522a02  sim/erc32/aclocal.m4
 5bd01b17fd4b51a4a0f097fa09f1c291  sim/erc32/ChangeLog
@@ -11656,7 +11665,7 @@ ee384f92176f7d3b58d7c93f7ac5b5d5  sim/iq
 737673b35190ff1290e1b77ff3acafda  sim/iq2000/configure.ac
 4246da8920a54ff1bf690cfe5f565035  sim/iq2000/mloop.in
 bfdb8bdd66315b7f1e03bb8fb7bca6e3  sim/iq2000/sem.c
-c15368237319dbac2233a32e09d7a411  sim/iq2000/configure
+724f10f5fed0b72ac4c227b3988a2a7d  sim/iq2000/configure
 94500e8b65d9332dee333844d5522a02  sim/iq2000/aclocal.m4
 e74abee1ee603b8445438e9a508e7aa7  sim/iq2000/arch.c
 a16159f86261d7f59146a0a4632896b6  sim/iq2000/arch.h
@@ -11682,7 +11691,7 @@ c4ed795d8dc06d6f8eade00f7540db80  sim/ar
 99f99d9cab8e2927cc38bd436cfcd96b  sim/arm/iwmmxt.c
 68468963c3ef325838864f7216f70da9  sim/arm/armvirt.c
 46cac1156b87b55c6ac594921dba9f82  sim/arm/armos.h
-b9e9b0bc8d824dce0ccf336f3a024647  sim/arm/configure
+bd21c484698d6f5c2432cf74f58cefdc  sim/arm/configure
 94500e8b65d9332dee333844d5522a02  sim/arm/aclocal.m4
 094764c9d200b64d8715f1d3da494b3f  sim/arm/dbg_rdi.h
 1b74e169746ed00b93ba59f8259cc4a1  sim/arm/ChangeLog
@@ -11778,7 +11787,7 @@ c549474a3d8c3650e4125e352a351c74  sim/bf
 c67b2baec67606a371bbe00edcc3dce8  sim/bfin/bfroms/bf537-0.0.h
 3f3dced2009aa58b97aa7068a4b1c5aa  sim/bfin/dv-bfin_dma.h
 d323235922758047eed0f7d8d6e60f93  sim/bfin/dv-bfin_uart.c
-44dfaf7bdc016369ae4b9e1d248476ab  sim/bfin/configure
+8335176ffec43679b722127bc0d5ebd3  sim/bfin/configure
 4e06e108b72b5c2dffee423c3643f06a  sim/bfin/dv-bfin_uart.h
 15063e900344de2092f3f12fce27f60b  sim/bfin/aclocal.m4
 b0d212309f505b3794650d6d61c8ec21  sim/bfin/dv-bfin_pll.c
@@ -11816,7 +11825,7 @@ a58aa2b3e9147a6751e908451a438dc0  sim/m6
 6c8285be6bdf0613d9c71b301008d6ae  sim/m68hc11/interp.c
 e5a8df99db1fcac27275a409a57c25e2  sim/m68hc11/interrupts.h
 12a7caba1afbe74da2b95e23b1a09dbd  sim/m68hc11/dv-nvram.c
-faff920760d5dad452ed1e5744af6e30  sim/m68hc11/configure
+d9d17f9dc6b715e635b08185d20b10bc  sim/m68hc11/configure
 53634a2a138f73733b62d051babe99af  sim/m68hc11/emulos.c
 94500e8b65d9332dee333844d5522a02  sim/m68hc11/aclocal.m4
 73ce3a8da948162f1780168e7a6f5f7f  sim/m68hc11/interrupts.c
@@ -11842,7 +11851,7 @@ d64ede94894db11e726d676199c5febe  sim/rx
 bd4d4bba34146a480bfbb1f5b38d8501  sim/rx/fpu.c
 e11bce9c6b8932ec1cd869a334a87d94  sim/rx/err.c
 aa6be5b9268a6a4a6215f91067ab5f27  sim/rx/syscalls.c
-771b1632c15268e7f2a644c0116d3088  sim/rx/configure
+a1f0fa2b40e9c8753b14923908fa7553  sim/rx/configure
 94500e8b65d9332dee333844d5522a02  sim/rx/aclocal.m4
 8218219ab221c420502bdd78e2d68936  sim/rx/syscalls.h
 18700e132dcb3783878697607d53c05a  sim/rx/ChangeLog
@@ -11879,7 +11888,7 @@ f4da2375638e3bdd1d4bb75da1eb8509  sim/ig
 3dfe10deaf92eef958b5ad480955093d  sim/igen/gen-engine.c
 9b14b2549d245dcf69fddb58f8a7fb8d  sim/igen/igen.c
 79dfb96944da41656b43b9ae71714ccc  sim/igen/gen-model.h
-2441df1f219d8549e76957057e2c56b6  sim/igen/configure
+a3aca9f2cd2e99570b780b41d82a50e6  sim/igen/configure
 58b74b4cd0a02c5a3c147041d00997dc  sim/igen/lf.c
 a1c25e3c8d3c24df3fe140ed7dffb8fb  sim/igen/ChangeLog
 81b59ff0c081343fd12932f154ffef9b  sim/igen/gen-itable.c
@@ -12082,7 +12091,7 @@ d6c05757d17814110c93151ab5c1c910  zlib/e
 2140627edcd840671f03eced0741c520  zlib/examples/gzlog.c
 cba90a61087e9d9c6bbb45a005543468  zlib/examples/gzappend.c
 6ac79bd8913b81b91a5dfbbe372331dc  zlib/examples/enough.c
-0338828e9d00c94645648b1517108324  zlib/zlib.h
+41ed01a8629ee4eaf80dfc6562d9598d  zlib/zlib.h
 f6a102e1a91215f0e249b266053e9956  zlib/watcom/watcom_l.mak
 6f80451b702a08fa8d149161e1d75313  zlib/watcom/watcom_f.mak
 08310c11af1d0076d133415431f659ef  zlib/example.c
@@ -12093,7 +12102,7 @@ f28d16b67efecdfafa0d816a7d982124  zlib/c
 b63e60172ba3a6dcc5a8cc6f990bc039  zlib/configure.ac
 68c4c1f6c737d307d372130351b123a6  zlib/compress.c
 26a915e4bc7d8d65872c524a4716e51e  zlib/README
-53d23f2ae44cfa10de8d0255c1106b77  zlib/ChangeLog.bin-gdb
+9b446842f2aabb972ba6dabdcbb9d9cd  zlib/ChangeLog.bin-gdb
 8a3caeeacc6135dce18634b7b5da1eac  zlib/uncompr.c
 a018d7e9e40c63ce8e1be3f6fa26e8a7  zlib/treebuild.xml
 18d61f3b741431bbc971340507f413e2  zlib/deflate.c
@@ -12110,7 +12119,7 @@ b917eb81b8d4b72931282aeedc167f83  zlib/o
 c999b14aab6322655059b2f1146fb935  zlib/gzread.c
 041a9be530eca6d4b057404cf1cc9350  zlib/qnx/package.qpg
 0e9a37be8e3b85cc0ccf60504064c297  zlib/ChangeLog.jit
-de472a3069a84c6e6b1eb083c3f91b53  zlib/gzguts.h
+e2dee880a39c7781e9902c5db8f36e10  zlib/gzguts.h
 7c4ee539faa6c908c3860588df424be1  zlib/doc/rfc1952.txt
 c9680de1a6b8939e16fd5e2a4f4785b8  zlib/doc/rfc1950.txt
 63be46f443f80cc9081ed765198d4b8a  zlib/doc/algorithm.txt
@@ -12127,7 +12136,7 @@ ec87be89b9bcca8ced80a70f857e823b  zlib/i
 2c08acd5014596272031fdd1a36d0f1c  zlib/gzlib.c
 004a8c34eba1b805f836a09dd4759f34  zlib/acinclude.m4
 20d7b26f5ae64f4e8501f846beab550c  zlib/inffast.c
-8a4f74369a0ba6d03df80407905f2b3d  zlib/configure
+5f7d6de84176df52f5ef40b2032ad9ca  zlib/configure
 2a7a661ce2d463e3876704786fd8dfdd  zlib/msdos/Makefile.msc
 ddcc308923bda1742d6c6638367da0dd  zlib/msdos/Makefile.dj2
 80adf0a73c836697ef02cd8cc19733cd  zlib/msdos/Makefile.bor
@@ -12150,9 +12159,9 @@ f2a2eb9767175a34b816d7b31de0c6dc  zlib/z
 929d15e7fc86ced153a5b0feae168b4e  zlib/test/minigzip.c
 fb6a1f880ef0e3bca0dd9185e6eb283f  zlib/zutil.c
 a407d2308188e881b49c32d586d0da82  zlib/gzwrite.c
-45b240ee76fa467ad8f2a3f0ad2bd45a  zlib/ChangeLog.gcj
+2effeeacadeab8edd2c3c4ae856f019d  zlib/ChangeLog.gcj
 257272e4cea1c919fe86edcdf5c2dd57  zlib/win32/Makefile.msc
-9ea63abcc97a099dc00876ae13dee279  zlib/win32/zlib.def
+a71eedd908795ef5794f1d4135654415  zlib/win32/zlib.def
 311d9cf5cbf7538b8b8120f13c6c1385  zlib/win32/zlib1.rc
 0b80cb8a4ec18437ea653c67f466cb5b  zlib/win32/README-WIN32.txt
 fc5b8a38022995608b2a04fb7ebd17d7  zlib/win32/Makefile.bor
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/opcodes/ChangeLog ./opcodes/ChangeLog
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/opcodes/ChangeLog	2018-06-12 01:49:21.000000000 +0000
+++ ./opcodes/ChangeLog	2018-06-19 01:49:04.000000000 +0000
@@ -1,3 +1,22 @@
+2018-06-14  Faraz Shahbazker  <Faraz.Shahbazker@mips.com>
+
+	* mips-dis.c (mips_arch_choices): Add GINV to mips32r6 and
+	mips64r6 descriptors.
+	(parse_mips_ase_option): Handle -Mginv option.
+	(print_mips_disassembler_options): Document -Mginv.
+	* mips-opc.c (decode_mips_operand) <+\>: New operand format.
+	(GINV): New macro.
+	(mips_opcodes): Define ginvi and ginvt.
+
+2018-06-13  Scott Egerton  <scott.egerton@imgtec.com>
+	    Faraz Shahbazker  <Faraz.Shahbazker@mips.com>
+
+	* mips-dis.c (mips_arch_choices): Add CRC and CRC64 ASEs.
+	* mips-opc.c (CRC, CRC64): New macros.
+	(mips_builtin_opcodes): Define crc32b, crc32h, crc32w,
+	crc32cb, crc32ch and crc32cw for CRC.  Define crc32d and
+	crc32cd for CRC64.
+
 2018-06-08  Egeyar Bagcioglu  <egeyar.bagcioglu@oracle.com>
 
 	PR 20319
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/opcodes/mips-dis.c ./opcodes/mips-dis.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/opcodes/mips-dis.c	2018-06-12 01:49:22.000000000 +0000
+++ ./opcodes/mips-dis.c	2018-06-19 01:49:04.000000000 +0000
@@ -563,7 +563,7 @@ const struct mips_arch_choice mips_arch_
   { "mips32r6",	1, bfd_mach_mipsisa32r6, CPU_MIPS32R6,
     ISA_MIPS32R6,
     (ASE_EVA | ASE_MSA | ASE_VIRT | ASE_XPA | ASE_MCU | ASE_MT | ASE_DSP
-     | ASE_DSPR2 | ASE_DSPR3),
+     | ASE_DSPR2 | ASE_DSPR3 | ASE_CRC | ASE_GINV),
     mips_cp0_names_mips3264r2,
     mips_cp0sel_names_mips3264r2, ARRAY_SIZE (mips_cp0sel_names_mips3264r2),
     mips_cp1_names_mips3264, mips_hwr_names_mips3264r2 },
@@ -602,7 +602,8 @@ const struct mips_arch_choice mips_arch_
   { "mips64r6",	1, bfd_mach_mipsisa64r6, CPU_MIPS64R6,
     ISA_MIPS64R6,
     (ASE_EVA | ASE_MSA | ASE_MSA64 | ASE_XPA | ASE_VIRT | ASE_VIRT64
-     | ASE_MCU | ASE_MT | ASE_DSP | ASE_DSPR2 | ASE_DSPR3),
+     | ASE_MCU | ASE_MT | ASE_DSP | ASE_DSPR2 | ASE_DSPR3 | ASE_CRC
+     | ASE_CRC64 | ASE_GINV),
     mips_cp0_names_mips3264r2,
     mips_cp0sel_names_mips3264r2, ARRAY_SIZE (mips_cp0sel_names_mips3264r2),
     mips_cp1_names_mips3264, mips_hwr_names_mips3264r2 },
@@ -928,6 +929,12 @@ parse_mips_ase_option (const char *optio
       return TRUE;
     }
 
+  if (CONST_STRNEQ (option, "ginv"))
+    {
+      mips_ase |= ASE_GINV;
+      return TRUE;
+    }
+
   return FALSE;
 }
 
@@ -2568,6 +2575,10 @@ with the -M switch (multiple options sho
                            ASE instructions.\n"));
 
   fprintf (stream, _("\n\
+  ginv                     Recognize the Global INValidate (GINV) ASe\n\
+                           instructions.\n"));
+
+  fprintf (stream, _("\n\
   gpr-names=ABI            Print GPR names according to specified ABI.\n\
                            Default: based on binary being disassembled.\n"));
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/opcodes/mips-opc.c ./opcodes/mips-opc.c
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/opcodes/mips-opc.c	2018-06-12 01:49:22.000000000 +0000
+++ ./opcodes/mips-opc.c	2018-06-19 01:49:04.000000000 +0000
@@ -139,6 +139,7 @@ decode_mips_operand (const char *p)
 	case '\'': BRANCH (26, 0, 2);
 	case '"': BRANCH (21, 0, 2);
 	case ';': SPECIAL (10, 16, SAME_RS_RT);
+	case '\\': BIT (2, 8, 0);		/* (0 .. 3) */
 	}
       break;
 
@@ -404,6 +405,13 @@ decode_mips_operand (const char *p)
 #define XPA     ASE_XPA
 #define XPAVZ	ASE_XPA_VIRT
 
+/* Cyclic redundancy check instruction (CRC) support.  */
+#define CRC	ASE_CRC
+#define CRC64	ASE_CRC64
+
+/* Global INValidate (GINV) support.  */
+#define GINV	ASE_GINV
+
 /* The order of overloaded instructions matters.  Label arguments and
    register arguments look the same. Instructions that can have either
    for arguments must apear in the correct order in this table for the
@@ -3347,6 +3355,20 @@ const struct mips_opcode mips_builtin_op
 
 {"aluipc",		"s,u",		0xec1f0000, 0xfc1f0000, WR_1,			RD_pc,		I37,		0,	0 },
 
+/* MIPS cyclic redundancy check (CRC) ASE.  */
+{"crc32b",		"t,s,-d",	0x7c00000f, 0xfc00ffff, MOD_1|RD_2,		0,		0,		CRC,	0 },
+{"crc32h",		"t,s,-d",	0x7c00004f, 0xfc00ffff, MOD_1|RD_2,		0,		0,		CRC,	0 },
+{"crc32w",		"t,s,-d",	0x7c00008f, 0xfc00ffff, MOD_1|RD_2,		0,		0,		CRC,	0 },
+{"crc32d",		"t,s,-d",	0x7c0000cf, 0xfc00ffff, MOD_1|RD_2,		0,		0,		CRC64,	0 },
+{"crc32cb",		"t,s,-d",	0x7c00010f, 0xfc00ffff, MOD_1|RD_2,		0,		0,		CRC,	0 },
+{"crc32ch",		"t,s,-d",	0x7c00014f, 0xfc00ffff, MOD_1|RD_2,		0,		0,		CRC,	0 },
+{"crc32cw",		"t,s,-d",	0x7c00018f, 0xfc00ffff, MOD_1|RD_2,		0,		0,		CRC,	0 },
+{"crc32cd",		"t,s,-d",	0x7c0001cf, 0xfc00ffff, MOD_1|RD_2,		0,		0,		CRC64,	0 },
+
+/* MIPS Global INValidate (GINV) ASE.  */
+{"ginvi",		"s",		0x7c00003d, 0xfc1fffff, RD_1,			0,		0,		GINV,	0 },
+{"ginvt",		"s,+\\",	0x7c0000bd, 0xfc1ffcff, RD_1,			0,		0,		GINV,	0 },
+
 /* No hazard protection on coprocessor instructions--they shouldn't
    change the state of the processor and if they do it's up to the
    user to put in nops as necessary.  These are at the end so that the
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/aarch64/configure ./sim/aarch64/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/aarch64/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/aarch64/configure	2018-06-19 01:49:04.000000000 +0000
@@ -4072,6 +4072,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # ACX_HAVE_GCC_FOR_TARGET
 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
 
@@ -9292,9 +9296,9 @@ else
 fi
 
   if test "$plugins" = "yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if test "${ac_cv_search_dlopen+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
+$as_echo_n "checking for library containing dlsym... " >&6; }
+if test "${ac_cv_search_dlsym+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -9307,11 +9311,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 #ifdef __cplusplus
 extern "C"
 #endif
-char dlopen ();
+char dlsym ();
 int
 main ()
 {
-return dlopen ();
+return dlsym ();
   ;
   return 0;
 }
@@ -9324,25 +9328,25 @@ for ac_lib in '' dl; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_dlopen=$ac_res
+  ac_cv_search_dlsym=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_dlopen+set}" = set; then :
+  if test "${ac_cv_search_dlsym+set}" = set; then :
   break
 fi
 done
-if test "${ac_cv_search_dlopen+set}" = set; then :
+if test "${ac_cv_search_dlsym+set}" = set; then :
 
 else
-  ac_cv_search_dlopen=no
+  ac_cv_search_dlsym=no
 fi
 rm conftest.$ac_ext
 LIBS=$ac_func_search_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
+$as_echo "$ac_cv_search_dlsym" >&6; }
+ac_res=$ac_cv_search_dlsym
 if test "$ac_res" != no; then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
@@ -12835,7 +12839,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12838 "configure"
+#line 12842 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12941,7 +12945,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12944 "configure"
+#line 12948 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/arm/configure ./sim/arm/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/arm/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/arm/configure	2018-06-19 01:49:04.000000000 +0000
@@ -4072,6 +4072,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # ACX_HAVE_GCC_FOR_TARGET
 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
 
@@ -9292,9 +9296,9 @@ else
 fi
 
   if test "$plugins" = "yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if test "${ac_cv_search_dlopen+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
+$as_echo_n "checking for library containing dlsym... " >&6; }
+if test "${ac_cv_search_dlsym+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -9307,11 +9311,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 #ifdef __cplusplus
 extern "C"
 #endif
-char dlopen ();
+char dlsym ();
 int
 main ()
 {
-return dlopen ();
+return dlsym ();
   ;
   return 0;
 }
@@ -9324,25 +9328,25 @@ for ac_lib in '' dl; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_dlopen=$ac_res
+  ac_cv_search_dlsym=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_dlopen+set}" = set; then :
+  if test "${ac_cv_search_dlsym+set}" = set; then :
   break
 fi
 done
-if test "${ac_cv_search_dlopen+set}" = set; then :
+if test "${ac_cv_search_dlsym+set}" = set; then :
 
 else
-  ac_cv_search_dlopen=no
+  ac_cv_search_dlsym=no
 fi
 rm conftest.$ac_ext
 LIBS=$ac_func_search_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
+$as_echo "$ac_cv_search_dlsym" >&6; }
+ac_res=$ac_cv_search_dlsym
 if test "$ac_res" != no; then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
@@ -12835,7 +12839,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12838 "configure"
+#line 12842 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12941,7 +12945,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12944 "configure"
+#line 12948 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/avr/configure ./sim/avr/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/avr/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/avr/configure	2018-06-19 01:49:04.000000000 +0000
@@ -4072,6 +4072,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # ACX_HAVE_GCC_FOR_TARGET
 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
 
@@ -9292,9 +9296,9 @@ else
 fi
 
   if test "$plugins" = "yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if test "${ac_cv_search_dlopen+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
+$as_echo_n "checking for library containing dlsym... " >&6; }
+if test "${ac_cv_search_dlsym+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -9307,11 +9311,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 #ifdef __cplusplus
 extern "C"
 #endif
-char dlopen ();
+char dlsym ();
 int
 main ()
 {
-return dlopen ();
+return dlsym ();
   ;
   return 0;
 }
@@ -9324,25 +9328,25 @@ for ac_lib in '' dl; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_dlopen=$ac_res
+  ac_cv_search_dlsym=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_dlopen+set}" = set; then :
+  if test "${ac_cv_search_dlsym+set}" = set; then :
   break
 fi
 done
-if test "${ac_cv_search_dlopen+set}" = set; then :
+if test "${ac_cv_search_dlsym+set}" = set; then :
 
 else
-  ac_cv_search_dlopen=no
+  ac_cv_search_dlsym=no
 fi
 rm conftest.$ac_ext
 LIBS=$ac_func_search_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
+$as_echo "$ac_cv_search_dlsym" >&6; }
+ac_res=$ac_cv_search_dlsym
 if test "$ac_res" != no; then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
@@ -12835,7 +12839,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12838 "configure"
+#line 12842 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12941,7 +12945,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12944 "configure"
+#line 12948 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/bfin/configure ./sim/bfin/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/bfin/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/bfin/configure	2018-06-19 01:49:04.000000000 +0000
@@ -4095,6 +4095,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # ACX_HAVE_GCC_FOR_TARGET
 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
 
@@ -9315,9 +9319,9 @@ else
 fi
 
   if test "$plugins" = "yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if test "${ac_cv_search_dlopen+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
+$as_echo_n "checking for library containing dlsym... " >&6; }
+if test "${ac_cv_search_dlsym+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -9330,11 +9334,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 #ifdef __cplusplus
 extern "C"
 #endif
-char dlopen ();
+char dlsym ();
 int
 main ()
 {
-return dlopen ();
+return dlsym ();
   ;
   return 0;
 }
@@ -9347,25 +9351,25 @@ for ac_lib in '' dl; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_dlopen=$ac_res
+  ac_cv_search_dlsym=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_dlopen+set}" = set; then :
+  if test "${ac_cv_search_dlsym+set}" = set; then :
   break
 fi
 done
-if test "${ac_cv_search_dlopen+set}" = set; then :
+if test "${ac_cv_search_dlsym+set}" = set; then :
 
 else
-  ac_cv_search_dlopen=no
+  ac_cv_search_dlsym=no
 fi
 rm conftest.$ac_ext
 LIBS=$ac_func_search_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
+$as_echo "$ac_cv_search_dlsym" >&6; }
+ac_res=$ac_cv_search_dlsym
 if test "$ac_res" != no; then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
@@ -12858,7 +12862,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12861 "configure"
+#line 12865 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12964,7 +12968,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12967 "configure"
+#line 12971 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/configure ./sim/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/configure	2018-06-19 01:49:04.000000000 +0000
@@ -653,8 +653,8 @@ microblaze
 mips
 mn10300
 moxie
-or1k
 msp430
+or1k
 rl78
 rx
 sh64
@@ -3777,7 +3777,6 @@ subdirs="$subdirs aarch64"
   subdirs="$subdirs or1k"
 
 
-       sim_testsuite=yes
        ;;
    rl78-*-*)
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/cr16/configure ./sim/cr16/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/cr16/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/cr16/configure	2018-06-19 01:49:04.000000000 +0000
@@ -4072,6 +4072,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # ACX_HAVE_GCC_FOR_TARGET
 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
 
@@ -9292,9 +9296,9 @@ else
 fi
 
   if test "$plugins" = "yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if test "${ac_cv_search_dlopen+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
+$as_echo_n "checking for library containing dlsym... " >&6; }
+if test "${ac_cv_search_dlsym+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -9307,11 +9311,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 #ifdef __cplusplus
 extern "C"
 #endif
-char dlopen ();
+char dlsym ();
 int
 main ()
 {
-return dlopen ();
+return dlsym ();
   ;
   return 0;
 }
@@ -9324,25 +9328,25 @@ for ac_lib in '' dl; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_dlopen=$ac_res
+  ac_cv_search_dlsym=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_dlopen+set}" = set; then :
+  if test "${ac_cv_search_dlsym+set}" = set; then :
   break
 fi
 done
-if test "${ac_cv_search_dlopen+set}" = set; then :
+if test "${ac_cv_search_dlsym+set}" = set; then :
 
 else
-  ac_cv_search_dlopen=no
+  ac_cv_search_dlsym=no
 fi
 rm conftest.$ac_ext
 LIBS=$ac_func_search_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
+$as_echo "$ac_cv_search_dlsym" >&6; }
+ac_res=$ac_cv_search_dlsym
 if test "$ac_res" != no; then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
@@ -12835,7 +12839,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12838 "configure"
+#line 12842 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12941,7 +12945,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12944 "configure"
+#line 12948 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/cris/configure ./sim/cris/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/cris/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/cris/configure	2018-06-19 01:49:04.000000000 +0000
@@ -4086,6 +4086,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # ACX_HAVE_GCC_FOR_TARGET
 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
 
@@ -9306,9 +9310,9 @@ else
 fi
 
   if test "$plugins" = "yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if test "${ac_cv_search_dlopen+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
+$as_echo_n "checking for library containing dlsym... " >&6; }
+if test "${ac_cv_search_dlsym+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -9321,11 +9325,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 #ifdef __cplusplus
 extern "C"
 #endif
-char dlopen ();
+char dlsym ();
 int
 main ()
 {
-return dlopen ();
+return dlsym ();
   ;
   return 0;
 }
@@ -9338,25 +9342,25 @@ for ac_lib in '' dl; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_dlopen=$ac_res
+  ac_cv_search_dlsym=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_dlopen+set}" = set; then :
+  if test "${ac_cv_search_dlsym+set}" = set; then :
   break
 fi
 done
-if test "${ac_cv_search_dlopen+set}" = set; then :
+if test "${ac_cv_search_dlsym+set}" = set; then :
 
 else
-  ac_cv_search_dlopen=no
+  ac_cv_search_dlsym=no
 fi
 rm conftest.$ac_ext
 LIBS=$ac_func_search_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
+$as_echo "$ac_cv_search_dlsym" >&6; }
+ac_res=$ac_cv_search_dlsym
 if test "$ac_res" != no; then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
@@ -12849,7 +12853,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12852 "configure"
+#line 12856 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12955,7 +12959,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12958 "configure"
+#line 12962 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/d10v/configure ./sim/d10v/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/d10v/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/d10v/configure	2018-06-19 01:49:04.000000000 +0000
@@ -4072,6 +4072,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # ACX_HAVE_GCC_FOR_TARGET
 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
 
@@ -9292,9 +9296,9 @@ else
 fi
 
   if test "$plugins" = "yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if test "${ac_cv_search_dlopen+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
+$as_echo_n "checking for library containing dlsym... " >&6; }
+if test "${ac_cv_search_dlsym+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -9307,11 +9311,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 #ifdef __cplusplus
 extern "C"
 #endif
-char dlopen ();
+char dlsym ();
 int
 main ()
 {
-return dlopen ();
+return dlsym ();
   ;
   return 0;
 }
@@ -9324,25 +9328,25 @@ for ac_lib in '' dl; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_dlopen=$ac_res
+  ac_cv_search_dlsym=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_dlopen+set}" = set; then :
+  if test "${ac_cv_search_dlsym+set}" = set; then :
   break
 fi
 done
-if test "${ac_cv_search_dlopen+set}" = set; then :
+if test "${ac_cv_search_dlsym+set}" = set; then :
 
 else
-  ac_cv_search_dlopen=no
+  ac_cv_search_dlsym=no
 fi
 rm conftest.$ac_ext
 LIBS=$ac_func_search_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
+$as_echo "$ac_cv_search_dlsym" >&6; }
+ac_res=$ac_cv_search_dlsym
 if test "$ac_res" != no; then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
@@ -12835,7 +12839,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12838 "configure"
+#line 12842 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12941,7 +12945,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12944 "configure"
+#line 12948 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/erc32/configure ./sim/erc32/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/erc32/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/erc32/configure	2018-06-19 01:49:04.000000000 +0000
@@ -4059,6 +4059,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # ACX_HAVE_GCC_FOR_TARGET
 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
 
@@ -9279,9 +9283,9 @@ else
 fi
 
   if test "$plugins" = "yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if test "${ac_cv_search_dlopen+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
+$as_echo_n "checking for library containing dlsym... " >&6; }
+if test "${ac_cv_search_dlsym+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -9294,11 +9298,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 #ifdef __cplusplus
 extern "C"
 #endif
-char dlopen ();
+char dlsym ();
 int
 main ()
 {
-return dlopen ();
+return dlsym ();
   ;
   return 0;
 }
@@ -9311,25 +9315,25 @@ for ac_lib in '' dl; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_dlopen=$ac_res
+  ac_cv_search_dlsym=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_dlopen+set}" = set; then :
+  if test "${ac_cv_search_dlsym+set}" = set; then :
   break
 fi
 done
-if test "${ac_cv_search_dlopen+set}" = set; then :
+if test "${ac_cv_search_dlsym+set}" = set; then :
 
 else
-  ac_cv_search_dlopen=no
+  ac_cv_search_dlsym=no
 fi
 rm conftest.$ac_ext
 LIBS=$ac_func_search_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
+$as_echo "$ac_cv_search_dlsym" >&6; }
+ac_res=$ac_cv_search_dlsym
 if test "$ac_res" != no; then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
@@ -12822,7 +12826,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12825 "configure"
+#line 12829 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12928,7 +12932,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12931 "configure"
+#line 12935 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/frv/configure ./sim/frv/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/frv/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/frv/configure	2018-06-19 01:49:04.000000000 +0000
@@ -4081,6 +4081,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # ACX_HAVE_GCC_FOR_TARGET
 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
 
@@ -9301,9 +9305,9 @@ else
 fi
 
   if test "$plugins" = "yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if test "${ac_cv_search_dlopen+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
+$as_echo_n "checking for library containing dlsym... " >&6; }
+if test "${ac_cv_search_dlsym+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -9316,11 +9320,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 #ifdef __cplusplus
 extern "C"
 #endif
-char dlopen ();
+char dlsym ();
 int
 main ()
 {
-return dlopen ();
+return dlsym ();
   ;
   return 0;
 }
@@ -9333,25 +9337,25 @@ for ac_lib in '' dl; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_dlopen=$ac_res
+  ac_cv_search_dlsym=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_dlopen+set}" = set; then :
+  if test "${ac_cv_search_dlsym+set}" = set; then :
   break
 fi
 done
-if test "${ac_cv_search_dlopen+set}" = set; then :
+if test "${ac_cv_search_dlsym+set}" = set; then :
 
 else
-  ac_cv_search_dlopen=no
+  ac_cv_search_dlsym=no
 fi
 rm conftest.$ac_ext
 LIBS=$ac_func_search_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
+$as_echo "$ac_cv_search_dlsym" >&6; }
+ac_res=$ac_cv_search_dlsym
 if test "$ac_res" != no; then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
@@ -12844,7 +12848,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12847 "configure"
+#line 12851 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12950,7 +12954,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12953 "configure"
+#line 12957 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/ft32/configure ./sim/ft32/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/ft32/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/ft32/configure	2018-06-19 01:49:04.000000000 +0000
@@ -4072,6 +4072,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # ACX_HAVE_GCC_FOR_TARGET
 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
 
@@ -9292,9 +9296,9 @@ else
 fi
 
   if test "$plugins" = "yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if test "${ac_cv_search_dlopen+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
+$as_echo_n "checking for library containing dlsym... " >&6; }
+if test "${ac_cv_search_dlsym+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -9307,11 +9311,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 #ifdef __cplusplus
 extern "C"
 #endif
-char dlopen ();
+char dlsym ();
 int
 main ()
 {
-return dlopen ();
+return dlsym ();
   ;
   return 0;
 }
@@ -9324,25 +9328,25 @@ for ac_lib in '' dl; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_dlopen=$ac_res
+  ac_cv_search_dlsym=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_dlopen+set}" = set; then :
+  if test "${ac_cv_search_dlsym+set}" = set; then :
   break
 fi
 done
-if test "${ac_cv_search_dlopen+set}" = set; then :
+if test "${ac_cv_search_dlsym+set}" = set; then :
 
 else
-  ac_cv_search_dlopen=no
+  ac_cv_search_dlsym=no
 fi
 rm conftest.$ac_ext
 LIBS=$ac_func_search_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
+$as_echo "$ac_cv_search_dlsym" >&6; }
+ac_res=$ac_cv_search_dlsym
 if test "$ac_res" != no; then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
@@ -12835,7 +12839,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12838 "configure"
+#line 12842 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12941,7 +12945,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12944 "configure"
+#line 12948 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/h8300/configure ./sim/h8300/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/h8300/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/h8300/configure	2018-06-19 01:49:04.000000000 +0000
@@ -4064,6 +4064,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # ACX_HAVE_GCC_FOR_TARGET
 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
 
@@ -9284,9 +9288,9 @@ else
 fi
 
   if test "$plugins" = "yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if test "${ac_cv_search_dlopen+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
+$as_echo_n "checking for library containing dlsym... " >&6; }
+if test "${ac_cv_search_dlsym+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -9299,11 +9303,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 #ifdef __cplusplus
 extern "C"
 #endif
-char dlopen ();
+char dlsym ();
 int
 main ()
 {
-return dlopen ();
+return dlsym ();
   ;
   return 0;
 }
@@ -9316,25 +9320,25 @@ for ac_lib in '' dl; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_dlopen=$ac_res
+  ac_cv_search_dlsym=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_dlopen+set}" = set; then :
+  if test "${ac_cv_search_dlsym+set}" = set; then :
   break
 fi
 done
-if test "${ac_cv_search_dlopen+set}" = set; then :
+if test "${ac_cv_search_dlsym+set}" = set; then :
 
 else
-  ac_cv_search_dlopen=no
+  ac_cv_search_dlsym=no
 fi
 rm conftest.$ac_ext
 LIBS=$ac_func_search_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
+$as_echo "$ac_cv_search_dlsym" >&6; }
+ac_res=$ac_cv_search_dlsym
 if test "$ac_res" != no; then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
@@ -12827,7 +12831,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12830 "configure"
+#line 12834 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12933,7 +12937,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12936 "configure"
+#line 12940 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/igen/configure ./sim/igen/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/igen/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/igen/configure	2018-06-19 01:49:04.000000000 +0000
@@ -2104,6 +2104,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
 #
 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -3783,6 +3785,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # ACX_HAVE_GCC_FOR_TARGET
 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/iq2000/configure ./sim/iq2000/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/iq2000/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/iq2000/configure	2018-06-19 01:49:04.000000000 +0000
@@ -4078,6 +4078,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # ACX_HAVE_GCC_FOR_TARGET
 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
 
@@ -9298,9 +9302,9 @@ else
 fi
 
   if test "$plugins" = "yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if test "${ac_cv_search_dlopen+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
+$as_echo_n "checking for library containing dlsym... " >&6; }
+if test "${ac_cv_search_dlsym+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -9313,11 +9317,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 #ifdef __cplusplus
 extern "C"
 #endif
-char dlopen ();
+char dlsym ();
 int
 main ()
 {
-return dlopen ();
+return dlsym ();
   ;
   return 0;
 }
@@ -9330,25 +9334,25 @@ for ac_lib in '' dl; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_dlopen=$ac_res
+  ac_cv_search_dlsym=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_dlopen+set}" = set; then :
+  if test "${ac_cv_search_dlsym+set}" = set; then :
   break
 fi
 done
-if test "${ac_cv_search_dlopen+set}" = set; then :
+if test "${ac_cv_search_dlsym+set}" = set; then :
 
 else
-  ac_cv_search_dlopen=no
+  ac_cv_search_dlsym=no
 fi
 rm conftest.$ac_ext
 LIBS=$ac_func_search_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
+$as_echo "$ac_cv_search_dlsym" >&6; }
+ac_res=$ac_cv_search_dlsym
 if test "$ac_res" != no; then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
@@ -12841,7 +12845,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12844 "configure"
+#line 12848 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12947,7 +12951,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12950 "configure"
+#line 12954 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/lm32/configure ./sim/lm32/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/lm32/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/lm32/configure	2018-06-19 01:49:04.000000000 +0000
@@ -4078,6 +4078,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # ACX_HAVE_GCC_FOR_TARGET
 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
 
@@ -9298,9 +9302,9 @@ else
 fi
 
   if test "$plugins" = "yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if test "${ac_cv_search_dlopen+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
+$as_echo_n "checking for library containing dlsym... " >&6; }
+if test "${ac_cv_search_dlsym+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -9313,11 +9317,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 #ifdef __cplusplus
 extern "C"
 #endif
-char dlopen ();
+char dlsym ();
 int
 main ()
 {
-return dlopen ();
+return dlsym ();
   ;
   return 0;
 }
@@ -9330,25 +9334,25 @@ for ac_lib in '' dl; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_dlopen=$ac_res
+  ac_cv_search_dlsym=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_dlopen+set}" = set; then :
+  if test "${ac_cv_search_dlsym+set}" = set; then :
   break
 fi
 done
-if test "${ac_cv_search_dlopen+set}" = set; then :
+if test "${ac_cv_search_dlsym+set}" = set; then :
 
 else
-  ac_cv_search_dlopen=no
+  ac_cv_search_dlsym=no
 fi
 rm conftest.$ac_ext
 LIBS=$ac_func_search_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
+$as_echo "$ac_cv_search_dlsym" >&6; }
+ac_res=$ac_cv_search_dlsym
 if test "$ac_res" != no; then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
@@ -12841,7 +12845,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12844 "configure"
+#line 12848 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12947,7 +12951,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12950 "configure"
+#line 12954 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/m32c/configure ./sim/m32c/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/m32c/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/m32c/configure	2018-06-19 01:49:04.000000000 +0000
@@ -4065,6 +4065,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # ACX_HAVE_GCC_FOR_TARGET
 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
 
@@ -9285,9 +9289,9 @@ else
 fi
 
   if test "$plugins" = "yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if test "${ac_cv_search_dlopen+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
+$as_echo_n "checking for library containing dlsym... " >&6; }
+if test "${ac_cv_search_dlsym+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -9300,11 +9304,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 #ifdef __cplusplus
 extern "C"
 #endif
-char dlopen ();
+char dlsym ();
 int
 main ()
 {
-return dlopen ();
+return dlsym ();
   ;
   return 0;
 }
@@ -9317,25 +9321,25 @@ for ac_lib in '' dl; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_dlopen=$ac_res
+  ac_cv_search_dlsym=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_dlopen+set}" = set; then :
+  if test "${ac_cv_search_dlsym+set}" = set; then :
   break
 fi
 done
-if test "${ac_cv_search_dlopen+set}" = set; then :
+if test "${ac_cv_search_dlsym+set}" = set; then :
 
 else
-  ac_cv_search_dlopen=no
+  ac_cv_search_dlsym=no
 fi
 rm conftest.$ac_ext
 LIBS=$ac_func_search_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
+$as_echo "$ac_cv_search_dlsym" >&6; }
+ac_res=$ac_cv_search_dlsym
 if test "$ac_res" != no; then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
@@ -12828,7 +12832,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12831 "configure"
+#line 12835 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12934,7 +12938,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12937 "configure"
+#line 12941 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/m32r/configure ./sim/m32r/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/m32r/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/m32r/configure	2018-06-19 01:49:04.000000000 +0000
@@ -4080,6 +4080,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # ACX_HAVE_GCC_FOR_TARGET
 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
 
@@ -9300,9 +9304,9 @@ else
 fi
 
   if test "$plugins" = "yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if test "${ac_cv_search_dlopen+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
+$as_echo_n "checking for library containing dlsym... " >&6; }
+if test "${ac_cv_search_dlsym+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -9315,11 +9319,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 #ifdef __cplusplus
 extern "C"
 #endif
-char dlopen ();
+char dlsym ();
 int
 main ()
 {
-return dlopen ();
+return dlsym ();
   ;
   return 0;
 }
@@ -9332,25 +9336,25 @@ for ac_lib in '' dl; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_dlopen=$ac_res
+  ac_cv_search_dlsym=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_dlopen+set}" = set; then :
+  if test "${ac_cv_search_dlsym+set}" = set; then :
   break
 fi
 done
-if test "${ac_cv_search_dlopen+set}" = set; then :
+if test "${ac_cv_search_dlsym+set}" = set; then :
 
 else
-  ac_cv_search_dlopen=no
+  ac_cv_search_dlsym=no
 fi
 rm conftest.$ac_ext
 LIBS=$ac_func_search_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
+$as_echo "$ac_cv_search_dlsym" >&6; }
+ac_res=$ac_cv_search_dlsym
 if test "$ac_res" != no; then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
@@ -12843,7 +12847,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12846 "configure"
+#line 12850 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12949,7 +12953,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12952 "configure"
+#line 12956 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/m68hc11/configure ./sim/m68hc11/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/m68hc11/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/m68hc11/configure	2018-06-19 01:49:04.000000000 +0000
@@ -4075,6 +4075,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # ACX_HAVE_GCC_FOR_TARGET
 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
 
@@ -9295,9 +9299,9 @@ else
 fi
 
   if test "$plugins" = "yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if test "${ac_cv_search_dlopen+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
+$as_echo_n "checking for library containing dlsym... " >&6; }
+if test "${ac_cv_search_dlsym+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -9310,11 +9314,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 #ifdef __cplusplus
 extern "C"
 #endif
-char dlopen ();
+char dlsym ();
 int
 main ()
 {
-return dlopen ();
+return dlsym ();
   ;
   return 0;
 }
@@ -9327,25 +9331,25 @@ for ac_lib in '' dl; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_dlopen=$ac_res
+  ac_cv_search_dlsym=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_dlopen+set}" = set; then :
+  if test "${ac_cv_search_dlsym+set}" = set; then :
   break
 fi
 done
-if test "${ac_cv_search_dlopen+set}" = set; then :
+if test "${ac_cv_search_dlsym+set}" = set; then :
 
 else
-  ac_cv_search_dlopen=no
+  ac_cv_search_dlsym=no
 fi
 rm conftest.$ac_ext
 LIBS=$ac_func_search_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
+$as_echo "$ac_cv_search_dlsym" >&6; }
+ac_res=$ac_cv_search_dlsym
 if test "$ac_res" != no; then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
@@ -12838,7 +12842,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12841 "configure"
+#line 12845 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12944,7 +12948,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12947 "configure"
+#line 12951 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/mcore/configure ./sim/mcore/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/mcore/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/mcore/configure	2018-06-19 01:49:04.000000000 +0000
@@ -4072,6 +4072,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # ACX_HAVE_GCC_FOR_TARGET
 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
 
@@ -9292,9 +9296,9 @@ else
 fi
 
   if test "$plugins" = "yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if test "${ac_cv_search_dlopen+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
+$as_echo_n "checking for library containing dlsym... " >&6; }
+if test "${ac_cv_search_dlsym+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -9307,11 +9311,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 #ifdef __cplusplus
 extern "C"
 #endif
-char dlopen ();
+char dlsym ();
 int
 main ()
 {
-return dlopen ();
+return dlsym ();
   ;
   return 0;
 }
@@ -9324,25 +9328,25 @@ for ac_lib in '' dl; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_dlopen=$ac_res
+  ac_cv_search_dlsym=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_dlopen+set}" = set; then :
+  if test "${ac_cv_search_dlsym+set}" = set; then :
   break
 fi
 done
-if test "${ac_cv_search_dlopen+set}" = set; then :
+if test "${ac_cv_search_dlsym+set}" = set; then :
 
 else
-  ac_cv_search_dlopen=no
+  ac_cv_search_dlsym=no
 fi
 rm conftest.$ac_ext
 LIBS=$ac_func_search_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
+$as_echo "$ac_cv_search_dlsym" >&6; }
+ac_res=$ac_cv_search_dlsym
 if test "$ac_res" != no; then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
@@ -12835,7 +12839,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12838 "configure"
+#line 12842 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12941,7 +12945,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12944 "configure"
+#line 12948 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/microblaze/configure ./sim/microblaze/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/microblaze/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/microblaze/configure	2018-06-19 01:49:04.000000000 +0000
@@ -4072,6 +4072,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # ACX_HAVE_GCC_FOR_TARGET
 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
 
@@ -9292,9 +9296,9 @@ else
 fi
 
   if test "$plugins" = "yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if test "${ac_cv_search_dlopen+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
+$as_echo_n "checking for library containing dlsym... " >&6; }
+if test "${ac_cv_search_dlsym+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -9307,11 +9311,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 #ifdef __cplusplus
 extern "C"
 #endif
-char dlopen ();
+char dlsym ();
 int
 main ()
 {
-return dlopen ();
+return dlsym ();
   ;
   return 0;
 }
@@ -9324,25 +9328,25 @@ for ac_lib in '' dl; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_dlopen=$ac_res
+  ac_cv_search_dlsym=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_dlopen+set}" = set; then :
+  if test "${ac_cv_search_dlsym+set}" = set; then :
   break
 fi
 done
-if test "${ac_cv_search_dlopen+set}" = set; then :
+if test "${ac_cv_search_dlsym+set}" = set; then :
 
 else
-  ac_cv_search_dlopen=no
+  ac_cv_search_dlsym=no
 fi
 rm conftest.$ac_ext
 LIBS=$ac_func_search_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
+$as_echo "$ac_cv_search_dlsym" >&6; }
+ac_res=$ac_cv_search_dlsym
 if test "$ac_res" != no; then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
@@ -12835,7 +12839,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12838 "configure"
+#line 12842 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12941,7 +12945,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12944 "configure"
+#line 12948 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/mips/configure ./sim/mips/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/mips/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/mips/configure	2018-06-19 01:49:04.000000000 +0000
@@ -4105,6 +4105,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # ACX_HAVE_GCC_FOR_TARGET
 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
 
@@ -9325,9 +9329,9 @@ else
 fi
 
   if test "$plugins" = "yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if test "${ac_cv_search_dlopen+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
+$as_echo_n "checking for library containing dlsym... " >&6; }
+if test "${ac_cv_search_dlsym+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -9340,11 +9344,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 #ifdef __cplusplus
 extern "C"
 #endif
-char dlopen ();
+char dlsym ();
 int
 main ()
 {
-return dlopen ();
+return dlsym ();
   ;
   return 0;
 }
@@ -9357,25 +9361,25 @@ for ac_lib in '' dl; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_dlopen=$ac_res
+  ac_cv_search_dlsym=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_dlopen+set}" = set; then :
+  if test "${ac_cv_search_dlsym+set}" = set; then :
   break
 fi
 done
-if test "${ac_cv_search_dlopen+set}" = set; then :
+if test "${ac_cv_search_dlsym+set}" = set; then :
 
 else
-  ac_cv_search_dlopen=no
+  ac_cv_search_dlsym=no
 fi
 rm conftest.$ac_ext
 LIBS=$ac_func_search_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
+$as_echo "$ac_cv_search_dlsym" >&6; }
+ac_res=$ac_cv_search_dlsym
 if test "$ac_res" != no; then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
@@ -12868,7 +12872,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12871 "configure"
+#line 12875 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12974,7 +12978,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12977 "configure"
+#line 12981 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -14030,7 +14034,7 @@ if test ${sim_gen} = MULTI; then
 
   cat << __EOF__ > multi-run.c
 /* Main entry point for MULTI simulators.
-   Copyright (C) 2003-2017 Free Software Foundation, Inc.
+   Copyright (C) 2003-2018 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/mn10300/configure ./sim/mn10300/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/mn10300/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/mn10300/configure	2018-06-19 01:49:04.000000000 +0000
@@ -4081,6 +4081,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # ACX_HAVE_GCC_FOR_TARGET
 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
 
@@ -9301,9 +9305,9 @@ else
 fi
 
   if test "$plugins" = "yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if test "${ac_cv_search_dlopen+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
+$as_echo_n "checking for library containing dlsym... " >&6; }
+if test "${ac_cv_search_dlsym+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -9316,11 +9320,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 #ifdef __cplusplus
 extern "C"
 #endif
-char dlopen ();
+char dlsym ();
 int
 main ()
 {
-return dlopen ();
+return dlsym ();
   ;
   return 0;
 }
@@ -9333,25 +9337,25 @@ for ac_lib in '' dl; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_dlopen=$ac_res
+  ac_cv_search_dlsym=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_dlopen+set}" = set; then :
+  if test "${ac_cv_search_dlsym+set}" = set; then :
   break
 fi
 done
-if test "${ac_cv_search_dlopen+set}" = set; then :
+if test "${ac_cv_search_dlsym+set}" = set; then :
 
 else
-  ac_cv_search_dlopen=no
+  ac_cv_search_dlsym=no
 fi
 rm conftest.$ac_ext
 LIBS=$ac_func_search_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
+$as_echo "$ac_cv_search_dlsym" >&6; }
+ac_res=$ac_cv_search_dlsym
 if test "$ac_res" != no; then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
@@ -12844,7 +12848,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12847 "configure"
+#line 12851 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12950,7 +12954,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12953 "configure"
+#line 12957 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/moxie/configure ./sim/moxie/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/moxie/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/moxie/configure	2018-06-19 01:49:04.000000000 +0000
@@ -4073,6 +4073,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # ACX_HAVE_GCC_FOR_TARGET
 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
 
@@ -9293,9 +9297,9 @@ else
 fi
 
   if test "$plugins" = "yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if test "${ac_cv_search_dlopen+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
+$as_echo_n "checking for library containing dlsym... " >&6; }
+if test "${ac_cv_search_dlsym+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -9308,11 +9312,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 #ifdef __cplusplus
 extern "C"
 #endif
-char dlopen ();
+char dlsym ();
 int
 main ()
 {
-return dlopen ();
+return dlsym ();
   ;
   return 0;
 }
@@ -9325,25 +9329,25 @@ for ac_lib in '' dl; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_dlopen=$ac_res
+  ac_cv_search_dlsym=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_dlopen+set}" = set; then :
+  if test "${ac_cv_search_dlsym+set}" = set; then :
   break
 fi
 done
-if test "${ac_cv_search_dlopen+set}" = set; then :
+if test "${ac_cv_search_dlsym+set}" = set; then :
 
 else
-  ac_cv_search_dlopen=no
+  ac_cv_search_dlsym=no
 fi
 rm conftest.$ac_ext
 LIBS=$ac_func_search_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
+$as_echo "$ac_cv_search_dlsym" >&6; }
+ac_res=$ac_cv_search_dlsym
 if test "$ac_res" != no; then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
@@ -12836,7 +12840,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12839 "configure"
+#line 12843 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12942,7 +12946,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12945 "configure"
+#line 12949 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/msp430/configure ./sim/msp430/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/msp430/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/msp430/configure	2018-06-19 01:49:04.000000000 +0000
@@ -4072,6 +4072,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # ACX_HAVE_GCC_FOR_TARGET
 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
 
@@ -9292,9 +9296,9 @@ else
 fi
 
   if test "$plugins" = "yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if test "${ac_cv_search_dlopen+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
+$as_echo_n "checking for library containing dlsym... " >&6; }
+if test "${ac_cv_search_dlsym+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -9307,11 +9311,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 #ifdef __cplusplus
 extern "C"
 #endif
-char dlopen ();
+char dlsym ();
 int
 main ()
 {
-return dlopen ();
+return dlsym ();
   ;
   return 0;
 }
@@ -9324,25 +9328,25 @@ for ac_lib in '' dl; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_dlopen=$ac_res
+  ac_cv_search_dlsym=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_dlopen+set}" = set; then :
+  if test "${ac_cv_search_dlsym+set}" = set; then :
   break
 fi
 done
-if test "${ac_cv_search_dlopen+set}" = set; then :
+if test "${ac_cv_search_dlsym+set}" = set; then :
 
 else
-  ac_cv_search_dlopen=no
+  ac_cv_search_dlsym=no
 fi
 rm conftest.$ac_ext
 LIBS=$ac_func_search_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
+$as_echo "$ac_cv_search_dlsym" >&6; }
+ac_res=$ac_cv_search_dlsym
 if test "$ac_res" != no; then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
@@ -12835,7 +12839,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12838 "configure"
+#line 12842 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12941,7 +12945,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12944 "configure"
+#line 12948 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/or1k/configure ./sim/or1k/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/or1k/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/or1k/configure	2018-06-19 01:49:04.000000000 +0000
@@ -1,10 +1,10 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69.
-#
-#
-# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
+# Generated by GNU Autoconf 2.64.
 #
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
+# Foundation, Inc.
 #
 # This configure script is free software; the Free Software Foundation
 # gives unlimited permission to copy, distribute and modify it.
@@ -87,7 +87,6 @@ fi
 IFS=" ""	$as_nl"
 
 # Find who we are.  Look in the path if we contain no directory separator.
-as_myself=
 case $0 in #((
   *[\\/]* ) as_myself=$0 ;;
   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -132,31 +131,6 @@ export LANGUAGE
 # CDPATH.
 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
-# Use a proper internal environment variable to ensure we don't fall
-  # into an infinite loop, continuously re-executing ourselves.
-  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
-    _as_can_reexec=no; export _as_can_reexec;
-    # We cannot yet assume a decent shell, so we have to provide a
-# neutralization value for shells without unset; and this also
-# works around shells that cannot unset nonexistent variables.
-# Preserve -v and -x to the replacement shell.
-BASH_ENV=/dev/null
-ENV=/dev/null
-(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
-case $- in # ((((
-  *v*x* | *x*v* ) as_opts=-vx ;;
-  *v* ) as_opts=-v ;;
-  *x* ) as_opts=-x ;;
-  * ) as_opts= ;;
-esac
-exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
-# Admittedly, this is quite paranoid, since all the known shells bail
-# out after a failed `exec'.
-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
-as_fn_exit 255
-  fi
-  # We don't want this to propagate to other subprocesses.
-          { _as_can_reexec=; unset _as_can_reexec;}
 if test "x$CONFIG_SHELL" = x; then
   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
   emulate sh
@@ -190,8 +164,7 @@ if ( set x; as_fn_ret_success y && test 
 else
   exitcode=1; echo positional parameters were not saved.
 fi
-test x\$exitcode = x0 || exit 1
-test -x / || exit 1"
+test x\$exitcode = x0 || exit 1"
   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
@@ -244,25 +217,14 @@ IFS=$as_save_IFS
 
 
       if test "x$CONFIG_SHELL" != x; then :
-  export CONFIG_SHELL
-             # We cannot yet assume a decent shell, so we have to provide a
-# neutralization value for shells without unset; and this also
-# works around shells that cannot unset nonexistent variables.
-# Preserve -v and -x to the replacement shell.
-BASH_ENV=/dev/null
-ENV=/dev/null
-(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
-case $- in # ((((
-  *v*x* | *x*v* ) as_opts=-vx ;;
-  *v* ) as_opts=-v ;;
-  *x* ) as_opts=-x ;;
-  * ) as_opts= ;;
-esac
-exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
-# Admittedly, this is quite paranoid, since all the known shells bail
-# out after a failed `exec'.
-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
-exit 255
+  # We cannot yet assume a decent shell, so we have to provide a
+	# neutralization value for shells without unset; and this also
+	# works around shells that cannot unset nonexistent variables.
+	BASH_ENV=/dev/null
+	ENV=/dev/null
+	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+	export CONFIG_SHELL
+	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 fi
 
     if test x$as_have_required = xno; then :
@@ -360,18 +322,10 @@ as_fn_mkdir_p ()
       test -d "$as_dir" && break
     done
     test -z "$as_dirs" || eval "mkdir $as_dirs"
-  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
 
 } # as_fn_mkdir_p
-
-# as_fn_executable_p FILE
-# -----------------------
-# Test if FILE is an executable regular file.
-as_fn_executable_p ()
-{
-  test -f "$1" && test -x "$1"
-} # as_fn_executable_p
 # as_fn_append VAR VALUE
 # ----------------------
 # Append the text in VALUE to the end of the definition contained in VAR. Take
@@ -408,19 +362,19 @@ else
 fi # as_fn_arith
 
 
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
+# as_fn_error ERROR [LINENO LOG_FD]
+# ---------------------------------
 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
+# script with status $?, using 1 if that was 0.
 as_fn_error ()
 {
-  as_status=$1; test $as_status -eq 0 && as_status=1
-  if test "$4"; then
-    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+  as_status=$?; test $as_status -eq 0 && as_status=1
+  if test "$3"; then
+    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
   fi
-  $as_echo "$as_me: error: $2" >&2
+  $as_echo "$as_me: error: $1" >&2
   as_fn_exit $as_status
 } # as_fn_error
 
@@ -493,10 +447,6 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits
   chmod +x "$as_me.lineno" ||
     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
-  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
-  # already done that, so ensure we don't try to do so again and fall
-  # in an infinite loop.  This has already happened in practice.
-  _as_can_reexec=no; export _as_can_reexec
   # Don't try to exec as it changes $[0], causing all sort of problems
   # (the dirname of $[0] is not the place where we might find the
   # original and so on.  Autoconf is especially sensitive to this).
@@ -531,16 +481,16 @@ if (echo >conf$$.file) 2>/dev/null; then
     # ... but there are two gotchas:
     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
-    # In both cases, we have to default to `cp -pR'.
+    # In both cases, we have to default to `cp -p'.
     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
-      as_ln_s='cp -pR'
+      as_ln_s='cp -p'
   elif ln conf$$.file conf$$ 2>/dev/null; then
     as_ln_s=ln
   else
-    as_ln_s='cp -pR'
+    as_ln_s='cp -p'
   fi
 else
-  as_ln_s='cp -pR'
+  as_ln_s='cp -p'
 fi
 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 rmdir conf$$.dir 2>/dev/null
@@ -552,8 +502,28 @@ else
   as_mkdir_p=false
 fi
 
-as_test_x='test -x'
-as_executable_p=as_fn_executable_p
+if test -x / >/dev/null 2>&1; then
+  as_test_x='test -x'
+else
+  if ls -dL / >/dev/null 2>&1; then
+    as_ls_L_option=L
+  else
+    as_ls_L_option=
+  fi
+  as_test_x='
+    eval sh -c '\''
+      if test -d "$1"; then
+	test -d "$1/.";
+      else
+	case $1 in #(
+	-*)set "./$1";;
+	esac;
+	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
+	???[sx]*):;;*)false;;esac;fi
+    '\'' sh
+  '
+fi
+as_executable_p=$as_test_x
 
 # Sed expression to map a string onto a valid CPP name.
 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -564,11 +534,10 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr
 SHELL=${CONFIG_SHELL-/bin/sh}
 
 
-test -n "$DJDIR" || exec 7<&0 </dev/null
-exec 6>&1
+exec 7<&0 </dev/null 6>&1
 
 # Name of the host.
-# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
+# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 # so uname gets run too.
 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
@@ -860,9 +829,8 @@ do
   fi
 
   case $ac_option in
-  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
-  *=)   ac_optarg= ;;
-  *)    ac_optarg=yes ;;
+  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
+  *)	ac_optarg=yes ;;
   esac
 
   # Accept the important Cygnus configure options, so we can diagnose typos.
@@ -907,7 +875,7 @@ do
     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     # Reject names that are not valid shell variable names.
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
-      as_fn_error $? "invalid feature name: $ac_useropt"
+      as_fn_error "invalid feature name: $ac_useropt"
     ac_useropt_orig=$ac_useropt
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     case $ac_user_opts in
@@ -933,7 +901,7 @@ do
     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     # Reject names that are not valid shell variable names.
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
-      as_fn_error $? "invalid feature name: $ac_useropt"
+      as_fn_error "invalid feature name: $ac_useropt"
     ac_useropt_orig=$ac_useropt
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     case $ac_user_opts in
@@ -1137,7 +1105,7 @@ do
     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     # Reject names that are not valid shell variable names.
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
-      as_fn_error $? "invalid package name: $ac_useropt"
+      as_fn_error "invalid package name: $ac_useropt"
     ac_useropt_orig=$ac_useropt
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     case $ac_user_opts in
@@ -1153,7 +1121,7 @@ do
     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     # Reject names that are not valid shell variable names.
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
-      as_fn_error $? "invalid package name: $ac_useropt"
+      as_fn_error "invalid package name: $ac_useropt"
     ac_useropt_orig=$ac_useropt
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     case $ac_user_opts in
@@ -1183,8 +1151,8 @@ do
   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
     x_libraries=$ac_optarg ;;
 
-  -*) as_fn_error $? "unrecognized option: \`$ac_option'
-Try \`$0 --help' for more information"
+  -*) as_fn_error "unrecognized option: \`$ac_option'
+Try \`$0 --help' for more information."
     ;;
 
   *=*)
@@ -1192,7 +1160,7 @@ Try \`$0 --help' for more information"
     # Reject names that are not valid shell variable names.
     case $ac_envvar in #(
       '' | [0-9]* | *[!_$as_cr_alnum]* )
-      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
+      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
     esac
     eval $ac_envvar=\$ac_optarg
     export $ac_envvar ;;
@@ -1202,7 +1170,7 @@ Try \`$0 --help' for more information"
     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
-    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
+    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     ;;
 
   esac
@@ -1210,13 +1178,13 @@ done
 
 if test -n "$ac_prev"; then
   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
-  as_fn_error $? "missing argument to $ac_option"
+  as_fn_error "missing argument to $ac_option"
 fi
 
 if test -n "$ac_unrecognized_opts"; then
   case $enable_option_checking in
     no) ;;
-    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
+    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   esac
 fi
@@ -1239,7 +1207,7 @@ do
     [\\/$]* | ?:[\\/]* )  continue;;
     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   esac
-  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
+  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 done
 
 # There might be people who depend on the old broken behavior: `$host'
@@ -1253,6 +1221,8 @@ target=$target_alias
 if test "x$host_alias" != x; then
   if test "x$build_alias" = x; then
     cross_compiling=maybe
+    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
+    If a cross compiler is detected then cross compile mode will be used." >&2
   elif test "x$build_alias" != "x$host_alias"; then
     cross_compiling=yes
   fi
@@ -1267,9 +1237,9 @@ test "$silent" = yes && exec 6>/dev/null
 ac_pwd=`pwd` && test -n "$ac_pwd" &&
 ac_ls_di=`ls -di .` &&
 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
-  as_fn_error $? "working directory cannot be determined"
+  as_fn_error "working directory cannot be determined"
 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
-  as_fn_error $? "pwd does not report name of working directory"
+  as_fn_error "pwd does not report name of working directory"
 
 
 # Find the source files, if location was not specified.
@@ -1308,11 +1278,11 @@ else
 fi
 if test ! -r "$srcdir/$ac_unique_file"; then
   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
-  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
+  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 fi
 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 ac_abs_confdir=`(
-	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
+	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 	pwd)`
 # When building in place, set srcdir=.
 if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1352,7 +1322,7 @@ Configuration:
       --help=short        display options specific to this package
       --help=recursive    display the short help of all the included packages
   -V, --version           display version information and exit
-  -q, --quiet, --silent   do not print \`checking ...' messages
+  -q, --quiet, --silent   do not print \`checking...' messages
       --cache-file=FILE   cache test results in FILE [disabled]
   -C, --config-cache      alias for \`--cache-file=config.cache'
   -n, --no-create         do not create output files
@@ -1465,7 +1435,7 @@ Some influential environment variables:
   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
               nonstandard directory <lib dir>
   LIBS        libraries to pass to the linker, e.g. -l<library>
-  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
+  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
               you have headers in a nonstandard directory <include dir>
   CPP         C preprocessor
 
@@ -1536,9 +1506,9 @@ test -n "$ac_init_help" && exit $ac_stat
 if $ac_init_version; then
   cat <<\_ACEOF
 configure
-generated by GNU Autoconf 2.69
+generated by GNU Autoconf 2.64
 
-Copyright (C) 2012 Free Software Foundation, Inc.
+Copyright (C) 2009 Free Software Foundation, Inc.
 This configure script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it.
 _ACEOF
@@ -1582,8 +1552,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
 
 	ac_retval=1
 fi
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-  as_fn_set_status $ac_retval
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  return $ac_retval
 
 } # ac_fn_c_try_compile
 
@@ -1608,7 +1578,7 @@ eval ac_try_echo="\"\$as_me:${as_lineno-
     mv -f conftest.er1 conftest.err
   fi
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } > conftest.i && {
+  test $ac_status = 0; } >/dev/null && {
 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 	 test ! -s conftest.err
        }; then :
@@ -1619,8 +1589,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
 
     ac_retval=1
 fi
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-  as_fn_set_status $ac_retval
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  return $ac_retval
 
 } # ac_fn_c_try_cpp
 
@@ -1632,10 +1602,10 @@ fi
 ac_fn_c_check_header_mongrel ()
 {
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  if eval \${$3+:} false; then :
+  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   $as_echo_n "(cached) " >&6
 fi
 eval ac_res=\$$3
@@ -1671,7 +1641,7 @@ if ac_fn_c_try_cpp "$LINENO"; then :
 else
   ac_header_preproc=no
 fi
-rm -f conftest.err conftest.i conftest.$ac_ext
+rm -f conftest.err conftest.$ac_ext
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 $as_echo "$ac_header_preproc" >&6; }
 
@@ -1698,7 +1668,7 @@ case $ac_header_compiler:$ac_header_prep
 esac
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   $as_echo_n "(cached) " >&6
 else
   eval "$3=\$ac_header_compiler"
@@ -1707,7 +1677,7 @@ eval ac_res=\$$3
 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }
 fi
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
 } # ac_fn_c_check_header_mongrel
 
@@ -1748,8 +1718,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
        ac_retval=$ac_status
 fi
   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-  as_fn_set_status $ac_retval
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  return $ac_retval
 
 } # ac_fn_c_try_run
 
@@ -1762,7 +1732,7 @@ ac_fn_c_check_header_compile ()
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -1780,7 +1750,7 @@ fi
 eval ac_res=\$$3
 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
 } # ac_fn_c_check_header_compile
 
@@ -1811,7 +1781,7 @@ eval ac_try_echo="\"\$as_me:${as_lineno-
 	 test ! -s conftest.err
        } && test -s conftest$ac_exeext && {
 	 test "$cross_compiling" = yes ||
-	 test -x conftest$ac_exeext
+	 $as_test_x conftest$ac_exeext
        }; then :
   ac_retval=0
 else
@@ -1825,8 +1795,8 @@ fi
   # interfere with the next link command; also delete a directory that is
   # left behind by Apple's compiler.  We do this before executing the actions.
   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-  as_fn_set_status $ac_retval
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  return $ac_retval
 
 } # ac_fn_c_try_link
 
@@ -1838,7 +1808,7 @@ ac_fn_c_check_func ()
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -1893,7 +1863,7 @@ fi
 eval ac_res=\$$3
 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
 } # ac_fn_c_check_func
 
@@ -1906,7 +1876,7 @@ ac_fn_c_check_member ()
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
 $as_echo_n "checking for $2.$3... " >&6; }
-if eval \${$4+:} false; then :
+if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -1950,7 +1920,7 @@ fi
 eval ac_res=\$$4
 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
 } # ac_fn_c_check_member
 
@@ -1963,7 +1933,7 @@ ac_fn_c_check_type ()
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   $as_echo_n "(cached) " >&6
 else
   eval "$3=no"
@@ -2004,7 +1974,7 @@ fi
 eval ac_res=\$$3
 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
 } # ac_fn_c_check_type
 cat >config.log <<_ACEOF
@@ -2012,7 +1982,7 @@ This file contains any messages produced
 running configure, to aid debugging if configure makes a mistake.
 
 It was created by $as_me, which was
-generated by GNU Autoconf 2.69.  Invocation command line was
+generated by GNU Autoconf 2.64.  Invocation command line was
 
   $ $0 $@
 
@@ -2122,9 +2092,11 @@ trap 'exit_status=$?
   {
     echo
 
-    $as_echo "## ---------------- ##
+    cat <<\_ASBOX
+## ---------------- ##
 ## Cache variables. ##
-## ---------------- ##"
+## ---------------- ##
+_ASBOX
     echo
     # The following way of writing the cache mishandles newlines in values,
 (
@@ -2158,9 +2130,11 @@ trap 'exit_status=$?
 )
     echo
 
-    $as_echo "## ----------------- ##
+    cat <<\_ASBOX
+## ----------------- ##
 ## Output variables. ##
-## ----------------- ##"
+## ----------------- ##
+_ASBOX
     echo
     for ac_var in $ac_subst_vars
     do
@@ -2173,9 +2147,11 @@ trap 'exit_status=$?
     echo
 
     if test -n "$ac_subst_files"; then
-      $as_echo "## ------------------- ##
+      cat <<\_ASBOX
+## ------------------- ##
 ## File substitutions. ##
-## ------------------- ##"
+## ------------------- ##
+_ASBOX
       echo
       for ac_var in $ac_subst_files
       do
@@ -2189,9 +2165,11 @@ trap 'exit_status=$?
     fi
 
     if test -s confdefs.h; then
-      $as_echo "## ----------- ##
+      cat <<\_ASBOX
+## ----------- ##
 ## confdefs.h. ##
-## ----------- ##"
+## ----------- ##
+_ASBOX
       echo
       cat confdefs.h
       echo
@@ -2246,12 +2224,7 @@ _ACEOF
 ac_site_file1=NONE
 ac_site_file2=NONE
 if test -n "$CONFIG_SITE"; then
-  # We do not want a PATH search for config.site.
-  case $CONFIG_SITE in #((
-    -*)  ac_site_file1=./$CONFIG_SITE;;
-    */*) ac_site_file1=$CONFIG_SITE;;
-    *)   ac_site_file1=./$CONFIG_SITE;;
-  esac
+  ac_site_file1=$CONFIG_SITE
 elif test "x$prefix" != xNONE; then
   ac_site_file1=$prefix/share/config.site
   ac_site_file2=$prefix/etc/config.site
@@ -2262,22 +2235,18 @@ fi
 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 do
   test "x$ac_site_file" = xNONE && continue
-  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
+  if test -r "$ac_site_file"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
     sed 's/^/| /' "$ac_site_file" >&5
-    . "$ac_site_file" \
-      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "failed to load site script $ac_site_file
-See \`config.log' for more details" "$LINENO" 5; }
+    . "$ac_site_file"
   fi
 done
 
 if test -r "$cache_file"; then
-  # Some versions of bash will fail to source /dev/null (special files
-  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
-  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
+  # Some versions of bash will fail to source /dev/null (special
+  # files actually), so we avoid doing that.
+  if test -f "$cache_file"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 $as_echo "$as_me: loading cache $cache_file" >&6;}
     case $cache_file in
@@ -2346,7 +2315,7 @@ if $ac_cache_corrupted; then
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
-  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
+  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 fi
 ## -------------------- ##
 ## Main body of script. ##
@@ -2406,6 +2375,21 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+# _AC_CHECK_DECL_BODY
+# -------------------
+# Shell function body for AC_CHECK_DECL.
+# _AC_CHECK_DECL_BODY
+
+# _AC_CHECK_DECLS(SYMBOL, ACTION-IF_FOUND, ACTION-IF-NOT-FOUND,
+#                 INCLUDES)
+# -------------------------------------------------------------
+# Helper to AC_CHECK_DECLS, which generates the check for a single
+# SYMBOL with INCLUDES, performs the AC_DEFINE, then expands
+# ACTION-IF-FOUND or ACTION-IF-NOT-FOUND.
+
+
+
+
 
 
 
@@ -4094,6 +4078,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # ACX_HAVE_GCC_FOR_TARGET
 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
 
@@ -4179,7 +4167,7 @@ if test -n "$ac_tool_prefix"; then
 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
+if test "${ac_cv_prog_CC+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$CC"; then
@@ -4191,7 +4179,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_CC="${ac_tool_prefix}gcc"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -4219,7 +4207,7 @@ if test -z "$ac_cv_prog_CC"; then
 set dummy gcc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_CC+:} false; then :
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_CC"; then
@@ -4231,7 +4219,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_ac_ct_CC="gcc"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -4272,7 +4260,7 @@ if test -z "$CC"; then
 set dummy ${ac_tool_prefix}cc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
+if test "${ac_cv_prog_CC+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$CC"; then
@@ -4284,7 +4272,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_CC="${ac_tool_prefix}cc"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -4312,7 +4300,7 @@ if test -z "$CC"; then
 set dummy cc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
+if test "${ac_cv_prog_CC+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$CC"; then
@@ -4325,7 +4313,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
        ac_prog_rejected=yes
        continue
@@ -4371,7 +4359,7 @@ if test -z "$CC"; then
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
+if test "${ac_cv_prog_CC+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$CC"; then
@@ -4383,7 +4371,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -4415,7 +4403,7 @@ do
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_CC+:} false; then :
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_CC"; then
@@ -4427,7 +4415,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_ac_ct_CC="$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -4469,8 +4457,8 @@ fi
 
 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "no acceptable C compiler found in \$PATH
-See \`config.log' for more details" "$LINENO" 5; }
+as_fn_error "no acceptable C compiler found in \$PATH
+See \`config.log' for more details." "$LINENO" 5; }
 
 # Provide some information about the compiler.
 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -4491,8 +4479,8 @@ eval ac_try_echo="\"\$as_me:${as_lineno-
 ... rest of stderr output deleted ...
          10q' conftest.err >conftest.er1
     cat conftest.er1 >&5
+    rm -f conftest.er1 conftest.err
   fi
-  rm -f conftest.er1 conftest.err
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }
 done
@@ -4509,12 +4497,12 @@ main ()
 }
 _ACEOF
 ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
 # Try to create an executable without -o first, disregard a.out.
 # It will help us diagnose broken compilers, and finding out an intuition
 # of exeext.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
-$as_echo_n "checking whether the C compiler works... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
+$as_echo_n "checking for C compiler default output file name... " >&6; }
 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
 # The possible output files:
@@ -4576,28 +4564,62 @@ test "$ac_cv_exeext" = no && ac_cv_exeex
 else
   ac_file=''
 fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
+$as_echo "$ac_file" >&6; }
 if test -z "$ac_file"; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-$as_echo "$as_me: failed program was:" >&5
+  $as_echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
 
 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error 77 "C compiler cannot create executables
-See \`config.log' for more details" "$LINENO" 5; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
+{ as_fn_set_status 77
+as_fn_error "C compiler cannot create executables
+See \`config.log' for more details." "$LINENO" 5; }; }
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
-$as_echo_n "checking for C compiler default output file name... " >&6; }
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
-$as_echo "$ac_file" >&6; }
 ac_exeext=$ac_cv_exeext
 
-rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
+# Check that the compiler produces executables we can run.  If not, either
+# the compiler is broken, or we cross compile.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
+$as_echo_n "checking whether the C compiler works... " >&6; }
+# If not cross compiling, check that we can run a simple program.
+if test "$cross_compiling" != yes; then
+  if { ac_try='./$ac_file'
+  { { case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_try") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; }; then
+    cross_compiling=no
+  else
+    if test "$cross_compiling" = maybe; then
+	cross_compiling=yes
+    else
+	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error "cannot run C compiled programs.
+If you meant to cross compile, use \`--host'.
+See \`config.log' for more details." "$LINENO" 5; }
+    fi
+  fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
 ac_clean_files=$ac_clean_files_save
+# Check that the compiler produces executables we can run.  If not, either
+# the compiler is broken, or we cross compile.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
+$as_echo_n "checking whether we are cross compiling... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
+$as_echo "$cross_compiling" >&6; }
+
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 $as_echo_n "checking for suffix of executables... " >&6; }
 if { { ac_try="$ac_link"
@@ -4627,78 +4649,19 @@ done
 else
   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot compute suffix of executables: cannot compile and link
-See \`config.log' for more details" "$LINENO" 5; }
+as_fn_error "cannot compute suffix of executables: cannot compile and link
+See \`config.log' for more details." "$LINENO" 5; }
 fi
-rm -f conftest conftest$ac_cv_exeext
+rm -f conftest$ac_cv_exeext
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 $as_echo "$ac_cv_exeext" >&6; }
 
 rm -f conftest.$ac_ext
 EXEEXT=$ac_cv_exeext
 ac_exeext=$EXEEXT
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <stdio.h>
-int
-main ()
-{
-FILE *f = fopen ("conftest.out", "w");
- return ferror (f) || fclose (f) != 0;
-
-  ;
-  return 0;
-}
-_ACEOF
-ac_clean_files="$ac_clean_files conftest.out"
-# Check that the compiler produces executables we can run.  If not, either
-# the compiler is broken, or we cross compile.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
-$as_echo_n "checking whether we are cross compiling... " >&6; }
-if test "$cross_compiling" != yes; then
-  { { ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_link") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }
-  if { ac_try='./conftest$ac_cv_exeext'
-  { { case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; }; then
-    cross_compiling=no
-  else
-    if test "$cross_compiling" = maybe; then
-	cross_compiling=yes
-    else
-	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot run C compiled programs.
-If you meant to cross compile, use \`--host'.
-See \`config.log' for more details" "$LINENO" 5; }
-    fi
-  fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
-$as_echo "$cross_compiling" >&6; }
-
-rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
-ac_clean_files=$ac_clean_files_save
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 $as_echo_n "checking for suffix of object files... " >&6; }
-if ${ac_cv_objext+:} false; then :
+if test "${ac_cv_objext+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -4738,8 +4701,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
 
 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot compute suffix of object files: cannot compile
-See \`config.log' for more details" "$LINENO" 5; }
+as_fn_error "cannot compute suffix of object files: cannot compile
+See \`config.log' for more details." "$LINENO" 5; }
 fi
 rm -f conftest.$ac_cv_objext conftest.$ac_ext
 fi
@@ -4749,7 +4712,7 @@ OBJEXT=$ac_cv_objext
 ac_objext=$OBJEXT
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
-if ${ac_cv_c_compiler_gnu+:} false; then :
+if test "${ac_cv_c_compiler_gnu+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -4786,7 +4749,7 @@ ac_test_CFLAGS=${CFLAGS+set}
 ac_save_CFLAGS=$CFLAGS
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 $as_echo_n "checking whether $CC accepts -g... " >&6; }
-if ${ac_cv_prog_cc_g+:} false; then :
+if test "${ac_cv_prog_cc_g+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_save_c_werror_flag=$ac_c_werror_flag
@@ -4864,7 +4827,7 @@ else
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
-if ${ac_cv_prog_cc_c89+:} false; then :
+if test "${ac_cv_prog_cc_c89+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_cv_prog_cc_c89=no
@@ -4873,7 +4836,8 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 /* end confdefs.h.  */
 #include <stdarg.h>
 #include <stdio.h>
-struct stat;
+#include <sys/types.h>
+#include <sys/stat.h>
 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 struct buf { int x; };
 FILE * (*rcsopen) (struct buf *, struct stat *, int);
@@ -4960,22 +4924,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 ac_aux_dir=
 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
-  if test -f "$ac_dir/install-sh"; then
-    ac_aux_dir=$ac_dir
-    ac_install_sh="$ac_aux_dir/install-sh -c"
-    break
-  elif test -f "$ac_dir/install.sh"; then
-    ac_aux_dir=$ac_dir
-    ac_install_sh="$ac_aux_dir/install.sh -c"
-    break
-  elif test -f "$ac_dir/shtool"; then
-    ac_aux_dir=$ac_dir
-    ac_install_sh="$ac_aux_dir/shtool install -c"
-    break
-  fi
+  for ac_t in install-sh install.sh shtool; do
+    if test -f "$ac_dir/$ac_t"; then
+      ac_aux_dir=$ac_dir
+      ac_install_sh="$ac_aux_dir/$ac_t -c"
+      break 2
+    fi
+  done
 done
 if test -z "$ac_aux_dir"; then
-  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
+  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 fi
 
 # These three variables are undocumented and unsupported,
@@ -4989,27 +4947,27 @@ ac_configure="$SHELL $ac_aux_dir/configu
 
 # Make sure we can run config.sub.
 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
-  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
+  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 $as_echo_n "checking build system type... " >&6; }
-if ${ac_cv_build+:} false; then :
+if test "${ac_cv_build+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_build_alias=$build_alias
 test "x$ac_build_alias" = x &&
   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 test "x$ac_build_alias" = x &&
-  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
+  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
-  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
+  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 $as_echo "$ac_cv_build" >&6; }
 case $ac_cv_build in
 *-*-*) ;;
-*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
+*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 esac
 build=$ac_cv_build
 ac_save_IFS=$IFS; IFS='-'
@@ -5027,14 +4985,14 @@ case $build_os in *\ *) build_os=`echo "
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 $as_echo_n "checking host system type... " >&6; }
-if ${ac_cv_host+:} false; then :
+if test "${ac_cv_host+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test "x$host_alias" = x; then
   ac_cv_host=$ac_cv_build
 else
   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
-    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
+    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 fi
 
 fi
@@ -5042,7 +5000,7 @@ fi
 $as_echo "$ac_cv_host" >&6; }
 case $ac_cv_host in
 *-*-*) ;;
-*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
+*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 esac
 host=$ac_cv_host
 ac_save_IFS=$IFS; IFS='-'
@@ -5060,14 +5018,14 @@ case $host_os in *\ *) host_os=`echo "$h
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
 $as_echo_n "checking target system type... " >&6; }
-if ${ac_cv_target+:} false; then :
+if test "${ac_cv_target+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test "x$target_alias" = x; then
   ac_cv_target=$ac_cv_host
 else
   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
-    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
+    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
 fi
 
 fi
@@ -5075,7 +5033,7 @@ fi
 $as_echo "$ac_cv_target" >&6; }
 case $ac_cv_target in
 *-*-*) ;;
-*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
+*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
 esac
 target=$ac_cv_target
 ac_save_IFS=$IFS; IFS='-'
@@ -5110,7 +5068,7 @@ if test -n "$CPP" && test -d "$CPP"; the
   CPP=
 fi
 if test -z "$CPP"; then
-  if ${ac_cv_prog_CPP+:} false; then :
+  if test "${ac_cv_prog_CPP+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
       # Double quotes because CPP needs to be expanded
@@ -5140,7 +5098,7 @@ else
   # Broken: fails on valid input.
 continue
 fi
-rm -f conftest.err conftest.i conftest.$ac_ext
+rm -f conftest.err conftest.$ac_ext
 
   # OK, works on sane cases.  Now check whether nonexistent headers
   # can be detected and how.
@@ -5156,11 +5114,11 @@ else
 ac_preproc_ok=:
 break
 fi
-rm -f conftest.err conftest.i conftest.$ac_ext
+rm -f conftest.err conftest.$ac_ext
 
 done
 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.i conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.$ac_ext
 if $ac_preproc_ok; then :
   break
 fi
@@ -5199,7 +5157,7 @@ else
   # Broken: fails on valid input.
 continue
 fi
-rm -f conftest.err conftest.i conftest.$ac_ext
+rm -f conftest.err conftest.$ac_ext
 
   # OK, works on sane cases.  Now check whether nonexistent headers
   # can be detected and how.
@@ -5215,18 +5173,18 @@ else
 ac_preproc_ok=:
 break
 fi
-rm -f conftest.err conftest.i conftest.$ac_ext
+rm -f conftest.err conftest.$ac_ext
 
 done
 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.i conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.$ac_ext
 if $ac_preproc_ok; then :
 
 else
   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
-See \`config.log' for more details" "$LINENO" 5; }
+as_fn_error "C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details." "$LINENO" 5; }
 fi
 
 ac_ext=c
@@ -5238,7 +5196,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
-if ${ac_cv_path_GREP+:} false; then :
+if test "${ac_cv_path_GREP+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -z "$GREP"; then
@@ -5252,7 +5210,7 @@ do
     for ac_prog in grep ggrep; do
     for ac_exec_ext in '' $ac_executable_extensions; do
       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
-      as_fn_executable_p "$ac_path_GREP" || continue
+      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 # Check for GNU ac_path_GREP and select it if it is found.
   # Check for GNU $ac_path_GREP
 case `"$ac_path_GREP" --version 2>&1` in
@@ -5287,7 +5245,7 @@ esac
   done
 IFS=$as_save_IFS
   if test -z "$ac_cv_path_GREP"; then
-    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   fi
 else
   ac_cv_path_GREP=$GREP
@@ -5301,7 +5259,7 @@ fi
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 $as_echo_n "checking for egrep... " >&6; }
-if ${ac_cv_path_EGREP+:} false; then :
+if test "${ac_cv_path_EGREP+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
@@ -5318,7 +5276,7 @@ do
     for ac_prog in egrep; do
     for ac_exec_ext in '' $ac_executable_extensions; do
       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
-      as_fn_executable_p "$ac_path_EGREP" || continue
+      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 # Check for GNU ac_path_EGREP and select it if it is found.
   # Check for GNU $ac_path_EGREP
 case `"$ac_path_EGREP" --version 2>&1` in
@@ -5353,7 +5311,7 @@ esac
   done
 IFS=$as_save_IFS
   if test -z "$ac_cv_path_EGREP"; then
-    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   fi
 else
   ac_cv_path_EGREP=$EGREP
@@ -5368,7 +5326,7 @@ fi
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 $as_echo_n "checking for ANSI C header files... " >&6; }
-if ${ac_cv_header_stdc+:} false; then :
+if test "${ac_cv_header_stdc+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -5485,7 +5443,8 @@ do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 "
-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+eval as_val=\$$as_ac_Header
+   if test "x$as_val" = x""yes; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 _ACEOF
@@ -5497,7 +5456,7 @@ done
 
 
   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
-if test "x$ac_cv_header_minix_config_h" = xyes; then :
+if test "x$ac_cv_header_minix_config_h" = x""yes; then :
   MINIX=yes
 else
   MINIX=
@@ -5519,14 +5478,14 @@ fi
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
-if ${ac_cv_safe_to_define___extensions__+:} false; then :
+if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
-#         define __EXTENSIONS__ 1
-          $ac_includes_default
+#	  define __EXTENSIONS__ 1
+	  $ac_includes_default
 int
 main ()
 {
@@ -5583,7 +5542,7 @@ program_transform_name=`$as_echo "$progr
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 $as_echo_n "checking for a BSD-compatible install... " >&6; }
 if test -z "$INSTALL"; then
-if ${ac_cv_path_install+:} false; then :
+if test "${ac_cv_path_install+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -5603,7 +5562,7 @@ case $as_dir/ in #((
     # by default.
     for ac_prog in ginstall scoinst install; do
       for ac_exec_ext in '' $ac_executable_extensions; do
-	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
+	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 	  if test $ac_prog = install &&
 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 	    # AIX install.  It has an incompatible calling convention.
@@ -5766,7 +5725,7 @@ esac
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
-if ${ac_cv_path_SED+:} false; then :
+if test "${ac_cv_path_SED+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
@@ -5786,7 +5745,7 @@ do
     for ac_prog in sed gsed; do
     for ac_exec_ext in '' $ac_executable_extensions; do
       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
-      as_fn_executable_p "$ac_path_SED" || continue
+      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 # Check for GNU ac_path_SED and select it if it is found.
   # Check for GNU $ac_path_SED
 case `"$ac_path_SED" --version 2>&1` in
@@ -5821,7 +5780,7 @@ esac
   done
 IFS=$as_save_IFS
   if test -z "$ac_cv_path_SED"; then
-    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
+    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
   fi
 else
   ac_cv_path_SED=$SED
@@ -5848,7 +5807,7 @@ Xsed="$SED -e 1s/^X//"
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 $as_echo_n "checking for fgrep... " >&6; }
-if ${ac_cv_path_FGREP+:} false; then :
+if test "${ac_cv_path_FGREP+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
@@ -5865,7 +5824,7 @@ do
     for ac_prog in fgrep; do
     for ac_exec_ext in '' $ac_executable_extensions; do
       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
-      as_fn_executable_p "$ac_path_FGREP" || continue
+      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 # Check for GNU ac_path_FGREP and select it if it is found.
   # Check for GNU $ac_path_FGREP
 case `"$ac_path_FGREP" --version 2>&1` in
@@ -5900,7 +5859,7 @@ esac
   done
 IFS=$as_save_IFS
   if test -z "$ac_cv_path_FGREP"; then
-    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   fi
 else
   ac_cv_path_FGREP=$FGREP
@@ -5979,7 +5938,7 @@ else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 $as_echo_n "checking for non-GNU ld... " >&6; }
 fi
-if ${lt_cv_path_LD+:} false; then :
+if test "${lt_cv_path_LD+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -z "$LD"; then
@@ -6016,10 +5975,10 @@ else
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
 fi
-test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
+test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
-if ${lt_cv_prog_gnu_ld+:} false; then :
+if test "${lt_cv_prog_gnu_ld+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   # I'd rather use --version here, but apparently some GNU lds only accept -v.
@@ -6046,7 +6005,7 @@ with_gnu_ld=$lt_cv_prog_gnu_ld
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
-if ${lt_cv_path_NM+:} false; then :
+if test "${lt_cv_path_NM+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$NM"; then
@@ -6109,7 +6068,7 @@ else
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_DUMPBIN+:} false; then :
+if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$DUMPBIN"; then
@@ -6121,7 +6080,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -6153,7 +6112,7 @@ do
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
+if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_DUMPBIN"; then
@@ -6165,7 +6124,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -6225,7 +6184,7 @@ test -z "$NM" && NM=nm
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
-if ${lt_cv_nm_interface+:} false; then :
+if test "${lt_cv_nm_interface+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_nm_interface="BSD nm"
@@ -6260,7 +6219,7 @@ fi
 # find the maximum length of command line arguments
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
-if ${lt_cv_sys_max_cmd_len+:} false; then :
+if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
     i=0
@@ -6457,7 +6416,7 @@ esac
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 $as_echo_n "checking for $LD option to reload object files... " >&6; }
-if ${lt_cv_ld_reload_flag+:} false; then :
+if test "${lt_cv_ld_reload_flag+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_ld_reload_flag='-r'
@@ -6493,7 +6452,7 @@ if test -n "$ac_tool_prefix"; then
 set dummy ${ac_tool_prefix}objdump; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_OBJDUMP+:} false; then :
+if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$OBJDUMP"; then
@@ -6505,7 +6464,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -6533,7 +6492,7 @@ if test -z "$ac_cv_prog_OBJDUMP"; then
 set dummy objdump; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
+if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_OBJDUMP"; then
@@ -6545,7 +6504,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_ac_ct_OBJDUMP="objdump"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -6592,7 +6551,7 @@ test -z "$OBJDUMP" && OBJDUMP=objdump
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
-if ${lt_cv_deplibs_check_method+:} false; then :
+if test "${lt_cv_deplibs_check_method+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_file_magic_cmd='$MAGIC_CMD'
@@ -6813,7 +6772,7 @@ if test -n "$ac_tool_prefix"; then
 set dummy ${ac_tool_prefix}ar; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_AR+:} false; then :
+if test "${ac_cv_prog_AR+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$AR"; then
@@ -6825,7 +6784,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_AR="${ac_tool_prefix}ar"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -6853,7 +6812,7 @@ if test -z "$ac_cv_prog_AR"; then
 set dummy ar; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_AR+:} false; then :
+if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_AR"; then
@@ -6865,7 +6824,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_ac_ct_AR="ar"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -6918,7 +6877,7 @@ if test -n "$ac_tool_prefix"; then
 set dummy ${ac_tool_prefix}strip; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_STRIP+:} false; then :
+if test "${ac_cv_prog_STRIP+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$STRIP"; then
@@ -6930,7 +6889,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -6958,7 +6917,7 @@ if test -z "$ac_cv_prog_STRIP"; then
 set dummy strip; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
+if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_STRIP"; then
@@ -6970,7 +6929,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_ac_ct_STRIP="strip"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7017,7 +6976,7 @@ if test -n "$ac_tool_prefix"; then
 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_RANLIB+:} false; then :
+if test "${ac_cv_prog_RANLIB+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$RANLIB"; then
@@ -7029,7 +6988,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7057,7 +7016,7 @@ if test -z "$ac_cv_prog_RANLIB"; then
 set dummy ranlib; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
+if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_RANLIB"; then
@@ -7069,7 +7028,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_ac_ct_RANLIB="ranlib"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7161,7 +7120,7 @@ do
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_AWK+:} false; then :
+if test "${ac_cv_prog_AWK+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$AWK"; then
@@ -7173,7 +7132,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_AWK="$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7228,7 +7187,7 @@ compiler=$CC
 # Check for command to grab the raw symbol name followed by C symbol from nm.
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
-if ${lt_cv_sys_global_symbol_pipe+:} false; then :
+if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -7612,7 +7571,7 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*
   CFLAGS="$CFLAGS -belf"
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
-if ${lt_cv_cc_needs_belf+:} false; then :
+if test "${lt_cv_cc_needs_belf+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_ext=c
@@ -7688,7 +7647,7 @@ need_locks="$enable_libtool_lock"
 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_DSYMUTIL+:} false; then :
+if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$DSYMUTIL"; then
@@ -7700,7 +7659,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7728,7 +7687,7 @@ if test -z "$ac_cv_prog_DSYMUTIL"; then
 set dummy dsymutil; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
+if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_DSYMUTIL"; then
@@ -7740,7 +7699,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7780,7 +7739,7 @@ fi
 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_NMEDIT+:} false; then :
+if test "${ac_cv_prog_NMEDIT+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$NMEDIT"; then
@@ -7792,7 +7751,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7820,7 +7779,7 @@ if test -z "$ac_cv_prog_NMEDIT"; then
 set dummy nmedit; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
+if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_NMEDIT"; then
@@ -7832,7 +7791,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_ac_ct_NMEDIT="nmedit"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7872,7 +7831,7 @@ fi
 set dummy ${ac_tool_prefix}lipo; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_LIPO+:} false; then :
+if test "${ac_cv_prog_LIPO+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$LIPO"; then
@@ -7884,7 +7843,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7912,7 +7871,7 @@ if test -z "$ac_cv_prog_LIPO"; then
 set dummy lipo; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
+if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_LIPO"; then
@@ -7924,7 +7883,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_ac_ct_LIPO="lipo"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7964,7 +7923,7 @@ fi
 set dummy ${ac_tool_prefix}otool; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_OTOOL+:} false; then :
+if test "${ac_cv_prog_OTOOL+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$OTOOL"; then
@@ -7976,7 +7935,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -8004,7 +7963,7 @@ if test -z "$ac_cv_prog_OTOOL"; then
 set dummy otool; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
+if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_OTOOL"; then
@@ -8016,7 +7975,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_ac_ct_OTOOL="otool"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -8056,7 +8015,7 @@ fi
 set dummy ${ac_tool_prefix}otool64; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_OTOOL64+:} false; then :
+if test "${ac_cv_prog_OTOOL64+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$OTOOL64"; then
@@ -8068,7 +8027,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -8096,7 +8055,7 @@ if test -z "$ac_cv_prog_OTOOL64"; then
 set dummy otool64; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
+if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_OTOOL64"; then
@@ -8108,7 +8067,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_ac_ct_OTOOL64="otool64"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -8171,7 +8130,7 @@ fi
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 $as_echo_n "checking for -single_module linker flag... " >&6; }
-if ${lt_cv_apple_cc_single_mod+:} false; then :
+if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_apple_cc_single_mod=no
@@ -8200,7 +8159,7 @@ fi
 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
-if ${lt_cv_ld_exported_symbols_list+:} false; then :
+if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_ld_exported_symbols_list=no
@@ -8232,7 +8191,7 @@ fi
 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 $as_echo_n "checking for -force_load linker flag... " >&6; }
-if ${lt_cv_ld_force_load+:} false; then :
+if test "${lt_cv_ld_force_load+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_ld_force_load=no
@@ -8299,7 +8258,7 @@ for ac_header in dlfcn.h
 do :
   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 "
-if test "x$ac_cv_header_dlfcn_h" = xyes; then :
+if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_DLFCN_H 1
 _ACEOF
@@ -8317,7 +8276,7 @@ ac_config_headers="$ac_config_headers co
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
-if ${ac_cv_c_bigendian+:} false; then :
+if test "${ac_cv_c_bigendian+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_cv_c_bigendian=unknown
@@ -8535,7 +8494,7 @@ fi
 
      ;; #(
    *)
-     as_fn_error $? "unknown endianness
+     as_fn_error "unknown endianness
  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
  esac
 
@@ -8543,10 +8502,12 @@ fi
 
 
 # Put a plausible default for CC_FOR_BUILD in Makefile.
-if test "x$cross_compiling" = "xno"; then
-  CC_FOR_BUILD='$(CC)'
-else
-  CC_FOR_BUILD=gcc
+if test -z "$CC_FOR_BUILD"; then
+  if test "x$cross_compiling" = "xno"; then
+    CC_FOR_BUILD='$(CC)'
+  else
+    CC_FOR_BUILD=gcc
+  fi
 fi
 
 
@@ -8559,7 +8520,7 @@ if test -n "$ac_tool_prefix"; then
 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_RANLIB+:} false; then :
+if test "${ac_cv_prog_RANLIB+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$RANLIB"; then
@@ -8571,7 +8532,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -8599,7 +8560,7 @@ if test -z "$ac_cv_prog_RANLIB"; then
 set dummy ranlib; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
+if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_RANLIB"; then
@@ -8611,7 +8572,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_ac_ct_RANLIB="ranlib"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -8667,7 +8628,7 @@ depcc="$CC"   am_compiler_list=
 am_depcomp=$ac_aux_dir/depcomp
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 $as_echo_n "checking dependency style of $depcc... " >&6; }
-if ${am_cv_CC_dependencies_compiler_type+:} false; then :
+if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -f "$am_depcomp"; then
@@ -8753,7 +8714,7 @@ fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 if test x${am_cv_CC_dependencies_compiler_type-none} = xnone
-then as_fn_error $? "no usable dependency style found" "$LINENO" 5
+then as_fn_error "no usable dependency style found" "$LINENO" 5
 else CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
 fi
@@ -8766,7 +8727,7 @@ do
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_MAKE+:} false; then :
+if test "${ac_cv_prog_MAKE+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$MAKE"; then
@@ -8778,7 +8739,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_MAKE="$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -8896,7 +8857,8 @@ for ac_header in stdlib.h string.h strin
 do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+eval as_val=\$$as_ac_Header
+   if test "x$as_val" = x""yes; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 _ACEOF
@@ -8909,7 +8871,8 @@ for ac_header in sys/time.h sys/times.h 
 do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+eval as_val=\$$as_ac_Header
+   if test "x$as_val" = x""yes; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 _ACEOF
@@ -8922,7 +8885,8 @@ for ac_header in fcntl.h fpu_control.h
 do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+eval as_val=\$$as_ac_Header
+   if test "x$as_val" = x""yes; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 _ACEOF
@@ -8935,7 +8899,8 @@ for ac_header in dlfcn.h errno.h sys/sta
 do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+eval as_val=\$$as_ac_Header
+   if test "x$as_val" = x""yes; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 _ACEOF
@@ -8948,7 +8913,8 @@ for ac_func in getrusage time sigaction 
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
+eval as_val=\$$as_ac_var
+   if test "x$as_val" = x""yes; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -8960,7 +8926,8 @@ for ac_func in mmap munmap lstat truncat
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
+eval as_val=\$$as_ac_var
+   if test "x$as_val" = x""yes; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -8975,7 +8942,7 @@ ac_fn_c_check_member "$LINENO" "struct s
 #include <sys/stat.h>
 #endif
 "
-if test "x$ac_cv_member_struct_stat_st_dev" = xyes; then :
+if test "x$ac_cv_member_struct_stat_st_dev" = x""yes; then :
 
 cat >>confdefs.h <<_ACEOF
 #define HAVE_STRUCT_STAT_ST_DEV 1
@@ -8990,7 +8957,7 @@ ac_fn_c_check_member "$LINENO" "struct s
 #include <sys/stat.h>
 #endif
 "
-if test "x$ac_cv_member_struct_stat_st_ino" = xyes; then :
+if test "x$ac_cv_member_struct_stat_st_ino" = x""yes; then :
 
 cat >>confdefs.h <<_ACEOF
 #define HAVE_STRUCT_STAT_ST_INO 1
@@ -9005,7 +8972,7 @@ ac_fn_c_check_member "$LINENO" "struct s
 #include <sys/stat.h>
 #endif
 "
-if test "x$ac_cv_member_struct_stat_st_mode" = xyes; then :
+if test "x$ac_cv_member_struct_stat_st_mode" = x""yes; then :
 
 cat >>confdefs.h <<_ACEOF
 #define HAVE_STRUCT_STAT_ST_MODE 1
@@ -9020,7 +8987,7 @@ ac_fn_c_check_member "$LINENO" "struct s
 #include <sys/stat.h>
 #endif
 "
-if test "x$ac_cv_member_struct_stat_st_nlink" = xyes; then :
+if test "x$ac_cv_member_struct_stat_st_nlink" = x""yes; then :
 
 cat >>confdefs.h <<_ACEOF
 #define HAVE_STRUCT_STAT_ST_NLINK 1
@@ -9035,7 +9002,7 @@ ac_fn_c_check_member "$LINENO" "struct s
 #include <sys/stat.h>
 #endif
 "
-if test "x$ac_cv_member_struct_stat_st_uid" = xyes; then :
+if test "x$ac_cv_member_struct_stat_st_uid" = x""yes; then :
 
 cat >>confdefs.h <<_ACEOF
 #define HAVE_STRUCT_STAT_ST_UID 1
@@ -9050,7 +9017,7 @@ ac_fn_c_check_member "$LINENO" "struct s
 #include <sys/stat.h>
 #endif
 "
-if test "x$ac_cv_member_struct_stat_st_gid" = xyes; then :
+if test "x$ac_cv_member_struct_stat_st_gid" = x""yes; then :
 
 cat >>confdefs.h <<_ACEOF
 #define HAVE_STRUCT_STAT_ST_GID 1
@@ -9065,7 +9032,7 @@ ac_fn_c_check_member "$LINENO" "struct s
 #include <sys/stat.h>
 #endif
 "
-if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then :
+if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
 
 cat >>confdefs.h <<_ACEOF
 #define HAVE_STRUCT_STAT_ST_RDEV 1
@@ -9080,7 +9047,7 @@ ac_fn_c_check_member "$LINENO" "struct s
 #include <sys/stat.h>
 #endif
 "
-if test "x$ac_cv_member_struct_stat_st_size" = xyes; then :
+if test "x$ac_cv_member_struct_stat_st_size" = x""yes; then :
 
 cat >>confdefs.h <<_ACEOF
 #define HAVE_STRUCT_STAT_ST_SIZE 1
@@ -9095,7 +9062,7 @@ ac_fn_c_check_member "$LINENO" "struct s
 #include <sys/stat.h>
 #endif
 "
-if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then :
+if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
 
 cat >>confdefs.h <<_ACEOF
 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
@@ -9110,7 +9077,7 @@ ac_fn_c_check_member "$LINENO" "struct s
 #include <sys/stat.h>
 #endif
 "
-if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
+if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
 
 cat >>confdefs.h <<_ACEOF
 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
@@ -9125,7 +9092,7 @@ ac_fn_c_check_member "$LINENO" "struct s
 #include <sys/stat.h>
 #endif
 "
-if test "x$ac_cv_member_struct_stat_st_atime" = xyes; then :
+if test "x$ac_cv_member_struct_stat_st_atime" = x""yes; then :
 
 cat >>confdefs.h <<_ACEOF
 #define HAVE_STRUCT_STAT_ST_ATIME 1
@@ -9140,7 +9107,7 @@ ac_fn_c_check_member "$LINENO" "struct s
 #include <sys/stat.h>
 #endif
 "
-if test "x$ac_cv_member_struct_stat_st_mtime" = xyes; then :
+if test "x$ac_cv_member_struct_stat_st_mtime" = x""yes; then :
 
 cat >>confdefs.h <<_ACEOF
 #define HAVE_STRUCT_STAT_ST_MTIME 1
@@ -9155,7 +9122,7 @@ ac_fn_c_check_member "$LINENO" "struct s
 #include <sys/stat.h>
 #endif
 "
-if test "x$ac_cv_member_struct_stat_st_ctime" = xyes; then :
+if test "x$ac_cv_member_struct_stat_st_ctime" = x""yes; then :
 
 cat >>confdefs.h <<_ACEOF
 #define HAVE_STRUCT_STAT_ST_CTIME 1
@@ -9168,7 +9135,7 @@ ac_fn_c_check_type "$LINENO" "socklen_t"
 #include <sys/socket.h>
 
 "
-if test "x$ac_cv_type_socklen_t" = xyes; then :
+if test "x$ac_cv_type_socklen_t" = x""yes; then :
 
 cat >>confdefs.h <<_ACEOF
 #define HAVE_SOCKLEN_T 1
@@ -9181,7 +9148,7 @@ fi
 # Check for socket libraries
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
 $as_echo_n "checking for bind in -lsocket... " >&6; }
-if ${ac_cv_lib_socket_bind+:} false; then :
+if test "${ac_cv_lib_socket_bind+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -9215,7 +9182,7 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
 $as_echo "$ac_cv_lib_socket_bind" >&6; }
-if test "x$ac_cv_lib_socket_bind" = xyes; then :
+if test "x$ac_cv_lib_socket_bind" = x""yes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LIBSOCKET 1
 _ACEOF
@@ -9226,7 +9193,7 @@ fi
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
-if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
+if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -9260,7 +9227,7 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
-if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
+if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LIBNSL 1
 _ACEOF
@@ -9297,7 +9264,7 @@ fi
 do :
   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 "
-if test "x$ac_cv_header_dlfcn_h" = xyes; then :
+if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_DLFCN_H 1
 _ACEOF
@@ -9310,7 +9277,7 @@ done
 do :
   ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
 "
-if test "x$ac_cv_header_windows_h" = xyes; then :
+if test "x$ac_cv_header_windows_h" = x""yes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_WINDOWS_H 1
 _ACEOF
@@ -9326,7 +9293,7 @@ if test "${enable_plugins+set}" = set; t
       no) plugins=no ;;
       *) plugins=yes
          if test "$maybe_plugins" != "yes" ; then
-	   as_fn_error $? "Building with plugin support requires a host that supports dlopen." "$LINENO" 5
+	   as_fn_error "Building with plugin support requires a host that supports dlopen." "$LINENO" 5
 	 fi ;;
      esac
 else
@@ -9335,9 +9302,9 @@ else
 fi
 
   if test "$plugins" = "yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if ${ac_cv_search_dlopen+:} false; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
+$as_echo_n "checking for library containing dlsym... " >&6; }
+if test "${ac_cv_search_dlsym+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -9350,11 +9317,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 #ifdef __cplusplus
 extern "C"
 #endif
-char dlopen ();
+char dlsym ();
 int
 main ()
 {
-return dlopen ();
+return dlsym ();
   ;
   return 0;
 }
@@ -9367,25 +9334,25 @@ for ac_lib in '' dl; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_dlopen=$ac_res
+  ac_cv_search_dlsym=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if ${ac_cv_search_dlopen+:} false; then :
+  if test "${ac_cv_search_dlsym+set}" = set; then :
   break
 fi
 done
-if ${ac_cv_search_dlopen+:} false; then :
+if test "${ac_cv_search_dlsym+set}" = set; then :
 
 else
-  ac_cv_search_dlopen=no
+  ac_cv_search_dlsym=no
 fi
 rm conftest.$ac_ext
 LIBS=$ac_func_search_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
+$as_echo "$ac_cv_search_dlsym" >&6; }
+ac_res=$ac_cv_search_dlsym
 if test "$ac_res" != no; then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
@@ -9578,7 +9545,7 @@ fi
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 $as_echo_n "checking for objdir... " >&6; }
-if ${lt_cv_objdir+:} false; then :
+if test "${lt_cv_objdir+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   rm -f .libs 2>/dev/null
@@ -9656,7 +9623,7 @@ file_magic*)
   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
-if ${lt_cv_path_MAGIC_CMD+:} false; then :
+if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   case $MAGIC_CMD in
@@ -9722,7 +9689,7 @@ if test -z "$lt_cv_path_MAGIC_CMD"; then
   if test -n "$ac_tool_prefix"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 $as_echo_n "checking for file... " >&6; }
-if ${lt_cv_path_MAGIC_CMD+:} false; then :
+if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   case $MAGIC_CMD in
@@ -9864,7 +9831,7 @@ if test "$GCC" = yes; then
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
-if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
+if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_rtti_exceptions=no
@@ -10217,7 +10184,7 @@ esac
 if test -n "$lt_prog_compiler_pic"; then
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
-if ${lt_cv_prog_compiler_pic_works+:} false; then :
+if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_pic_works=no
@@ -10276,7 +10243,7 @@ fi
 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
-if ${lt_cv_prog_compiler_static_works+:} false; then :
+if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_static_works=no
@@ -10319,7 +10286,7 @@ fi
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
-if ${lt_cv_prog_compiler_c_o+:} false; then :
+if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_c_o=no
@@ -10374,7 +10341,7 @@ fi
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
-if ${lt_cv_prog_compiler_c_o+:} false; then :
+if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_c_o=no
@@ -11190,7 +11157,7 @@ if test -z "$aix_libpath"; then aix_libp
 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 $as_echo_n "checking if $CC understands -b... " >&6; }
-if ${lt_cv_prog_compiler__b+:} false; then :
+if test "${lt_cv_prog_compiler__b+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler__b=no
@@ -11562,7 +11529,7 @@ x|xyes)
       # to ld, don't add -lc before -lgcc.
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
-if ${lt_cv_archive_cmds_need_lc+:} false; then :
+if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   $RM conftest*
@@ -12200,7 +12167,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
   shlibpath_overrides_runpath=no
 
   # Some binutils ld are patched to set DT_RUNPATH
-  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
+  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_shlibpath_overrides_runpath=no
@@ -12620,7 +12587,7 @@ else
   # if libdl is installed we need to link against it
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 $as_echo_n "checking for dlopen in -ldl... " >&6; }
-if ${ac_cv_lib_dl_dlopen+:} false; then :
+if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -12654,7 +12621,7 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
-if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
+if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 else
 
@@ -12668,12 +12635,12 @@ fi
 
   *)
     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
-if test "x$ac_cv_func_shl_load" = xyes; then :
+if test "x$ac_cv_func_shl_load" = x""yes; then :
   lt_cv_dlopen="shl_load"
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 $as_echo_n "checking for shl_load in -ldld... " >&6; }
-if ${ac_cv_lib_dld_shl_load+:} false; then :
+if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -12707,16 +12674,16 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
-if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
+if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 else
   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
-if test "x$ac_cv_func_dlopen" = xyes; then :
+if test "x$ac_cv_func_dlopen" = x""yes; then :
   lt_cv_dlopen="dlopen"
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 $as_echo_n "checking for dlopen in -ldl... " >&6; }
-if ${ac_cv_lib_dl_dlopen+:} false; then :
+if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -12750,12 +12717,12 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
-if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
+if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
-if ${ac_cv_lib_svld_dlopen+:} false; then :
+if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -12789,12 +12756,12 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
-if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
+if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 $as_echo_n "checking for dld_link in -ldld... " >&6; }
-if ${ac_cv_lib_dld_dld_link+:} false; then :
+if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -12828,7 +12795,7 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
-if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
+if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 fi
 
@@ -12869,7 +12836,7 @@ fi
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
-if ${lt_cv_dlopen_self+:} false; then :
+if test "${lt_cv_dlopen_self+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   	  if test "$cross_compiling" = yes; then :
@@ -12878,7 +12845,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12881 "configure"
+#line 12848 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12975,7 +12942,7 @@ fi
       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
-if ${lt_cv_dlopen_self_static+:} false; then :
+if test "${lt_cv_dlopen_self_static+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   	  if test "$cross_compiling" = yes; then :
@@ -12984,7 +12951,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12987 "configure"
+#line 12954 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -13287,7 +13254,7 @@ if test "${enable_sim_stdio+set}" = set;
   enableval=$enable_sim_stdio; case "${enableval}" in
   yes)	sim_stdio="DO_USE_STDIO";;
   no)	sim_stdio="DONT_USE_STDIO";;
-  *)	as_fn_error $? "Unknown value $enableval passed to --enable-sim-stdio" "$LINENO" 5;;
+  *)	as_fn_error "Unknown value $enableval passed to --enable-sim-stdio" "$LINENO" 5;;
 esac
 fi
 
@@ -13377,7 +13344,7 @@ if test "${enable_sim_assert+set}" = set
   enableval=$enable_sim_assert; case "${enableval}" in
   yes)	sim_assert="1";;
   no)	sim_assert="0";;
-  *)	as_fn_error $? "--enable-sim-assert does not take a value" "$LINENO" 5;;
+  *)	as_fn_error "--enable-sim-assert does not take a value" "$LINENO" 5;;
 esac
 fi
 
@@ -13399,7 +13366,7 @@ if test "${enable_sim_environment+set}" 
   user | USER)           sim_environment="USER_ENVIRONMENT";;
   virtual | VIRTUAL)     sim_environment="VIRTUAL_ENVIRONMENT";;
   operating | OPERATING) sim_environment="OPERATING_ENVIRONMENT";;
-  *)   as_fn_error $? "Unknown value $enableval passed to --enable-sim-environment" "$LINENO" 5;;
+  *)   as_fn_error "Unknown value $enableval passed to --enable-sim-environment" "$LINENO" 5;;
 esac
 fi
 
@@ -13446,7 +13413,7 @@ fi
 # Check whether --with-pkgversion was given.
 if test "${with_pkgversion+set}" = set; then :
   withval=$with_pkgversion; case "$withval" in
-      yes) as_fn_error $? "package version not specified" "$LINENO" 5 ;;
+      yes) as_fn_error "package version not specified" "$LINENO" 5 ;;
       no)  PKGVERSION= ;;
       *)   PKGVERSION="($withval) " ;;
      esac
@@ -13462,7 +13429,7 @@ fi
 # Check whether --with-bugurl was given.
 if test "${with_bugurl+set}" = set; then :
   withval=$with_bugurl; case "$withval" in
-      yes) as_fn_error $? "bug URL not specified" "$LINENO" 5 ;;
+      yes) as_fn_error "bug URL not specified" "$LINENO" 5 ;;
       no)  BUGURL=
 	   ;;
       *)   BUGURL="$withval"
@@ -13499,7 +13466,7 @@ _ACEOF
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
 $as_echo_n "checking return type of signal handlers... " >&6; }
-if ${ac_cv_type_signal+:} false; then :
+if test "${ac_cv_type_signal+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13563,7 +13530,7 @@ if test "${enable_sim_endian+set}" = set
 	     sim_endian="-DWITH_DEFAULT_TARGET_BYTE_ORDER=BFD_ENDIAN_UNKNOWN"
 	   fi
 	 fi;;
-  *)	 as_fn_error $? "\"Unknown value $enableval for --enable-sim-endian\"" "$LINENO" 5; sim_endian="";;
+  *)	 as_fn_error "\"Unknown value $enableval for --enable-sim-endian\"" "$LINENO" 5; sim_endian="";;
 esac
 if test x"$silent" != x"yes" && test x"$sim_endian" != x""; then
   echo "Setting endian flags = $sim_endian" 6>&1
@@ -13609,7 +13576,7 @@ if test "${enable_sim_alignment+set}" = 
            sim_alignment="-DWITH_DEFAULT_ALIGNMENT=0"
          fi
        fi;;
-  *)   as_fn_error $? "\"Unknown value $enableval passed to --enable-sim-alignment\"" "$LINENO" 5; sim_alignment="";;
+  *)   as_fn_error "\"Unknown value $enableval passed to --enable-sim-alignment\"" "$LINENO" 5; sim_alignment="";;
 esac
 if test x"$silent" != x"yes" && test x"$sim_alignment" != x""; then
   echo "Setting alignment flags = $sim_alignment" 6>&1
@@ -13648,7 +13615,7 @@ case "${enableval}" in
       else
         sim_bitsize="-DWITH_TARGET_WORD_BITSIZE=64 -DWITH_TARGET_WORD_MSB=0"
       fi ;;
-  *)  as_fn_error $? "\"--enable-sim-bitsize was given $enableval.  Expected 32 or 64\"" "$LINENO" 5 ;;
+  *)  as_fn_error "\"--enable-sim-bitsize was given $enableval.  Expected 32 or 64\"" "$LINENO" 5 ;;
 esac
 # address bitsize
 tmp=`echo "${enableval}" | sed -e "s/^[0-9]*,*[0-9]*,*//"`
@@ -13656,7 +13623,7 @@ case x"${tmp}" in
   x ) ;;
   x32 | x32,* ) sim_bitsize="${sim_bitsize} -DWITH_TARGET_ADDRESS_BITSIZE=32" ;;
   x64 | x64,* ) sim_bitsize="${sim_bitsize} -DWITH_TARGET_ADDRESS_BITSIZE=64" ;;
-  * ) as_fn_error $? "\"--enable-sim-bitsize was given address size $enableval.  Expected 32 or 64\"" "$LINENO" 5 ;;
+  * ) as_fn_error "\"--enable-sim-bitsize was given address size $enableval.  Expected 32 or 64\"" "$LINENO" 5 ;;
 esac
 # cell bitsize
 tmp=`echo "${enableval}" | sed -e "s/^[0-9]*,*[0-9*]*,*[0-9]*,*//"`
@@ -13664,7 +13631,7 @@ case x"${tmp}" in
   x ) ;;
   x32 | x32,* ) sim_bitsize="${sim_bitsize} -DWITH_TARGET_CELL_BITSIZE=32" ;;
   x64 | x64,* ) sim_bitsize="${sim_bitsize} -DWITH_TARGET_CELL_BITSIZE=64" ;;
-  * ) as_fn_error $? "\"--enable-sim-bitsize was given cell size $enableval.  Expected 32 or 64\"" "$LINENO" 5 ;;
+  * ) as_fn_error "\"--enable-sim-bitsize was given cell size $enableval.  Expected 32 or 64\"" "$LINENO" 5 ;;
 esac
 if test x"$silent" != x"yes" && test x"$sim_bitsize" != x""; then
   echo "Setting bitsize flags = $sim_bitsize" 6>&1
@@ -13693,7 +13660,7 @@ if test "${enable_sim_scache+set}" = set
   yes)	sim_scache="-DWITH_SCACHE=${default_sim_scache}";;
   no)	sim_scache="-DWITH_SCACHE=0" ;;
   [0-9]*) sim_scache="-DWITH_SCACHE=${enableval}";;
-  *)	as_fn_error $? "\"Bad value $enableval passed to --enable-sim-scache\"" "$LINENO" 5;
+  *)	as_fn_error "\"Bad value $enableval passed to --enable-sim-scache\"" "$LINENO" 5;
 	sim_scache="";;
 esac
 if test x"$silent" != x"yes" && test x"$sim_scache" != x""; then
@@ -13709,7 +13676,7 @@ default_sim_default_model="or1200"
 # Check whether --enable-sim-default-model was given.
 if test "${enable_sim_default_model+set}" = set; then :
   enableval=$enable_sim_default_model; case "${enableval}" in
-  yes|no) as_fn_error $? "\"Missing argument to --enable-sim-default-model\"" "$LINENO" 5;;
+  yes|no) as_fn_error "\"Missing argument to --enable-sim-default-model\"" "$LINENO" 5;;
   *)	sim_default_model="-DWITH_DEFAULT_MODEL='\"${enableval}\"'";;
 esac
 if test x"$silent" != x"yes" && test x"$sim_default_model" != x""; then
@@ -13731,7 +13698,7 @@ if test "${enable_sim_environment+set}" 
   user | USER)           sim_environment="USER_ENVIRONMENT";;
   virtual | VIRTUAL)     sim_environment="VIRTUAL_ENVIRONMENT";;
   operating | OPERATING) sim_environment="OPERATING_ENVIRONMENT";;
-  *)   as_fn_error $? "Unknown value $enableval passed to --enable-sim-environment" "$LINENO" 5;;
+  *)   as_fn_error "Unknown value $enableval passed to --enable-sim-environment" "$LINENO" 5;;
 esac
 fi
 
@@ -13880,21 +13847,10 @@ _ACEOF
      :end' >>confcache
 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   if test -w "$cache_file"; then
-    if test "x$cache_file" != "x/dev/null"; then
+    test "x$cache_file" != "x/dev/null" &&
       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 $as_echo "$as_me: updating cache $cache_file" >&6;}
-      if test ! -f "$cache_file" || test -h "$cache_file"; then
-	cat confcache >"$cache_file"
-      else
-        case $cache_file in #(
-        */* | ?:*)
-	  mv -f confcache "$cache_file"$$ &&
-	  mv -f "$cache_file"$$ "$cache_file" ;; #(
-        *)
-	  mv -f confcache "$cache_file" ;;
-	esac
-      fi
-    fi
+    cat confcache >$cache_file
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
@@ -13910,7 +13866,6 @@ DEFS=-DHAVE_CONFIG_H
 
 ac_libobjs=
 ac_ltlibobjs=
-U=
 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   # 1. Remove the extension, and $U if already installed.
   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
@@ -13927,19 +13882,19 @@ LTLIBOBJS=$ac_ltlibobjs
 
 
 if test -z "${GMAKE_TRUE}" && test -z "${GMAKE_FALSE}"; then
-  as_fn_error $? "conditional \"GMAKE\" was never defined.
+  as_fn_error "conditional \"GMAKE\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
-  as_fn_error $? "conditional \"PLUGINS\" was never defined.
+  as_fn_error "conditional \"PLUGINS\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
-  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
+  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 
-: "${CONFIG_STATUS=./config.status}"
+: ${CONFIG_STATUS=./config.status}
 ac_write_fail=0
 ac_clean_files_save=$ac_clean_files
 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
@@ -14040,7 +13995,6 @@ fi
 IFS=" ""	$as_nl"
 
 # Find who we are.  Look in the path if we contain no directory separator.
-as_myself=
 case $0 in #((
   *[\\/]* ) as_myself=$0 ;;
   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -14086,19 +14040,19 @@ export LANGUAGE
 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
 
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
+# as_fn_error ERROR [LINENO LOG_FD]
+# ---------------------------------
 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
+# script with status $?, using 1 if that was 0.
 as_fn_error ()
 {
-  as_status=$1; test $as_status -eq 0 && as_status=1
-  if test "$4"; then
-    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+  as_status=$?; test $as_status -eq 0 && as_status=1
+  if test "$3"; then
+    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
   fi
-  $as_echo "$as_me: error: $2" >&2
+  $as_echo "$as_me: error: $1" >&2
   as_fn_exit $as_status
 } # as_fn_error
 
@@ -14236,16 +14190,16 @@ if (echo >conf$$.file) 2>/dev/null; then
     # ... but there are two gotchas:
     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
-    # In both cases, we have to default to `cp -pR'.
+    # In both cases, we have to default to `cp -p'.
     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
-      as_ln_s='cp -pR'
+      as_ln_s='cp -p'
   elif ln conf$$.file conf$$ 2>/dev/null; then
     as_ln_s=ln
   else
-    as_ln_s='cp -pR'
+    as_ln_s='cp -p'
   fi
 else
-  as_ln_s='cp -pR'
+  as_ln_s='cp -p'
 fi
 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 rmdir conf$$.dir 2>/dev/null
@@ -14294,7 +14248,7 @@ as_fn_mkdir_p ()
       test -d "$as_dir" && break
     done
     test -z "$as_dirs" || eval "mkdir $as_dirs"
-  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
 
 } # as_fn_mkdir_p
@@ -14305,16 +14259,28 @@ else
   as_mkdir_p=false
 fi
 
-
-# as_fn_executable_p FILE
-# -----------------------
-# Test if FILE is an executable regular file.
-as_fn_executable_p ()
-{
-  test -f "$1" && test -x "$1"
-} # as_fn_executable_p
-as_test_x='test -x'
-as_executable_p=as_fn_executable_p
+if test -x / >/dev/null 2>&1; then
+  as_test_x='test -x'
+else
+  if ls -dL / >/dev/null 2>&1; then
+    as_ls_L_option=L
+  else
+    as_ls_L_option=
+  fi
+  as_test_x='
+    eval sh -c '\''
+      if test -d "$1"; then
+	test -d "$1/.";
+      else
+	case $1 in #(
+	-*)set "./$1";;
+	esac;
+	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
+	???[sx]*):;;*)false;;esac;fi
+    '\'' sh
+  '
+fi
+as_executable_p=$as_test_x
 
 # Sed expression to map a string onto a valid CPP name.
 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -14336,7 +14302,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
 # values after options handling.
 ac_log="
 This file was extended by $as_me, which was
-generated by GNU Autoconf 2.69.  Invocation command line was
+generated by GNU Autoconf 2.64.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
   CONFIG_HEADERS  = $CONFIG_HEADERS
@@ -14376,7 +14342,6 @@ Usage: $0 [OPTION]... [TAG]...
 
   -h, --help       print this help, then exit
   -V, --version    print version number and configuration settings, then exit
-      --config     print configuration, then exit
   -q, --quiet, --silent
                    do not print progress messages
   -d, --debug      don't remove temporary files
@@ -14399,13 +14364,12 @@ Report bugs to the package provider."
 
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
 config.status
-configured by $0, generated by GNU Autoconf 2.69,
-  with options \\"\$ac_cs_config\\"
+configured by $0, generated by GNU Autoconf 2.64,
+  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
-Copyright (C) 2012 Free Software Foundation, Inc.
+Copyright (C) 2009 Free Software Foundation, Inc.
 This config.status script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it."
 
@@ -14422,16 +14386,11 @@ ac_need_defaults=:
 while test $# != 0
 do
   case $1 in
-  --*=?*)
+  --*=*)
     ac_option=`expr "X$1" : 'X\([^=]*\)='`
     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     ac_shift=:
     ;;
-  --*=)
-    ac_option=`expr "X$1" : 'X\([^=]*\)='`
-    ac_optarg=
-    ac_shift=:
-    ;;
   *)
     ac_option=$1
     ac_optarg=$2
@@ -14445,15 +14404,12 @@ do
     ac_cs_recheck=: ;;
   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
     $as_echo "$ac_cs_version"; exit ;;
-  --config | --confi | --conf | --con | --co | --c )
-    $as_echo "$ac_cs_config"; exit ;;
   --debug | --debu | --deb | --de | --d | -d )
     debug=: ;;
   --file | --fil | --fi | --f )
     $ac_shift
     case $ac_optarg in
     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
-    '') as_fn_error $? "missing file argument" ;;
     esac
     as_fn_append CONFIG_FILES " '$ac_optarg'"
     ac_need_defaults=false;;
@@ -14466,7 +14422,7 @@ do
     ac_need_defaults=false;;
   --he | --h)
     # Conflict between --help and --header
-    as_fn_error $? "ambiguous option: \`$1'
+    as_fn_error "ambiguous option: \`$1'
 Try \`$0 --help' for more information.";;
   --help | --hel | -h )
     $as_echo "$ac_cs_usage"; exit ;;
@@ -14475,7 +14431,7 @@ Try \`$0 --help' for more information.";
     ac_cs_silent=: ;;
 
   # This is an error.
-  -*) as_fn_error $? "unrecognized option: \`$1'
+  -*) as_fn_error "unrecognized option: \`$1'
 Try \`$0 --help' for more information." ;;
 
   *) as_fn_append ac_config_targets " $1"
@@ -14495,7 +14451,7 @@ fi
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 if \$ac_cs_recheck; then
-  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
+  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   shift
   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   CONFIG_SHELL='$SHELL'
@@ -14798,7 +14754,7 @@ do
     "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
     "stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS stamp-h" ;;
 
-  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
+  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   esac
 done
 
@@ -14821,10 +14777,9 @@ fi
 # after its creation but before its name has been assigned to `$tmp'.
 $debug ||
 {
-  tmp= ac_tmp=
+  tmp=
   trap 'exit_status=$?
-  : "${ac_tmp:=$tmp}"
-  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
+  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 ' 0
   trap 'as_fn_exit 1' 1 2 13 15
 }
@@ -14832,13 +14787,12 @@ fi
 
 {
   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
-  test -d "$tmp"
+  test -n "$tmp" && test -d "$tmp"
 }  ||
 {
   tmp=./conf$$-$RANDOM
   (umask 077 && mkdir "$tmp")
-} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
-ac_tmp=$tmp
+} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
 # Set up the scripts for CONFIG_FILES section.
 # No need to generate them if there are no CONFIG_FILES.
@@ -14855,12 +14809,12 @@ if test "x$ac_cr" = x; then
 fi
 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
-  ac_cs_awk_cr='\\r'
+  ac_cs_awk_cr='\r'
 else
   ac_cs_awk_cr=$ac_cr
 fi
 
-echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
+echo 'BEGIN {' >"$tmp/subs1.awk" &&
 _ACEOF
 
 
@@ -14869,18 +14823,18 @@ _ACEOF
   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   echo "_ACEOF"
 } >conf$$subs.sh ||
-  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
+  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 ac_delim='%!_!# '
 for ac_last_try in false false false false false :; do
   . ./conf$$subs.sh ||
-    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   if test $ac_delim_n = $ac_delim_num; then
     break
   elif $ac_last_try; then
-    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   else
     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   fi
@@ -14888,7 +14842,7 @@ done
 rm -f conf$$subs.sh
 
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
+cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 _ACEOF
 sed -n '
 h
@@ -14902,7 +14856,7 @@ s/'"$ac_delim"'$//
 t delim
 :nl
 h
-s/\(.\{148\}\)..*/\1/
+s/\(.\{148\}\).*/\1/
 t more1
 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 p
@@ -14916,7 +14870,7 @@ s/.\{148\}//
 t nl
 :delim
 h
-s/\(.\{148\}\)..*/\1/
+s/\(.\{148\}\).*/\1/
 t more2
 s/["\\]/\\&/g; s/^/"/; s/$/"/
 p
@@ -14936,7 +14890,7 @@ t delim
 rm -f conf$$subs.awk
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 _ACAWK
-cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
+cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   for (key in S) S_is_set[key] = 1
   FS = ""
 
@@ -14968,29 +14922,21 @@ if sed "s/$ac_cr//" < /dev/null > /dev/n
   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 else
   cat
-fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
-  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
+fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
+  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 _ACEOF
 
-# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
-# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
+# VPATH may cause trouble with some makes, so we remove $(srcdir),
+# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 # trailing colons and then remove the whole line if VPATH becomes empty
 # (actually we leave an empty line to preserve line numbers).
 if test "x$srcdir" = x.; then
-  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
-h
-s///
-s/^/:/
-s/[	 ]*$/:/
-s/:\$(srcdir):/:/g
-s/:\${srcdir}:/:/g
-s/:@srcdir@:/:/g
-s/^:*//
+  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
+s/:*\$(srcdir):*/:/
+s/:*\${srcdir}:*/:/
+s/:*@srcdir@:*/:/
+s/^\([^=]*=[	 ]*\):*/\1/
 s/:*$//
-x
-s/\(=[	 ]*\).*/\1/
-G
-s/\n//
 s/^[^=]*=[	 ]*$//
 }'
 fi
@@ -15002,7 +14948,7 @@ fi # test -n "$CONFIG_FILES"
 # No need to generate them if there are no CONFIG_HEADERS.
 # This happens for instance with `./config.status Makefile'.
 if test -n "$CONFIG_HEADERS"; then
-cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
+cat >"$tmp/defines.awk" <<\_ACAWK ||
 BEGIN {
 _ACEOF
 
@@ -15014,11 +14960,11 @@ _ACEOF
 # handling of long lines.
 ac_delim='%!_!# '
 for ac_last_try in false false :; do
-  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
-  if test -z "$ac_tt"; then
+  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
+  if test -z "$ac_t"; then
     break
   elif $ac_last_try; then
-    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
+    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
   else
     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   fi
@@ -15103,7 +15049,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
 _ACAWK
 _ACEOF
 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
+  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 fi # test -n "$CONFIG_HEADERS"
 
 
@@ -15116,7 +15062,7 @@ do
   esac
   case $ac_mode$ac_tag in
   :[FHL]*:*);;
-  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
+  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
   :[FH]-) ac_tag=-:-;;
   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   esac
@@ -15135,7 +15081,7 @@ do
     for ac_f
     do
       case $ac_f in
-      -) ac_f="$ac_tmp/stdin";;
+      -) ac_f="$tmp/stdin";;
       *) # Look for the file first in the build tree, then in the source tree
 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
 	 # because $ac_f cannot contain `:'.
@@ -15144,7 +15090,7 @@ do
 	   [\\/$]*) false;;
 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 	   esac ||
-	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
+	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
       esac
       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
       as_fn_append ac_file_inputs " '$ac_f'"
@@ -15170,8 +15116,8 @@ do
     esac
 
     case $ac_tag in
-    *:-:* | *:-) cat >"$ac_tmp/stdin" \
-      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
+    *:-:* | *:-) cat >"$tmp/stdin" \
+      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
     esac
     ;;
   esac
@@ -15301,24 +15247,23 @@ s&@abs_top_builddir@&$ac_abs_top_builddi
 s&@INSTALL@&$ac_INSTALL&;t t
 $ac_datarootdir_hack
 "
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
-  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
+  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
-  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
-  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
-      "$ac_tmp/out"`; test -z "$ac_out"; } &&
+  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
+  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined.  Please make sure it is defined" >&5
+which seems to be undefined.  Please make sure it is defined." >&5
 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined.  Please make sure it is defined" >&2;}
+which seems to be undefined.  Please make sure it is defined." >&2;}
 
-  rm -f "$ac_tmp/stdin"
+  rm -f "$tmp/stdin"
   case $ac_file in
-  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
-  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
+  -) cat "$tmp/out" && rm -f "$tmp/out";;
+  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   esac \
-  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+  || as_fn_error "could not create $ac_file" "$LINENO" 5
  ;;
   :H)
   #
@@ -15327,21 +15272,21 @@ which seems to be undefined.  Please mak
   if test x"$ac_file" != x-; then
     {
       $as_echo "/* $configure_input  */" \
-      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
-    } >"$ac_tmp/config.h" \
-      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
-    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
+      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
+    } >"$tmp/config.h" \
+      || as_fn_error "could not create $ac_file" "$LINENO" 5
+    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 $as_echo "$as_me: $ac_file is unchanged" >&6;}
     else
       rm -f "$ac_file"
-      mv "$ac_tmp/config.h" "$ac_file" \
-	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
+      mv "$tmp/config.h" "$ac_file" \
+	|| as_fn_error "could not create $ac_file" "$LINENO" 5
     fi
   else
     $as_echo "/* $configure_input  */" \
-      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
-      || as_fn_error $? "could not create -" "$LINENO" 5
+      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
+      || as_fn_error "could not create -" "$LINENO" 5
   fi
  ;;
 
@@ -16012,7 +15957,7 @@ _ACEOF
 ac_clean_files=$ac_clean_files_save
 
 test $ac_write_fail = 0 ||
-  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
+  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
 
 # configure is writing to config.log, and then calls config.status.
@@ -16033,7 +15978,7 @@ if test "$no_create" != yes; then
   exec 5>>config.log
   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   # would make configure fail if this is the last instruction.
-  $ac_cs_success || as_fn_exit 1
+  $ac_cs_success || as_fn_exit $?
 fi
 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/ppc/configure ./sim/ppc/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/ppc/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/ppc/configure	2018-06-19 01:49:04.000000000 +0000
@@ -2437,6 +2437,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
 #
 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -4116,6 +4118,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # ACX_HAVE_GCC_FOR_TARGET
 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
 
@@ -6799,9 +6805,9 @@ else
 fi
 
   if test "$plugins" = "yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if test "${ac_cv_search_dlopen+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
+$as_echo_n "checking for library containing dlsym... " >&6; }
+if test "${ac_cv_search_dlsym+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -6814,11 +6820,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 #ifdef __cplusplus
 extern "C"
 #endif
-char dlopen ();
+char dlsym ();
 int
 main ()
 {
-return dlopen ();
+return dlsym ();
   ;
   return 0;
 }
@@ -6831,25 +6837,25 @@ for ac_lib in '' dl; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_dlopen=$ac_res
+  ac_cv_search_dlsym=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_dlopen+set}" = set; then :
+  if test "${ac_cv_search_dlsym+set}" = set; then :
   break
 fi
 done
-if test "${ac_cv_search_dlopen+set}" = set; then :
+if test "${ac_cv_search_dlsym+set}" = set; then :
 
 else
-  ac_cv_search_dlopen=no
+  ac_cv_search_dlsym=no
 fi
 rm conftest.$ac_ext
 LIBS=$ac_func_search_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
+$as_echo "$ac_cv_search_dlsym" >&6; }
+ac_res=$ac_cv_search_dlsym
 if test "$ac_res" != no; then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/rl78/configure ./sim/rl78/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/rl78/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/rl78/configure	2018-06-19 01:49:04.000000000 +0000
@@ -4057,6 +4057,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # ACX_HAVE_GCC_FOR_TARGET
 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
 
@@ -9277,9 +9281,9 @@ else
 fi
 
   if test "$plugins" = "yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if test "${ac_cv_search_dlopen+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
+$as_echo_n "checking for library containing dlsym... " >&6; }
+if test "${ac_cv_search_dlsym+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -9292,11 +9296,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 #ifdef __cplusplus
 extern "C"
 #endif
-char dlopen ();
+char dlsym ();
 int
 main ()
 {
-return dlopen ();
+return dlsym ();
   ;
   return 0;
 }
@@ -9309,25 +9313,25 @@ for ac_lib in '' dl; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_dlopen=$ac_res
+  ac_cv_search_dlsym=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_dlopen+set}" = set; then :
+  if test "${ac_cv_search_dlsym+set}" = set; then :
   break
 fi
 done
-if test "${ac_cv_search_dlopen+set}" = set; then :
+if test "${ac_cv_search_dlsym+set}" = set; then :
 
 else
-  ac_cv_search_dlopen=no
+  ac_cv_search_dlsym=no
 fi
 rm conftest.$ac_ext
 LIBS=$ac_func_search_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
+$as_echo "$ac_cv_search_dlsym" >&6; }
+ac_res=$ac_cv_search_dlsym
 if test "$ac_res" != no; then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
@@ -12820,7 +12824,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12823 "configure"
+#line 12827 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12926,7 +12930,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12929 "configure"
+#line 12933 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/rx/configure ./sim/rx/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/rx/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/rx/configure	2018-06-19 01:49:04.000000000 +0000
@@ -4062,6 +4062,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # ACX_HAVE_GCC_FOR_TARGET
 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
 
@@ -9282,9 +9286,9 @@ else
 fi
 
   if test "$plugins" = "yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if test "${ac_cv_search_dlopen+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
+$as_echo_n "checking for library containing dlsym... " >&6; }
+if test "${ac_cv_search_dlsym+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -9297,11 +9301,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 #ifdef __cplusplus
 extern "C"
 #endif
-char dlopen ();
+char dlsym ();
 int
 main ()
 {
-return dlopen ();
+return dlsym ();
   ;
   return 0;
 }
@@ -9314,25 +9318,25 @@ for ac_lib in '' dl; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_dlopen=$ac_res
+  ac_cv_search_dlsym=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_dlopen+set}" = set; then :
+  if test "${ac_cv_search_dlsym+set}" = set; then :
   break
 fi
 done
-if test "${ac_cv_search_dlopen+set}" = set; then :
+if test "${ac_cv_search_dlsym+set}" = set; then :
 
 else
-  ac_cv_search_dlopen=no
+  ac_cv_search_dlsym=no
 fi
 rm conftest.$ac_ext
 LIBS=$ac_func_search_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
+$as_echo "$ac_cv_search_dlsym" >&6; }
+ac_res=$ac_cv_search_dlsym
 if test "$ac_res" != no; then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
@@ -12825,7 +12829,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12828 "configure"
+#line 12832 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12931,7 +12935,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12934 "configure"
+#line 12938 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/sh/configure ./sim/sh/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/sh/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/sh/configure	2018-06-19 01:49:04.000000000 +0000
@@ -4072,6 +4072,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # ACX_HAVE_GCC_FOR_TARGET
 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
 
@@ -9292,9 +9296,9 @@ else
 fi
 
   if test "$plugins" = "yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if test "${ac_cv_search_dlopen+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
+$as_echo_n "checking for library containing dlsym... " >&6; }
+if test "${ac_cv_search_dlsym+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -9307,11 +9311,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 #ifdef __cplusplus
 extern "C"
 #endif
-char dlopen ();
+char dlsym ();
 int
 main ()
 {
-return dlopen ();
+return dlsym ();
   ;
   return 0;
 }
@@ -9324,25 +9328,25 @@ for ac_lib in '' dl; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_dlopen=$ac_res
+  ac_cv_search_dlsym=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_dlopen+set}" = set; then :
+  if test "${ac_cv_search_dlsym+set}" = set; then :
   break
 fi
 done
-if test "${ac_cv_search_dlopen+set}" = set; then :
+if test "${ac_cv_search_dlsym+set}" = set; then :
 
 else
-  ac_cv_search_dlopen=no
+  ac_cv_search_dlsym=no
 fi
 rm conftest.$ac_ext
 LIBS=$ac_func_search_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
+$as_echo "$ac_cv_search_dlsym" >&6; }
+ac_res=$ac_cv_search_dlsym
 if test "$ac_res" != no; then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
@@ -12835,7 +12839,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12838 "configure"
+#line 12842 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12941,7 +12945,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12944 "configure"
+#line 12948 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/sh64/configure ./sim/sh64/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/sh64/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/sh64/configure	2018-06-19 01:49:04.000000000 +0000
@@ -4078,6 +4078,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # ACX_HAVE_GCC_FOR_TARGET
 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
 
@@ -9298,9 +9302,9 @@ else
 fi
 
   if test "$plugins" = "yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if test "${ac_cv_search_dlopen+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
+$as_echo_n "checking for library containing dlsym... " >&6; }
+if test "${ac_cv_search_dlsym+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -9313,11 +9317,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 #ifdef __cplusplus
 extern "C"
 #endif
-char dlopen ();
+char dlsym ();
 int
 main ()
 {
-return dlopen ();
+return dlsym ();
   ;
   return 0;
 }
@@ -9330,25 +9334,25 @@ for ac_lib in '' dl; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_dlopen=$ac_res
+  ac_cv_search_dlsym=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_dlopen+set}" = set; then :
+  if test "${ac_cv_search_dlsym+set}" = set; then :
   break
 fi
 done
-if test "${ac_cv_search_dlopen+set}" = set; then :
+if test "${ac_cv_search_dlsym+set}" = set; then :
 
 else
-  ac_cv_search_dlopen=no
+  ac_cv_search_dlsym=no
 fi
 rm conftest.$ac_ext
 LIBS=$ac_func_search_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
+$as_echo "$ac_cv_search_dlsym" >&6; }
+ac_res=$ac_cv_search_dlsym
 if test "$ac_res" != no; then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
@@ -12841,7 +12845,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12844 "configure"
+#line 12848 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12947,7 +12951,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12950 "configure"
+#line 12954 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/testsuite/configure ./sim/testsuite/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/testsuite/configure	2018-06-12 01:49:22.000000000 +0000
+++ ./sim/testsuite/configure	2018-06-19 01:49:04.000000000 +0000
@@ -1890,7 +1890,6 @@ case "${target}" in
        ;;
    or1k-*-* | or1knd-*-*)
        sim_arch=or1k
-       sim_testsuite=yes
        ;;
    rl78-*-*)
        sim_arch=rl78
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/v850/configure ./sim/v850/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/sim/v850/configure	2018-06-12 01:49:23.000000000 +0000
+++ ./sim/v850/configure	2018-06-19 01:49:05.000000000 +0000
@@ -4078,6 +4078,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
+
 # ACX_HAVE_GCC_FOR_TARGET
 # Check if the variable GCC_FOR_TARGET really points to a GCC binary.
 
@@ -9298,9 +9302,9 @@ else
 fi
 
   if test "$plugins" = "yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
-$as_echo_n "checking for library containing dlopen... " >&6; }
-if test "${ac_cv_search_dlopen+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
+$as_echo_n "checking for library containing dlsym... " >&6; }
+if test "${ac_cv_search_dlsym+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -9313,11 +9317,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 #ifdef __cplusplus
 extern "C"
 #endif
-char dlopen ();
+char dlsym ();
 int
 main ()
 {
-return dlopen ();
+return dlsym ();
   ;
   return 0;
 }
@@ -9330,25 +9334,25 @@ for ac_lib in '' dl; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_search_dlopen=$ac_res
+  ac_cv_search_dlsym=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_dlopen+set}" = set; then :
+  if test "${ac_cv_search_dlsym+set}" = set; then :
   break
 fi
 done
-if test "${ac_cv_search_dlopen+set}" = set; then :
+if test "${ac_cv_search_dlsym+set}" = set; then :
 
 else
-  ac_cv_search_dlopen=no
+  ac_cv_search_dlsym=no
 fi
 rm conftest.$ac_ext
 LIBS=$ac_func_search_save_LIBS
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
-$as_echo "$ac_cv_search_dlopen" >&6; }
-ac_res=$ac_cv_search_dlopen
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
+$as_echo "$ac_cv_search_dlsym" >&6; }
+ac_res=$ac_cv_search_dlsym
 if test "$ac_res" != no; then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
@@ -12841,7 +12845,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12844 "configure"
+#line 12848 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12947,7 +12951,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12950 "configure"
+#line 12954 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/zlib/ChangeLog.bin-gdb ./zlib/ChangeLog.bin-gdb
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/zlib/ChangeLog.bin-gdb	2018-06-12 01:49:23.000000000 +0000
+++ ./zlib/ChangeLog.bin-gdb	2018-06-19 01:49:05.000000000 +0000
@@ -1,3 +1,7 @@
+2018-06-18  Simon Marchi  <simon.marchi@ericsson.com>
+
+	Sync with FSF GCC sources.
+
 2017-02-20  Nick Clifton  <nickc@redhat.com>
 
 	Sync with FSF GCC sources, bringing in version 1.2.11.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/zlib/ChangeLog.gcj ./zlib/ChangeLog.gcj
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/zlib/ChangeLog.gcj	2018-06-12 01:49:23.000000000 +0000
+++ ./zlib/ChangeLog.gcj	2018-06-19 01:49:05.000000000 +0000
@@ -1,3 +1,10 @@
+2017-03-15  Yaakov Selkowitz <yselkowitz@redhat.com>
+
+	PR bootstrap/79771
+	* gzguts.h (WIDECHAR): Do not define for __CYGWIN__.
+	* zlib.h (gzopen_w): Do not declare for __CYGWIN__.
+	* win32/zlib.def: Remove gzopen_w.
+		
 2017-01-22  Matthias Klose  <doko@ubuntu.com>
 
 	* Import zlib 1.2.11.
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/zlib/configure ./zlib/configure
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/zlib/configure	2018-06-12 01:49:23.000000000 +0000
+++ ./zlib/configure	2018-06-19 01:49:05.000000000 +0000
@@ -10408,7 +10408,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 10409 "configure"
+#line 10411 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -10514,7 +10514,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 10515 "configure"
+#line 10517 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/zlib/gzguts.h ./zlib/gzguts.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/zlib/gzguts.h	2018-06-12 01:49:23.000000000 +0000
+++ ./zlib/gzguts.h	2018-06-19 01:49:05.000000000 +0000
@@ -39,7 +39,7 @@
 #  include <io.h>
 #endif
 
-#if defined(_WIN32) || defined(__CYGWIN__)
+#if defined(_WIN32)
 #  define WIDECHAR
 #endif
 
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/zlib/win32/zlib.def ./zlib/win32/zlib.def
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/zlib/win32/zlib.def	2018-06-12 01:49:23.000000000 +0000
+++ ./zlib/win32/zlib.def	2018-06-19 01:49:05.000000000 +0000
@@ -91,4 +91,3 @@ EXPORTS
     inflateCodesUsed
     inflateResetKeep
     deflateResetKeep
-    gzopen_w
diff -a -u -r --new-file --show-function-line='^[A-Za-z_]' /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/zlib/zlib.h ./zlib/zlib.h
--- /sourceware/snapshot-tmp/gdb/snapshot/current-gdb/update-snapshot/old/gdb-8.1.50.20180612/zlib/zlib.h	2018-06-12 01:49:23.000000000 +0000
+++ ./zlib/zlib.h	2018-06-19 01:49:05.000000000 +0000
@@ -1893,7 +1893,7 @@ ZEXTERN int            ZEXPORT inflateVa
 ZEXTERN unsigned long  ZEXPORT inflateCodesUsed OF ((z_streamp));
 ZEXTERN int            ZEXPORT inflateResetKeep OF((z_streamp));
 ZEXTERN int            ZEXPORT deflateResetKeep OF((z_streamp));
-#if (defined(_WIN32) || defined(__CYGWIN__)) && !defined(Z_SOLO)
+#if defined(_WIN32) && !defined(Z_SOLO)
 ZEXTERN gzFile         ZEXPORT gzopen_w OF((const wchar_t *path,
                                             const char *mode));
 #endif
