gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound in array range.
authorJoel Brobecker <brobecker@adacore.com>
Mon, 18 Aug 2014 17:41:57 +0000 (19:41 +0200)
committerJoel Brobecker <brobecker@adacore.com>
Mon, 18 Aug 2014 17:47:12 +0000 (19:47 +0200)
commitbf0fae198aeccc83fc9cc53a3318d58320ee2655
treebda396033b4aa23ed1627be685ec7c17d3697103
parentded4fc8f9cd3446f28905ca46af056e961d5c67f
gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound in array range.

The testcase generates an assembly file where a second DW_AT_upper_bound
attribute gets generated in the array range.  This was definitely
unintentional, and I only noticed this after pushing the testcase,
when dumping one more time the DWARF data using readelf.

This patch fixes it.

gdb/testsuite/ChangeLog:

        * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
        attribute in array range.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/data-loc.exp