[gdb/testsuite] Remove superfluous marker in pr13961.S
authorTom de Vries <tdevries@suse.de>
Tue, 20 Oct 2020 08:20:25 +0000 (10:20 +0200)
committerTom de Vries <tdevries@suse.de>
Tue, 20 Oct 2020 08:20:25 +0000 (10:20 +0200)
When looking at readelf output for test-case gdb.dwarf2/pr13961.exp, we have:
...
$ readelf -wi ./outputs/gdb.dwarf2/pr13961/pr13961
   ...
 <0><14c>: Abbrev Number: 0
readelf: Warning: Bogus end-of-siblings marker detected at offset 14c in \
  .debug_info section
...

Fix this by removing the superfluous end-of-siblings marker.

Tested on x86_64-linux.

gdb/testsuite/ChangeLog:

2020-10-20  Tom de Vries  <tdevries@suse.de>

* gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/pr13961.S

index 8ece61dc4a3128593278047d8dc33acce76f2df0..277848c25322ad1f36b798a7fc699767a2ec6655 100644 (file)
@@ -1,3 +1,7 @@
+2020-10-20  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
+
 2020-10-20  Tom de Vries  <tdevries@suse.de>
 
        * gdb.dwarf2/arr-stride.c: Remove.
index 1e50f9de68915196660161185640d5c0e9ee668f..a60a79c8c83644af0c49320f8c854041b93bb3a7 100644 (file)
@@ -207,7 +207,6 @@ SYMBOL(main):
        .byte   0x4     /* DW_AT_byte_size */
        .byte   0x5     /* DW_AT_encoding */
        .ascii "int\0"  /* DW_AT_name */
-       .byte   0       /* end of children of DIE 0x17 */
        /* End of manual insertion */
 
        .byte   0       /* end of children of DIE 0xb */