public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] gdb: Have 'maint info sections' print all sections again
@ 2019-09-13  1:12 gdb-buildbot
  2019-09-13  1:12 ` *** COMPILATION FAILED *** Failures on Solaris11-sparcv9-m64, branch master *** BREAKAGE *** gdb-buildbot
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: gdb-buildbot @ 2019-09-13  1:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT aa17805fb9a3a1983a510ba425b682fba03410c2 ***

commit aa17805fb9a3a1983a510ba425b682fba03410c2
Author:     Andrew Burgess <andrew.burgess@embecosm.com>
AuthorDate: Sat Aug 31 23:44:40 2019 +0100
Commit:     Andrew Burgess <andrew.burgess@embecosm.com>
CommitDate: Thu Sep 12 20:31:29 2019 -0400

    gdb: Have 'maint info sections' print all sections again
    
    In this commit:
    
      commit 6eac171f0624303d944ff1a1ae4d0e3b0a63c800
      Date:   Fri Aug 16 00:25:14 2019 +0200
    
          [gdb] Make maint info sections print relocated addresses
    
    A couple of things broke with the 'maintenance info sections' command,
    here is some before output:
    
      (gdb) maintenance info sections
      Exec file:
          `/path/to/gdb/build/gdb/testsuite/outputs/gdb.base/maint/maint',
              file type elf64-x86-64.
       [0]     0x00400238->0x00400254 at 0x00000238: .interp ALLOC LOAD READONLY DATA HAS_CONTENTS
       [1]     0x00400254->0x00400274 at 0x00000254: .note.ABI-tag ALLOC LOAD READONLY DATA HAS_CONTENTS
       [2]     0x00400274->0x00400298 at 0x00000274: .note.gnu.build-id ALLOC LOAD READONLY DATA HAS_CONTENTS
       [3]     0x00400298->0x004002bc at 0x00000298: .gnu.hash ALLOC LOAD READONLY DATA HAS_CONTENTS
       [4]     0x004002c0->0x00400380 at 0x000002c0: .dynsym ALLOC LOAD READONLY DATA HAS_CONTENTS
       [5]     0x00400380->0x004003e3 at 0x00000380: .dynstr ALLOC LOAD READONLY DATA HAS_CONTENTS
       [6]     0x004003e4->0x004003f4 at 0x000003e4: .gnu.version ALLOC LOAD READONLY DATA HAS_CONTENTS
       [7]     0x004003f8->0x00400418 at 0x000003f8: .gnu.version_r ALLOC LOAD READONLY DATA HAS_CONTENTS
       [8]     0x00400418->0x00400460 at 0x00000418: .rela.dyn ALLOC LOAD READONLY DATA HAS_CONTENTS
       [9]     0x00400460->0x004004c0 at 0x00000460: .rela.plt ALLOC LOAD READONLY DATA HAS_CONTENTS
       [10]     0x004004c0->0x004004d7 at 0x000004c0: .init ALLOC LOAD READONLY CODE HAS_CONTENTS
       [11]     0x004004e0->0x00400530 at 0x000004e0: .plt ALLOC LOAD READONLY CODE HAS_CONTENTS
       [12]     0x00400530->0x00400802 at 0x00000530: .text ALLOC LOAD READONLY CODE HAS_CONTENTS
       [13]     0x00400804->0x0040080d at 0x00000804: .fini ALLOC LOAD READONLY CODE HAS_CONTENTS
       [14]     0x00400810->0x0040084e at 0x00000810: .rodata ALLOC LOAD READONLY DATA HAS_CONTENTS
       [15]     0x00400850->0x004008c4 at 0x00000850: .eh_frame_hdr ALLOC LOAD READONLY DATA HAS_CONTENTS
       [16]     0x004008c8->0x00400ab8 at 0x000008c8: .eh_frame ALLOC LOAD READONLY DATA HAS_CONTENTS
       [17]     0x00600e00->0x00600e08 at 0x00000e00: .init_array ALLOC LOAD DATA HAS_CONTENTS
       [18]     0x00600e08->0x00600e10 at 0x00000e08: .fini_array ALLOC LOAD DATA HAS_CONTENTS
       [19]     0x00600e10->0x00600ff0 at 0x00000e10: .dynamic ALLOC LOAD DATA HAS_CONTENTS
       [20]     0x00600ff0->0x00601000 at 0x00000ff0: .got ALLOC LOAD DATA HAS_CONTENTS
       [21]     0x00601000->0x00601038 at 0x00001000: .got.plt ALLOC LOAD DATA HAS_CONTENTS
       [22]     0x00601038->0x0060103c at 0x00001038: .data ALLOC LOAD DATA HAS_CONTENTS
       [23]     0x00601040->0x006012c8 at 0x0000103c: .bss ALLOC
       [24]     0x00000000->0x0000002c at 0x0000103c: .comment READONLY HAS_CONTENTS
       [25]     0x00000000->0x00000060 at 0x00001068: .debug_aranges READONLY HAS_CONTENTS
       [26]     0x00000000->0x0000061b at 0x000010c8: .debug_info READONLY HAS_CONTENTS
       [27]     0x00000000->0x00000264 at 0x000016e3: .debug_abbrev READONLY HAS_CONTENTS
       [28]     0x00000000->0x000001e6 at 0x00001947: .debug_line READONLY HAS_CONTENTS
       [29]     0x00000000->0x00000487 at 0x00001b2d: .debug_str READONLY HAS_CONTENTS
      (gdb)
    
    And here is the output after the above commit:
    
      (gdb) maintenance info sections
      +maintenance info sections
      Exec file:
          `/path/to/gdb/build/gdb/testsuite/outputs/gdb.base/maint/maint',
              file type elf64-x86-64.
          0x00400238->0x00400254 at 0x00000238: .interp ALLOC LOAD READONLY DATA HAS_CONTENTS
          0x00400254->0x00400274 at 0x00000254: .note.ABI-tag ALLOC LOAD READONLY DATA HAS_CONTENTS
          0x00400274->0x00400298 at 0x00000274: .note.gnu.build-id ALLOC LOAD READONLY DATA HAS_CONTENTS
          0x00400298->0x004002bc at 0x00000298: .gnu.hash ALLOC LOAD READONLY DATA HAS_CONTENTS
          0x004002c0->0x00400380 at 0x000002c0: .dynsym ALLOC LOAD READONLY DATA HAS_CONTENTS
          0x00400380->0x004003e3 at 0x00000380: .dynstr ALLOC LOAD READONLY DATA HAS_CONTENTS
          0x004003e4->0x004003f4 at 0x000003e4: .gnu.version ALLOC LOAD READONLY DATA HAS_CONTENTS
          0x004003f8->0x00400418 at 0x000003f8: .gnu.version_r ALLOC LOAD READONLY DATA HAS_CONTENTS
          0x00400418->0x00400460 at 0x00000418: .rela.dyn ALLOC LOAD READONLY DATA HAS_CONTENTS
          0x00400460->0x004004c0 at 0x00000460: .rela.plt ALLOC LOAD READONLY DATA HAS_CONTENTS
          0x004004c0->0x004004d7 at 0x000004c0: .init ALLOC LOAD READONLY CODE HAS_CONTENTS
          0x004004e0->0x00400530 at 0x000004e0: .plt ALLOC LOAD READONLY CODE HAS_CONTENTS
          0x00400530->0x00400802 at 0x00000530: .text ALLOC LOAD READONLY CODE HAS_CONTENTS
          0x00400804->0x0040080d at 0x00000804: .fini ALLOC LOAD READONLY CODE HAS_CONTENTS
          0x00400810->0x0040084e at 0x00000810: .rodata ALLOC LOAD READONLY DATA HAS_CONTENTS
          0x00400850->0x004008c4 at 0x00000850: .eh_frame_hdr ALLOC LOAD READONLY DATA HAS_CONTENTS
          0x004008c8->0x00400ab8 at 0x000008c8: .eh_frame ALLOC LOAD READONLY DATA HAS_CONTENTS
          0x00600e00->0x00600e08 at 0x00000e00: .init_array ALLOC LOAD DATA HAS_CONTENTS
          0x00600e08->0x00600e10 at 0x00000e08: .fini_array ALLOC LOAD DATA HAS_CONTENTS
          0x00600e10->0x00600ff0 at 0x00000e10: .dynamic ALLOC LOAD DATA HAS_CONTENTS
          0x00600ff0->0x00601000 at 0x00000ff0: .got ALLOC LOAD DATA HAS_CONTENTS
          0x00601000->0x00601038 at 0x00001000: .got.plt ALLOC LOAD DATA HAS_CONTENTS
          0x00601038->0x0060103c at 0x00001038: .data ALLOC LOAD DATA HAS_CONTENTS
          0x00601040->0x006012c8 at 0x0000103c: .bss ALLOC
          0x00000000->0x00000000 at 0x00000000: *COM* IS_COMMON
          0x00000000->0x00000000 at 0x00000000: *UND*
          0x00000000->0x00000000 at 0x00000000: *ABS*
          0x00000000->0x00000000 at 0x00000000: *IND*
      (gdb)
    
    We lost the section index numbers, but more importantly, we lost the
    information about the .debug* sections.  We also gained entries for
    the "fake" sections *COM*, *UND*, *ABS*, and *IND*.
    
    I noticed this when running:
    
      make check-gdb RUNTESTFLAGS="--target_board=cc-with-gdb-index gdb.base/maint.exp"
    
    As this test relies on looking in the 'maint info sections' output to
    see if we have a .debug_names or .gdb_index section, and these are
    debug sections so they no longer show up in the 'main info sections'
    output, the gdb.base/maint.exp test fails.
    
    This commit restores the old behaviour while keeping the important
    change that the above commit introduced, the addresses printed for
    sections are the relocated addresses where appropriate.  The above
    commit mentions using this test:
    
       make check-gdb RUNTESTFLAGS="CFLAGS_FOR_TARGET='-pie' gdb.base/compare-sections.exp"
    
    And this still passes after this commit.
    
    The output for 'maint info sections' now looks like this:
    
      (gdb) maintenance info sections
      Exec file:
          `/home/andrew/projects/binutils-gdb/build/gdb/testsuite/outputs/gdb.base/maint/maint',
              file type elf64-x86-64.
       [0]      0x00400238->0x00400254 at 0x00000238: .interp ALLOC LOAD READONLY DATA HAS_CONTENTS
       [1]      0x00400254->0x00400274 at 0x00000254: .note.ABI-tag ALLOC LOAD READONLY DATA HAS_CONTENTS
       [2]      0x00400274->0x00400298 at 0x00000274: .note.gnu.build-id ALLOC LOAD READONLY DATA HAS_CONTENTS
       [3]      0x00400298->0x004002bc at 0x00000298: .gnu.hash ALLOC LOAD READONLY DATA HAS_CONTENTS
       [4]      0x004002c0->0x00400380 at 0x000002c0: .dynsym ALLOC LOAD READONLY DATA HAS_CONTENTS
       [5]      0x00400380->0x004003e3 at 0x00000380: .dynstr ALLOC LOAD READONLY DATA HAS_CONTENTS
       [6]      0x004003e4->0x004003f4 at 0x000003e4: .gnu.version ALLOC LOAD READONLY DATA HAS_CONTENTS
       [7]      0x004003f8->0x00400418 at 0x000003f8: .gnu.version_r ALLOC LOAD READONLY DATA HAS_CONTENTS
       [8]      0x00400418->0x00400460 at 0x00000418: .rela.dyn ALLOC LOAD READONLY DATA HAS_CONTENTS
       [9]      0x00400460->0x004004c0 at 0x00000460: .rela.plt ALLOC LOAD READONLY DATA HAS_CONTENTS
       [10]     0x004004c0->0x004004d7 at 0x000004c0: .init ALLOC LOAD READONLY CODE HAS_CONTENTS
       [11]     0x004004e0->0x00400530 at 0x000004e0: .plt ALLOC LOAD READONLY CODE HAS_CONTENTS
       [12]     0x00400530->0x00400802 at 0x00000530: .text ALLOC LOAD READONLY CODE HAS_CONTENTS
       [13]     0x00400804->0x0040080d at 0x00000804: .fini ALLOC LOAD READONLY CODE HAS_CONTENTS
       [14]     0x00400810->0x0040084e at 0x00000810: .rodata ALLOC LOAD READONLY DATA HAS_CONTENTS
       [15]     0x00400850->0x004008c4 at 0x00000850: .eh_frame_hdr ALLOC LOAD READONLY DATA HAS_CONTENTS
       [16]     0x004008c8->0x00400ab8 at 0x000008c8: .eh_frame ALLOC LOAD READONLY DATA HAS_CONTENTS
       [17]     0x00600e00->0x00600e08 at 0x00000e00: .init_array ALLOC LOAD DATA HAS_CONTENTS
       [18]     0x00600e08->0x00600e10 at 0x00000e08: .fini_array ALLOC LOAD DATA HAS_CONTENTS
       [19]     0x00600e10->0x00600ff0 at 0x00000e10: .dynamic ALLOC LOAD DATA HAS_CONTENTS
       [20]     0x00600ff0->0x00601000 at 0x00000ff0: .got ALLOC LOAD DATA HAS_CONTENTS
       [21]     0x00601000->0x00601038 at 0x00001000: .got.plt ALLOC LOAD DATA HAS_CONTENTS
       [22]     0x00601038->0x0060103c at 0x00001038: .data ALLOC LOAD DATA HAS_CONTENTS
       [23]     0x00601040->0x006012c8 at 0x0000103c: .bss ALLOC
       [24]     0x00000000->0x0000002c at 0x0000103c: .comment READONLY HAS_CONTENTS
       [25]     0x00000000->0x00000060 at 0x00001068: .debug_aranges READONLY HAS_CONTENTS
       [26]     0x00000000->0x0000061b at 0x000010c8: .debug_info READONLY HAS_CONTENTS
       [27]     0x00000000->0x00000264 at 0x000016e3: .debug_abbrev READONLY HAS_CONTENTS
       [28]     0x00000000->0x000001e6 at 0x00001947: .debug_line READONLY HAS_CONTENTS
       [29]     0x00000000->0x00000487 at 0x00001b2d: .debug_str READONLY HAS_CONTENTS
      (gdb)
    
    This is basically as it was before, except that the index numbers are
    now padded so the section information all lines up.
    
    When GDB has relocated a section then the relocated addresses will be
    printed, otherwise the non-relocated addresses from the bfd will be
    printed.
    
    I've added a test to gdb.base/maint.exp to do some basic validation of
    the output format.
    
    gdb/ChangeLog:
    
            * maint.c: Add 'cmath' include.
            (struct maint_print_section_data): New structure.
            (print_section_index): New function.
            (print_bfd_section_info): Add header comment, small whitespace
            cleanup, and update to call new print_section_index function.
            (print_objfile_section_info): Likewise.
            (maint_obj_section_from_bfd_section): New function.
            (print_bfd_section_info_maybe_relocated): New function.
            (maintenance_info_sections): Add header comment, always use
            bfd_map_over_sections instead of ALL_OBJFILE_OSECTIONS.
    
    gdb/testsuite/ChangeLog:
    
            * gdb.base/maint.exp: Add test for 'maint info sections'.

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9540c4f120..4158161393 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,16 @@
+2019-09-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+	* maint.c: Add 'cmath' include.
+	(struct maint_print_section_data): New structure.
+	(print_section_index): New function.
+	(print_bfd_section_info): Add header comment, small whitespace
+	cleanup, and update to call new print_section_index function.
+	(print_objfile_section_info): Likewise.
+	(maint_obj_section_from_bfd_section): New function.
+	(print_bfd_section_info_maybe_relocated): New function.
+	(maintenance_info_sections): Add header comment, always use
+	bfd_map_over_sections instead of ALL_OBJFILE_OSECTIONS.
+
 2019-09-12  Andrew Burgess  <andrew.burgess@embecosm.com>
 
 	* psymtab.c (find_pc_sect_psymtab): Move baseaddr local into more
