aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2020-10-20 10:20:25 +0200
committerTom de Vries <tdevries@suse.de>2020-10-20 10:20:25 +0200
commitae86f581c2ac33fc289eb4ac62c0539a7e9c6793 (patch)
tree61c896bc7ead2f8051864f65d2914abc27415fb6
parent8c1613603dcbe01403340fd09b055173d854ba73 (diff)
downloadbinutils-ae86f581c2ac33fc289eb4ac62c0539a7e9c6793.zip
binutils-ae86f581c2ac33fc289eb4ac62c0539a7e9c6793.tar.gz
binutils-ae86f581c2ac33fc289eb4ac62c0539a7e9c6793.tar.bz2
[gdb/testsuite] Remove superfluous marker in pr13961.S
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.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.dwarf2/pr13961.S1
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 8ece61d..277848c 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
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.
* gdb.dwarf2/arr-stride.exp: Use main.c.
* gdb.dwarf2/arr-subrange.c: Remove.
diff --git a/gdb/testsuite/gdb.dwarf2/pr13961.S b/gdb/testsuite/gdb.dwarf2/pr13961.S
index 1e50f9d..a60a79c 100644
--- a/gdb/testsuite/gdb.dwarf2/pr13961.S
+++ b/gdb/testsuite/gdb.dwarf2/pr13961.S
@@ -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 */