diff --git a/gdb/maint.c b/gdb/maint.c
index 837ed23cfb..286ec31013 100644
--- a/gdb/maint.c
+++ b/gdb/maint.c
@@ -23,6 +23,7 @@
 #include "defs.h"
 #include "arch-utils.h"
 #include <ctype.h>
+#include <cmath>
 #include <signal.h>
 #include "command.h"
 #include "gdbcmd.h"
@@ -276,14 +277,68 @@ maint_print_section_info (const char *name, flagword flags,
   printf_filtered ("\n");
 }
 
+/* Information passed between the "maintenance info sections" command, and
+   the worker function that prints each section.  */
+struct maint_print_section_data
+{
+  /* The GDB objfile we're printing this section for.  */
+  struct objfile *objfile;
+
+  /* The argument string passed by the user to the top level maintenance
+     info sections command.  Used for filtering which sections are
+     printed.  */
+  const char *arg;
+
+  /* The number of digits in the highest section index for all sections
+     from the bfd object associated with OBJFILE.  Used when pretty
+     printing the index number to ensure all of the indexes line up.  */
+  int index_digits;
+
+  /* Constructor.  */
+  maint_print_section_data (struct objfile *objfile, const char *arg,
+			    bfd *abfd)
+    : objfile (objfile),
+      arg(arg)
+  {
+    int section_count = gdb_bfd_count_sections (abfd);
+    index_digits = ((int) log10 (section_count)) + 1;
+  }
+
+private:
+  maint_print_section_data () = delete;
+  maint_print_section_data (const maint_print_section_data &) = delete;
+};
+
+/* Helper function to pretty-print the section index of ASECT from ABFD.
+   The INDEX_DIGITS is the number of digits in the largest index that will
+   be printed, and is used to pretty-print the resulting string.  */
+
+static void
+print_section_index (bfd *abfd,
+		     asection *asect,
+		     int index_digits)
+{
+  std::string result
+    = string_printf (" [%d] ", gdb_bfd_section_index (abfd, asect));
+  /* The '+ 4' for the leading and trailing characters.  */
+  printf_filtered ("%-*s", (index_digits + 4), result.c_str ());
+}
+
+/* Print information about ASECT from ABFD.  DATUM holds a pointer to a
+   maint_print_section_data object.  The section will be printed using the
+   VMA's from the bfd, which will not be the relocated addresses for bfds
+   that should be relocated.  The information must be printed with the
+   same layout as PRINT_OBJFILE_SECTION_INFO below.  */
+
 static void
-print_bfd_section_info (bfd *abfd, 
-			asection *asect, 
+print_bfd_section_info (bfd *abfd,
+			asection *asect,
 			void *datum)
 {
   flagword flags = bfd_get_section_flags (abfd, asect);
   const char *name = bfd_section_name (abfd, asect);
-  const char *arg = (const char *) datum;
+  maint_print_section_data *print_data = (maint_print_section_data *) datum;
+  const char *arg = print_data->arg;
 
   if (arg == NULL || *arg == '\0'
       || match_substring (arg, name)
@@ -295,19 +350,25 @@ print_bfd_section_info (bfd *abfd,
 
       addr = bfd_section_vma (abfd, asect);
       endaddr = addr + bfd_section_size (abfd, asect);
-      printf_filtered (" [%d] ", gdb_bfd_section_index (abfd, asect));
+      print_section_index (abfd, asect, print_data->index_digits);
       maint_print_section_info (name, flags, addr, endaddr,
 				asect->filepos, addr_size);
     }
 }
 
+/* Print information about ASECT which is GDB's wrapper around a section
+   from ABFD.  The information must be printed with the same layout as
+   PRINT_BFD_SECTION_INFO above.  PRINT_DATA holds information used to
+   filter which sections are printed, and for formatting the output.  */
+
 static void
-print_objfile_section_info (bfd *abfd, 
-			    struct obj_section *asect, 
-			    const char *string)
+print_objfile_section_info (bfd *abfd,
+			    struct obj_section *asect,
+			    maint_print_section_data *print_data)
 {
   flagword flags = bfd_get_section_flags (abfd, asect->the_bfd_section);
   const char *name = bfd_section_name (abfd, asect->the_bfd_section);
+  const char *string = print_data->arg;
 
   if (string == NULL || *string == '\0'
       || match_substring (string, name)
@@ -316,6 +377,8 @@ print_objfile_section_info (bfd *abfd,
       struct gdbarch *gdbarch = gdbarch_from_bfd (abfd);
       int addr_size = gdbarch_addr_bit (gdbarch) / 8;
 
+      print_section_index (abfd, asect->the_bfd_section,
+			   print_data->index_digits);
       maint_print_section_info (name, flags,
 				obj_section_addr (asect),
 				obj_section_endaddr (asect),
@@ -324,12 +387,56 @@ print_objfile_section_info (bfd *abfd,
     }
 }
 
+/* Find an obj_section, GDB's wrapper around a bfd section for ASECTION
+   from ABFD.  It might be that no such wrapper exists (for example debug
+   sections don't have such wrappers) in which case nullptr is returned.  */
+
+static obj_section *
+maint_obj_section_from_bfd_section (bfd *abfd,
+				    asection *asection,
+				    objfile *ofile)
+{
+  if (ofile->sections == nullptr)
+    return nullptr;
+
+  obj_section *osect
+    = &ofile->sections[gdb_bfd_section_index (abfd, asection)];
+
+  if (osect >= ofile->sections_end)
+    return nullptr;
+
+  return osect;
+}
+
+/* Print information about ASECT from ABFD.  DATUM holds a pointer to a
+   maint_print_section_data object.  Where possible the information for
+   ASECT will print the relocated addresses of the section.  */
+
+static void
+print_bfd_section_info_maybe_relocated (bfd *abfd,
+					asection *asect,
+					void *datum)
+{
+  maint_print_section_data *print_data = (maint_print_section_data *) datum;
+  objfile *objfile = print_data->objfile;
+
+  gdb_assert (objfile->sections != NULL);
+  obj_section *osect
+    = maint_obj_section_from_bfd_section (abfd, asect, objfile);
+
+  if (osect->the_bfd_section == NULL)
+    print_bfd_section_info (abfd, asect, datum);
+  else
+    print_objfile_section_info (abfd, osect, print_data);
+}
+
+/* Implement the "maintenance info sections" command.  */
+
 static void
 maintenance_info_sections (const char *arg, int from_tty)
 {
   if (exec_bfd)
     {
-      struct obj_section *osect;
       bool allobj = false;
 
       printf_filtered (_("Exec file:\n"));
@@ -352,22 +459,27 @@ maintenance_info_sections (const char *arg, int from_tty)
 	  if (allobj)
 	    printf_filtered (_("  Object file: %s\n"),
 			     bfd_get_filename (ofile->obfd));
-	  ALL_OBJFILE_OSECTIONS (ofile, osect)
-	    {
-	      if (!allobj && ofile->obfd != exec_bfd)
-		continue;
-	      print_objfile_section_info (ofile->obfd, osect, arg);
-	    }
+	  else if (ofile->obfd != exec_bfd)
+	    continue;
+
+	  maint_print_section_data print_data (ofile, arg, ofile->obfd);
+
+	  bfd_map_over_sections (ofile->obfd,
+				 print_bfd_section_info_maybe_relocated,
+				 (void *) &print_data);
 	}
     }
 
   if (core_bfd)
     {
+      maint_print_section_data print_data (nullptr, arg, core_bfd);
+
       printf_filtered (_("Core file:\n"));
       printf_filtered ("    `%s', ", bfd_get_filename (core_bfd));
       wrap_here ("        ");
       printf_filtered (_("file type %s.\n"), bfd_get_target (core_bfd));
-      bfd_map_over_sections (core_bfd, print_bfd_section_info, (void *) arg);
+      bfd_map_over_sections (core_bfd, print_bfd_section_info,
+			     (void *) &print_data);
     }
 }
 
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 7352e9f034..27980548cb 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2019-09-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+	* gdb.base/maint.exp: Add test for 'maint info sections'.
+
 2019-09-12  Tom de Vries  <tdevries@suse.de>
 
 	* gdb.base/store.exp: Allow register variables to be optimized out at
diff --git a/gdb/testsuite/gdb.base/maint.exp b/gdb/testsuite/gdb.base/maint.exp
index 36738f6eaa..a5d5dacaba 100644
--- a/gdb/testsuite/gdb.base/maint.exp
+++ b/gdb/testsuite/gdb.base/maint.exp
@@ -109,6 +109,23 @@ if ![runto_main] then {
         perror "tests suppressed"
 }
 
+# Check that 'maint info sections' output looks correct.  When
+# checking the lines for each section we reject section names starting
+# with a '*' character, the internal *COM*, *UND*, *ABS*, and *IND*
+# sections should not be displayed in this output.
+set test "check maint info sections output"
+gdb_test_multiple "maint info sections" $test {
+    -re "Exec file:\r\n\[\t ]+`\[^'\]+', file type \[^.\]+\.\r\n" {
+	exp_continue
+    }
+    -re "^ \\\[\[0-9\]+\\\]\[\t \]+$hex->$hex at $hex: \[^*\r\]+\r\n" {
+	exp_continue
+    }
+    -re "^$gdb_prompt $" {
+	pass $test
+    }
+}
+
 # If we're using .gdb_index or .debug_names there will be no psymtabs.
 set have_gdb_index 0
 gdb_test_multiple "maint info sections .gdb_index .debug_names" "check for .gdb_index" {


^ permalink raw reply	[flat|nested] 15+ messages in thread

* *** COMPILATION FAILED *** Failures on Solaris11-sparcv9-m64, branch master *** BREAKAGE ***
  2019-09-13  1:12 [binutils-gdb] gdb: Have 'maint info sections' print all sections again gdb-buildbot
@ 2019-09-13  1:12 ` gdb-buildbot
  2019-09-13  1:26 ` *** COMPILATION FAILED *** Failures on Solaris11-amd64-m64, " gdb-buildbot
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: gdb-buildbot @ 2019-09-13  1:12 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Solaris11-sparcv9-m64

Worker:
        solaris11-sparcv9

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/11/builds/686

Author:
        Andrew Burgess <andrew.burgess@embecosm.com>

Commit tested:
        aa17805fb9a3a1983a510ba425b682fba03410c2

Subject of commit:
        gdb: Have 'maint info sections' print all sections again

*** FAILED to build GDB -- compile gdb ***
==============================================

+++ The full log is too big to be posted here.
+++ These are the last 100 lines of it.

  CXX    gdbsupport/gdb_tilde_expand.o
  CXX    gdbsupport/gdb_vecs.o
  CXX    gdbsupport/job-control.o
  CXX    gdbsupport/netstuff.o
  CXX    gdbsupport/new-op.o
  CXX    gdbsupport/pathstuff.o
  CXX    gdbsupport/posix-strerror.o
  CXX    gdbsupport/print-utils.o
  CXX    gdbsupport/ptid.o
  CXX    gdbsupport/rsp-low.o
  CXX    gdbsupport/run-time-clock.o
  CXX    gdbsupport/scoped_mmap.o
  CXX    gdbsupport/selftest.o
  CXX    gdbsupport/signals-state-save-restore.o
  CXX    gdbsupport/signals.o
  CXX    gdbsupport/tdesc.o
  CXX    gdbsupport/vec.o
  CXX    gdbsupport/xml-utils.o
  CXX    gdbtypes.o
  CXX    gnu-v2-abi.o
  CXX    gnu-v3-abi.o
  CXX    go-exp.o
  CXX    go-lang.o
  CXX    go-typeprint.o
  CXX    go-valprint.o
  CXX    guile/guile.o
  CXX    inf-child.o
  CXX    inf-loop.o
  CXX    infcall.o
  CXX    infcmd.o
  CXX    inferior.o
  CXX    inflow.o
  CXX    infrun.o
  CXX    inline-frame.o
  CXX    interps.o
  CXX    jit.o
  CXX    language.o
  CXX    linespec.o
In file included from ../../binutils-gdb/gdb/infrun.c:26:0:
../../binutils-gdb/gdb/inferior.h: In function void handle_vfork_child_exec_or_exit(int):
../../binutils-gdb/gdb/inferior.h:605:26: warning: *((void*)(& maybe_restore_inferior)+40).scoped_restore_current_inferior::m_saved_inf may be used uninitialized in this function [-Wmaybe-uninitialized]
   { set_current_inferior (m_saved_inf); }
     ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
../../binutils-gdb/gdb/infrun.c:936:6: note: *((void*)(& maybe_restore_inferior)+40).scoped_restore_current_inferior::m_saved_inf was declared here
      maybe_restore_inferior;
      ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../../binutils-gdb/gdb/inferior.h:49:0,
                 from ../../binutils-gdb/gdb/infrun.c:26:
../../binutils-gdb/gdb/progspace.h:314:31: warning: *((void*)(& maybe_restore_inferior)+32).scoped_restore_current_program_space::m_saved_pspace may be used uninitialized in this function [-Wmaybe-uninitialized]
   { set_current_program_space (m_saved_pspace); }
     ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
../../binutils-gdb/gdb/infrun.c:936:6: note: *((void*)(& maybe_restore_inferior)+32).scoped_restore_current_program_space::m_saved_pspace was declared here
      maybe_restore_inferior;
      ^~~~~~~~~~~~~~~~~~~~~~
  CXX    location.o
  CXX    m2-exp.o
  CXX    m2-lang.o
  CXX    m2-typeprint.o
  CXX    m2-valprint.o
  CXX    macrocmd.o
  CXX    macroexp.o
  CXX    macroscope.o
  CXX    macrotab.o
  CXX    main.o
  CXX    maint-test-options.o
  CXX    maint-test-settings.o
  CXX    maint.o
  CXX    mdebugread.o
  CXX    mem-break.o
../../binutils-gdb/gdb/maint.c: In constructor maint_print_section_data::maint_print_section_data(objfile*, const char*, bfd*):
../../binutils-gdb/gdb/maint.c:304:47: error: call of overloaded log10(int&) is ambiguous
     index_digits = ((int) log10 (section_count)) + 1;
                                               ^
In file included from /usr/gcc/7/lib/gcc/sparcv9-sun-solaris2.11/7.3.0/include-fixed/math.h:24:0,
                 from /usr/gcc/7/include/c++/7.3.0/bits/std_abs.h:40,
                 from /usr/gcc/7/include/c++/7.3.0/cstdlib:77,
                 from /usr/gcc/7/include/c++/7.3.0/stdlib.h:36,
                 from ../gnulib/import/stdlib.h:36,
                 from ../../binutils-gdb/gdb/gdbsupport/common-defs.h:91,
                 from ../../binutils-gdb/gdb/defs.h:28,
                 from ../../binutils-gdb/gdb/maint.c:23:
/usr/gcc/7/lib/gcc/sparcv9-sun-solaris2.11/7.3.0/include-fixed/iso/math_iso.h:70:15: note: candidate: double std::log10(double)
 extern double log10 __P((double));
               ^~~~~
/usr/gcc/7/lib/gcc/sparcv9-sun-solaris2.11/7.3.0/include-fixed/iso/math_iso.h:170:15: note: candidate: float std::log10(float)
  inline float log10(float __X) { return __log10f(__X); }
               ^~~~~
/usr/gcc/7/lib/gcc/sparcv9-sun-solaris2.11/7.3.0/include-fixed/iso/math_iso.h:209:21: note: candidate: long double std::log10(long double)
  inline long double log10(long double __X) { return __log10l(__X); }
                     ^~~~~
  CXX    memattr.o
gmake[2]: *** [Makefile:1636: maint.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory '/opt/gdb-buildbot/home/solaris11-sparcv9/solaris11-sparcv9-m64/build/gdb'
gmake[1]: *** [Makefile:9229: all-gdb] Error 2
gmake[1]: Leaving directory '/opt/gdb-buildbot/home/solaris11-sparcv9/solaris11-sparcv9-m64/build'
gmake: *** [Makefile:851: all] Error 2
program finished with exit code 2
elapsedTime=290.041162
==============================================


^ permalink raw reply	[flat|nested] 15+ messages in thread

* *** COMPILATION FAILED *** Failures on Solaris11-amd64-m64, branch master *** BREAKAGE ***
  2019-09-13  1:12 [binutils-gdb] gdb: Have 'maint info sections' print all sections again gdb-buildbot
  2019-09-13  1:12 ` *** COMPILATION FAILED *** Failures on Solaris11-sparcv9-m64, branch master *** BREAKAGE *** gdb-buildbot
@ 2019-09-13  1:26 ` gdb-buildbot
  2019-09-13  1:28 ` Failures on Ubuntu-Aarch64-m64, branch master gdb-buildbot
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: gdb-buildbot @ 2019-09-13  1:26 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Solaris11-amd64-m64

Worker:
        solaris11-amd64

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/14/builds/685

Author:
        Andrew Burgess <andrew.burgess@embecosm.com>

Commit tested:
        aa17805fb9a3a1983a510ba425b682fba03410c2

Subject of commit:
        gdb: Have 'maint info sections' print all sections again

*** FAILED to build GDB -- compile gdb ***
==============================================

+++ The full log is too big to be posted here.
+++ These are the last 100 lines of it.

  CXX    gdbsupport/new-op.o
  CXX    gdbsupport/pathstuff.o
  CXX    gdbsupport/posix-strerror.o
  CXX    gdbsupport/print-utils.o
  CXX    gdbsupport/ptid.o
  CXX    gdbsupport/rsp-low.o
  CXX    gdbsupport/run-time-clock.o
  CXX    gdbsupport/scoped_mmap.o
  CXX    gdbsupport/selftest.o
  CXX    gdbsupport/signals-state-save-restore.o
  CXX    gdbsupport/signals.o
  CXX    gdbsupport/tdesc.o
  CXX    gdbsupport/vec.o
  CXX    gdbsupport/xml-utils.o
  CXX    gdbtypes.o
  CXX    gnu-v2-abi.o
  CXX    gnu-v3-abi.o
  CXX    go-exp.o
  CXX    go-lang.o
  CXX    go-typeprint.o
  CXX    go-valprint.o
  CXX    i386-sol2-nat.o
  CXX    guile/guile.o
  CXX    i386-sol2-tdep.o
  CXX    i386-tdep.o
  CXX    i387-tdep.o
  CXX    inf-child.o
  CXX    inf-loop.o
  CXX    infcall.o
  CXX    infcmd.o
  CXX    inferior.o
  CXX    inflow.o
  CXX    infrun.o
  CXX    inline-frame.o
  CXX    interps.o
  CXX    jit.o
In file included from ../../binutils-gdb/gdb/infrun.c:26:0:
../../binutils-gdb/gdb/inferior.h: In function void handle_vfork_child_exec_or_exit(int):
../../binutils-gdb/gdb/inferior.h:605:26: warning: *((void*)(& maybe_restore_inferior)+40).scoped_restore_current_inferior::m_saved_inf may be used uninitialized in this function [-Wmaybe-uninitialized]
   { set_current_inferior (m_saved_inf); }
     ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
../../binutils-gdb/gdb/infrun.c:936:6: note: *((void*)(& maybe_restore_inferior)+40).scoped_restore_current_inferior::m_saved_inf was declared here
      maybe_restore_inferior;
      ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../../binutils-gdb/gdb/inferior.h:49:0,
                 from ../../binutils-gdb/gdb/infrun.c:26:
../../binutils-gdb/gdb/progspace.h:314:31: warning: *((void*)(& maybe_restore_inferior)+32).scoped_restore_current_program_space::m_saved_pspace may be used uninitialized in this function [-Wmaybe-uninitialized]
   { set_current_program_space (m_saved_pspace); }
     ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
../../binutils-gdb/gdb/infrun.c:936:6: note: *((void*)(& maybe_restore_inferior)+32).scoped_restore_current_program_space::m_saved_pspace was declared here
      maybe_restore_inferior;
      ^~~~~~~~~~~~~~~~~~~~~~
  CXX    language.o
  CXX    linespec.o
  CXX    location.o
  CXX    m2-exp.o
  CXX    m2-lang.o
  CXX    m2-typeprint.o
  CXX    m2-valprint.o
  CXX    macrocmd.o
  CXX    macroexp.o
  CXX    macroscope.o
  CXX    macrotab.o
  CXX    main.o
  CXX    maint-test-options.o
  CXX    maint-test-settings.o
  CXX    maint.o
  CXX    mdebugread.o
  CXX    mem-break.o
  CXX    memattr.o
../../binutils-gdb/gdb/maint.c: In constructor maint_print_section_data::maint_print_section_data(objfile*, const char*, bfd*):
../../binutils-gdb/gdb/maint.c:304:47: error: call of overloaded log10(int&) is ambiguous
     index_digits = ((int) log10 (section_count)) + 1;
                                               ^
In file included from /usr/gcc/7/lib/gcc/x86_64-pc-solaris2.11/7.3.0/include-fixed/math.h:24:0,
                 from /usr/gcc/7/include/c++/7.3.0/bits/std_abs.h:40,
                 from /usr/gcc/7/include/c++/7.3.0/cstdlib:77,
                 from /usr/gcc/7/include/c++/7.3.0/stdlib.h:36,
                 from ../gnulib/import/stdlib.h:36,
                 from ../../binutils-gdb/gdb/gdbsupport/common-defs.h:91,
                 from ../../binutils-gdb/gdb/defs.h:28,
                 from ../../binutils-gdb/gdb/maint.c:23:
/usr/gcc/7/lib/gcc/x86_64-pc-solaris2.11/7.3.0/include-fixed/iso/math_iso.h:70:15: note: candidate: double std::log10(double)
 extern double log10 __P((double));
               ^~~~~
/usr/gcc/7/lib/gcc/x86_64-pc-solaris2.11/7.3.0/include-fixed/iso/math_iso.h:170:15: note: candidate: float std::log10(float)
  inline float log10(float __X) { return __log10f(__X); }
               ^~~~~
/usr/gcc/7/lib/gcc/x86_64-pc-solaris2.11/7.3.0/include-fixed/iso/math_iso.h:209:21: note: candidate: long double std::log10(long double)
  inline long double log10(long double __X) { return __log10l(__X); }
                     ^~~~~
gmake[2]: *** [Makefile:1636: maint.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory '/opt/gdb-buildbot/home/solaris11-amd64/solaris11-amd64-m64/build/gdb'
gmake[1]: *** [Makefile:9229: all-gdb] Error 2
gmake[1]: Leaving directory '/opt/gdb-buildbot/home/solaris11-amd64/solaris11-amd64-m64/build'
gmake: *** [Makefile:851: all] Error 2
program finished with exit code 2
elapsedTime=476.565072
==============================================


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Failures on Ubuntu-Aarch64-m64, branch master
  2019-09-13  1:12 [binutils-gdb] gdb: Have 'maint info sections' print all sections again gdb-buildbot
  2019-09-13  1:12 ` *** COMPILATION FAILED *** Failures on Solaris11-sparcv9-m64, branch master *** BREAKAGE *** gdb-buildbot
  2019-09-13  1:26 ` *** COMPILATION FAILED *** Failures on Solaris11-amd64-m64, " gdb-buildbot
@ 2019-09-13  1:28 ` gdb-buildbot
  2019-09-13  1:32 ` Failures on RHEL-s390x-m64, " gdb-buildbot
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: gdb-buildbot @ 2019-09-13  1:28 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Ubuntu-Aarch64-m64

Worker:
        ubuntu-aarch64

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/8/builds/692

Author:
        Andrew Burgess <andrew.burgess@embecosm.com>

Commit tested:
        aa17805fb9a3a1983a510ba425b682fba03410c2

Subject of commit:
        gdb: Have 'maint info sections' print all sections again

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Ubuntu-Aarch64-m64/aa/aa17805fb9a3a1983a510ba425b682fba03410c2/

*** Diff to previous build ***
==============================================
PASS -> KFAIL: gdb.threads/non-ldr-exit.exp: program exits normally
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Ubuntu-Aarch64-m64/aa/aa17805fb9a3a1983a510ba425b682fba03410c2//xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Ubuntu-Aarch64-m64/aa/aa17805fb9a3a1983a510ba425b682fba03410c2//xfail.table.gz>


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Failures on RHEL-s390x-m64, branch master
  2019-09-13  1:12 [binutils-gdb] gdb: Have 'maint info sections' print all sections again gdb-buildbot
                   ` (2 preceding siblings ...)
  2019-09-13  1:28 ` Failures on Ubuntu-Aarch64-m64, branch master gdb-buildbot
@ 2019-09-13  1:32 ` gdb-buildbot
  2019-09-13  1:52 ` Failures on Ubuntu-Aarch64-native-extended-gdbserver-m64, " gdb-buildbot
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: gdb-buildbot @ 2019-09-13  1:32 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        RHEL-s390x-m64

Worker:
        rhel-7_1-s390x-1

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/13/builds/54

Author:
        Andrew Burgess <andrew.burgess@embecosm.com>

Commit tested:
        aa17805fb9a3a1983a510ba425b682fba03410c2

Subject of commit:
        gdb: Have 'maint info sections' print all sections again

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/RHEL-s390x-m64/aa/aa17805fb9a3a1983a510ba425b682fba03410c2/

*** Diff to previous build ***
==============================================
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=17: wait for stops
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=18: wait for stops
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=6: wait for stops
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=8: wait for stops
PASS -> FAIL: gdb.threads/process-dies-while-detaching.exp: multi-process: continue: detach: continue
PASS -> FAIL: gdb.threads/process-dies-while-detaching.exp: multi-process: continue: detach: continue to breakpoint: _exit
PASS -> FAIL: gdb.threads/process-dies-while-detaching.exp: multi-process: continue: detach: detach child
PASS -> FAIL: gdb.threads/process-dies-while-detaching.exp: multi-process: continue: detach: switch to parent
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=on: cond_bp_target=0: inferior 1 exited
PASS -> FAIL: gdb.threads/watchpoint-fork.exp: parent: multithreaded: watchpoint B after the second fork
PASS -> FAIL: gdb.tui/empty.exp: split-regs: 90x40: box 1
PASS -> FAIL: gdb.tui/empty.exp: src-regs: 90x40: box 1
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/RHEL-s390x-m64/aa/aa17805fb9a3a1983a510ba425b682fba03410c2//xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/RHEL-s390x-m64/aa/aa17805fb9a3a1983a510ba425b682fba03410c2//xfail.table.gz>


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Failures on Ubuntu-Aarch64-native-extended-gdbserver-m64, branch master
  2019-09-13  1:12 [binutils-gdb] gdb: Have 'maint info sections' print all sections again gdb-buildbot
                   ` (3 preceding siblings ...)
  2019-09-13  1:32 ` Failures on RHEL-s390x-m64, " gdb-buildbot
@ 2019-09-13  1:52 ` gdb-buildbot
  2019-09-13  2:13 ` Failures on Debian-s390x-m64, " gdb-buildbot
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: gdb-buildbot @ 2019-09-13  1:52 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Ubuntu-Aarch64-native-extended-gdbserver-m64

Worker:
        ubuntu-aarch64

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/5/builds/688

Author:
        Andrew Burgess <andrew.burgess@embecosm.com>

Commit tested:
        aa17805fb9a3a1983a510ba425b682fba03410c2

Subject of commit:
        gdb: Have 'maint info sections' print all sections again

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Ubuntu-Aarch64-native-extended-gdbserver-m64/aa/aa17805fb9a3a1983a510ba425b682fba03410c2/

*** Diff to previous build ***
==============================================
PASS -> FAIL: gdb.threads/attach-stopped.exp: nonthreaded: attach2 to stopped bt
PASS -> UNRESOLVED: gdb.threads/attach-stopped.exp: nonthreaded: attach2 to stopped, after setting file
PASS -> UNRESOLVED: gdb.threads/pthreads.exp: set print sevenbit-strings
new FAIL: gdb.threads/signal-delivered-right-thread.exp: signal 0: can't run to main
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Ubuntu-Aarch64-native-extended-gdbserver-m64/aa/aa17805fb9a3a1983a510ba425b682fba03410c2//xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Ubuntu-Aarch64-native-extended-gdbserver-m64/aa/aa17805fb9a3a1983a510ba425b682fba03410c2//xfail.table.gz>


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Failures on Debian-s390x-m64, branch master
  2019-09-13  1:12 [binutils-gdb] gdb: Have 'maint info sections' print all sections again gdb-buildbot
                   ` (4 preceding siblings ...)
  2019-09-13  1:52 ` Failures on Ubuntu-Aarch64-native-extended-gdbserver-m64, " gdb-buildbot
@ 2019-09-13  2:13 ` gdb-buildbot
  2019-09-13  2:25 ` Failures on Debian-s390x-native-extended-gdbserver-m64, " gdb-buildbot
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: gdb-buildbot @ 2019-09-13  2:13 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Debian-s390x-m64

Worker:
        debian-jessie-s390x-1

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/25/builds/137

Author:
        Andrew Burgess <andrew.burgess@embecosm.com>

Commit tested:
        aa17805fb9a3a1983a510ba425b682fba03410c2

Subject of commit:
        gdb: Have 'maint info sections' print all sections again

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Debian-s390x-m64/aa/aa17805fb9a3a1983a510ba425b682fba03410c2/

*** Diff to previous build ***
==============================================
PASS -> FAIL: gdb.threads/gcore-stale-thread.exp: save a corefile
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=12: wait for stops
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=13: wait for stops
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=16: wait for stops
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=17: wait for stops
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=4: wait for stops
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=8: wait for stops
PASS -> FAIL: gdb.threads/signal-while-stepping-over-bp-other-thread.exp: step
PASS -> FAIL: gdb.threads/watchthreads.exp: combination of threaded watchpoints = 30
PASS -> FAIL: gdb.threads/watchthreads.exp: threaded watch loop
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Debian-s390x-m64/aa/aa17805fb9a3a1983a510ba425b682fba03410c2//xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Debian-s390x-m64/aa/aa17805fb9a3a1983a510ba425b682fba03410c2//xfail.table.gz>


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Failures on Debian-s390x-native-extended-gdbserver-m64, branch master
  2019-09-13  1:12 [binutils-gdb] gdb: Have 'maint info sections' print all sections again gdb-buildbot
                   ` (5 preceding siblings ...)
  2019-09-13  2:13 ` Failures on Debian-s390x-m64, " gdb-buildbot
@ 2019-09-13  2:25 ` gdb-buildbot
  2019-09-13  2:26 ` Failures on Fedora-i686, " gdb-buildbot
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: gdb-buildbot @ 2019-09-13  2:25 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Debian-s390x-native-extended-gdbserver-m64

Worker:
        debian-jessie-s390x-1

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/12/builds/141

Author:
        Andrew Burgess <andrew.burgess@embecosm.com>

Commit tested:
        aa17805fb9a3a1983a510ba425b682fba03410c2

Subject of commit:
        gdb: Have 'maint info sections' print all sections again

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Debian-s390x-native-extended-gdbserver-m64/aa/aa17805fb9a3a1983a510ba425b682fba03410c2/

*** Diff to previous build ***
==============================================
PASS -> UNRESOLVED: gdb.threads/attach-into-signal.exp: threaded: attach
PASS -> UNRESOLVED: gdb.threads/fork-plus-threads.exp: detach-on-fork=off: no failure to remove breakpoints
PASS -> UNRESOLVED: gdb.threads/fork-plus-threads.exp: detach-on-fork=off: no threads left
FAIL -> UNRESOLVED: gdb.threads/fork-plus-threads.exp: detach-on-fork=off: only inferior 1 left
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=10: wait for stops
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=13: wait for stops
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=off: cond_bp_target=0: inferior 1 exited
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=off: cond_bp_target=1: inferior 1 exited
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=on: cond_bp_target=0: inferior 1 exited
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Debian-s390x-native-extended-gdbserver-m64/aa/aa17805fb9a3a1983a510ba425b682fba03410c2//xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Debian-s390x-native-extended-gdbserver-m64/aa/aa17805fb9a3a1983a510ba425b682fba03410c2//xfail.table.gz>


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Failures on Fedora-i686, branch master
  2019-09-13  1:12 [binutils-gdb] gdb: Have 'maint info sections' print all sections again gdb-buildbot
                   ` (6 preceding siblings ...)
  2019-09-13  2:25 ` Failures on Debian-s390x-native-extended-gdbserver-m64, " gdb-buildbot
@ 2019-09-13  2:26 ` gdb-buildbot
  2019-09-13  2:55 ` Failures on Fedora-x86_64-cc-with-index, " gdb-buildbot
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: gdb-buildbot @ 2019-09-13  2:26 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Fedora-i686

Worker:
        fedora-x86-64-2

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/18/builds/780

Author:
        Andrew Burgess <andrew.burgess@embecosm.com>

Commit tested:
        aa17805fb9a3a1983a510ba425b682fba03410c2

Subject of commit:
        gdb: Have 'maint info sections' print all sections again

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Fedora-i686/aa/aa17805fb9a3a1983a510ba425b682fba03410c2/

*** Diff to previous build ***
==============================================
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=off: cond_bp_target=1: inferior 1 exited
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=on: cond_bp_target=1: inferior 1 exited
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Fedora-i686/aa/aa17805fb9a3a1983a510ba425b682fba03410c2//xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Fedora-i686/aa/aa17805fb9a3a1983a510ba425b682fba03410c2//xfail.table.gz>


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Failures on Fedora-x86_64-cc-with-index, branch master
  2019-09-13  1:12 [binutils-gdb] gdb: Have 'maint info sections' print all sections again gdb-buildbot
                   ` (7 preceding siblings ...)
  2019-09-13  2:26 ` Failures on Fedora-i686, " gdb-buildbot
@ 2019-09-13  2:55 ` gdb-buildbot
  2019-09-13  3:05 ` Failures on Debian-s390x-native-gdbserver-m64, " gdb-buildbot
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: gdb-buildbot @ 2019-09-13  2:55 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Fedora-x86_64-cc-with-index

Worker:
        fedora-x86-64-1

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/20/builds/781

Author:
        Andrew Burgess <andrew.burgess@embecosm.com>

Commit tested:
        aa17805fb9a3a1983a510ba425b682fba03410c2

Subject of commit:
        gdb: Have 'maint info sections' print all sections again

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Fedora-x86_64-cc-with-index/aa/aa17805fb9a3a1983a510ba425b682fba03410c2/

*** Diff to previous build ***
==============================================
PASS -> KFAIL: gdb.threads/non-ldr-exit.exp: program exits normally
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-cc-with-index/aa/aa17805fb9a3a1983a510ba425b682fba03410c2//xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-cc-with-index/aa/aa17805fb9a3a1983a510ba425b682fba03410c2//xfail.table.gz>


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Failures on Debian-s390x-native-gdbserver-m64, branch master
  2019-09-13  1:12 [binutils-gdb] gdb: Have 'maint info sections' print all sections again gdb-buildbot
                   ` (8 preceding siblings ...)
  2019-09-13  2:55 ` Failures on Fedora-x86_64-cc-with-index, " gdb-buildbot
@ 2019-09-13  3:05 ` gdb-buildbot
  2019-09-13  3:13 ` Failures on Fedora-x86_64-m64, " gdb-buildbot
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: gdb-buildbot @ 2019-09-13  3:05 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Debian-s390x-native-gdbserver-m64

Worker:
        debian-jessie-s390x-1

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/21/builds/117

Author:
        Andrew Burgess <andrew.burgess@embecosm.com>

Commit tested:
        aa17805fb9a3a1983a510ba425b682fba03410c2

Subject of commit:
        gdb: Have 'maint info sections' print all sections again

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Debian-s390x-native-gdbserver-m64/aa/aa17805fb9a3a1983a510ba425b682fba03410c2/

*** Diff to previous build ***
==============================================
PASS -> FAIL: gdb.tui/empty.exp: split-regs: 90x40: box 1
PASS -> FAIL: gdb.tui/empty.exp: split: 90x40: box 1
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Debian-s390x-native-gdbserver-m64/aa/aa17805fb9a3a1983a510ba425b682fba03410c2//xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Debian-s390x-native-gdbserver-m64/aa/aa17805fb9a3a1983a510ba425b682fba03410c2//xfail.table.gz>


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Failures on Fedora-x86_64-m64, branch master
  2019-09-13  1:12 [binutils-gdb] gdb: Have 'maint info sections' print all sections again gdb-buildbot
                   ` (9 preceding siblings ...)
  2019-09-13  3:05 ` Failures on Debian-s390x-native-gdbserver-m64, " gdb-buildbot
@ 2019-09-13  3:13 ` gdb-buildbot
  2019-09-13  3:18 ` Failures on Fedora-x86_64-m32, " gdb-buildbot
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: gdb-buildbot @ 2019-09-13  3:13 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Fedora-x86_64-m64

Worker:
        fedora-x86-64-2

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/3/builds/802

Author:
        Andrew Burgess <andrew.burgess@embecosm.com>

Commit tested:
        aa17805fb9a3a1983a510ba425b682fba03410c2

Subject of commit:
        gdb: Have 'maint info sections' print all sections again

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Fedora-x86_64-m64/aa/aa17805fb9a3a1983a510ba425b682fba03410c2/

*** Diff to previous build ***
==============================================
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=on: cond_bp_target=0: inferior 1 exited
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-m64/aa/aa17805fb9a3a1983a510ba425b682fba03410c2//xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-m64/aa/aa17805fb9a3a1983a510ba425b682fba03410c2//xfail.table.gz>


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Failures on Fedora-x86_64-m32, branch master
  2019-09-13  1:12 [binutils-gdb] gdb: Have 'maint info sections' print all sections again gdb-buildbot
                   ` (10 preceding siblings ...)
  2019-09-13  3:13 ` Failures on Fedora-x86_64-m64, " gdb-buildbot
@ 2019-09-13  3:18 ` gdb-buildbot
  2019-09-13  3:53 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " gdb-buildbot
  2019-09-13  4:42 ` Failures on Fedora-x86_64-native-gdbserver-m32, " gdb-buildbot
  13 siblings, 0 replies; 15+ messages in thread
From: gdb-buildbot @ 2019-09-13  3:18 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Fedora-x86_64-m32

Worker:
        fedora-x86-64-4

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/17/builds/778

Author:
        Andrew Burgess <andrew.burgess@embecosm.com>

Commit tested:
        aa17805fb9a3a1983a510ba425b682fba03410c2

Subject of commit:
        gdb: Have 'maint info sections' print all sections again

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Fedora-x86_64-m32/aa/aa17805fb9a3a1983a510ba425b682fba03410c2/

*** Diff to previous build ***
==============================================
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=on: cond_bp_target=0: inferior 1 exited
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=on: cond_bp_target=1: inferior 1 exited
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-m32/aa/aa17805fb9a3a1983a510ba425b682fba03410c2//xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-m32/aa/aa17805fb9a3a1983a510ba425b682fba03410c2//xfail.table.gz>


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Failures on Fedora-x86_64-native-extended-gdbserver-m64, branch master
  2019-09-13  1:12 [binutils-gdb] gdb: Have 'maint info sections' print all sections again gdb-buildbot
                   ` (11 preceding siblings ...)
  2019-09-13  3:18 ` Failures on Fedora-x86_64-m32, " gdb-buildbot
@ 2019-09-13  3:53 ` gdb-buildbot
  2019-09-13  4:42 ` Failures on Fedora-x86_64-native-gdbserver-m32, " gdb-buildbot
  13 siblings, 0 replies; 15+ messages in thread
From: gdb-buildbot @ 2019-09-13  3:53 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Fedora-x86_64-native-extended-gdbserver-m64

Worker:
        fedora-x86-64-1

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/2/builds/779

Author:
        Andrew Burgess <andrew.burgess@embecosm.com>

Commit tested:
        aa17805fb9a3a1983a510ba425b682fba03410c2

Subject of commit:
        gdb: Have 'maint info sections' print all sections again

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-extended-gdbserver-m64/aa/aa17805fb9a3a1983a510ba425b682fba03410c2/

*** Diff to previous build ***
==============================================
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=off: cond_bp_target=0: inferior 1 exited
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-extended-gdbserver-m64/aa/aa17805fb9a3a1983a510ba425b682fba03410c2//xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-extended-gdbserver-m64/aa/aa17805fb9a3a1983a510ba425b682fba03410c2//xfail.table.gz>


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Failures on Fedora-x86_64-native-gdbserver-m32, branch master
  2019-09-13  1:12 [binutils-gdb] gdb: Have 'maint info sections' print all sections again gdb-buildbot
                   ` (12 preceding siblings ...)
  2019-09-13  3:53 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " gdb-buildbot
@ 2019-09-13  4:42 ` gdb-buildbot
  13 siblings, 0 replies; 15+ messages in thread
From: gdb-buildbot @ 2019-09-13  4:42 UTC (permalink / raw)
  To: gdb-testers

Buildername:
        Fedora-x86_64-native-gdbserver-m32

Worker:
        fedora-x86-64-2

Full Build URL:
	https://gdb-buildbot.osci.io/#builders/24/builds/775

Author:
        Andrew Burgess <andrew.burgess@embecosm.com>

Commit tested:
        aa17805fb9a3a1983a510ba425b682fba03410c2

Subject of commit:
        gdb: Have 'maint info sections' print all sections again

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-gdbserver-m32/aa/aa17805fb9a3a1983a510ba425b682fba03410c2/

*** Diff to previous build ***
==============================================
new FAIL: gdb.base/corefile.exp: core-file warning-free
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=off: cond_bp_target=0: inferior 1 exited
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=off: cond_bp_target=1: inferior 1 exited
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-gdbserver-m32/aa/aa17805fb9a3a1983a510ba425b682fba03410c2//xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-gdbserver-m32/aa/aa17805fb9a3a1983a510ba425b682fba03410c2//xfail.table.gz>


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2019-09-13  3:37 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-13  1:12 [binutils-gdb] gdb: Have 'maint info sections' print all sections again gdb-buildbot
2019-09-13  1:12 ` *** COMPILATION FAILED *** Failures on Solaris11-sparcv9-m64, branch master *** BREAKAGE *** gdb-buildbot
2019-09-13  1:26 ` *** COMPILATION FAILED *** Failures on Solaris11-amd64-m64, " gdb-buildbot
2019-09-13  1:28 ` Failures on Ubuntu-Aarch64-m64, branch master gdb-buildbot
2019-09-13  1:32 ` Failures on RHEL-s390x-m64, " gdb-buildbot
2019-09-13  1:52 ` Failures on Ubuntu-Aarch64-native-extended-gdbserver-m64, " gdb-buildbot
2019-09-13  2:13 ` Failures on Debian-s390x-m64, " gdb-buildbot
2019-09-13  2:25 ` Failures on Debian-s390x-native-extended-gdbserver-m64, " gdb-buildbot
2019-09-13  2:26 ` Failures on Fedora-i686, " gdb-buildbot
2019-09-13  2:55 ` Failures on Fedora-x86_64-cc-with-index, " gdb-buildbot
2019-09-13  3:05 ` Failures on Debian-s390x-native-gdbserver-m64, " gdb-buildbot
2019-09-13  3:13 ` Failures on Fedora-x86_64-m64, " gdb-buildbot
2019-09-13  3:18 ` Failures on Fedora-x86_64-m32, " gdb-buildbot
2019-09-13  3:53 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " gdb-buildbot
2019-09-13  4:42 ` Failures on Fedora-x86_64-native-gdbserver-m32, " gdb-buildbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).