diff options
author | Joel Brobecker <brobecker@adacore.com> | 2014-08-18 19:41:57 +0200 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2014-08-18 19:47:12 +0200 |
commit | bf0fae198aeccc83fc9cc53a3318d58320ee2655 (patch) | |
tree | bda396033b4aa23ed1627be685ec7c17d3697103 /gdb/testsuite/gdb.dwarf2 | |
parent | ded4fc8f9cd3446f28905ca46af056e961d5c67f (diff) | |
download | gdb-bf0fae198aeccc83fc9cc53a3318d58320ee2655.zip gdb-bf0fae198aeccc83fc9cc53a3318d58320ee2655.tar.gz gdb-bf0fae198aeccc83fc9cc53a3318d58320ee2655.tar.bz2 |
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.
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2')
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/data-loc.exp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/data-loc.exp b/gdb/testsuite/gdb.dwarf2/data-loc.exp index 859962a..b5c5f67 100644 --- a/gdb/testsuite/gdb.dwarf2/data-loc.exp +++ b/gdb/testsuite/gdb.dwarf2/data-loc.exp @@ -74,7 +74,6 @@ Dwarf::assemble $asm_file { DW_OP_plus_uconst [get_sizeof "int" 4] DW_OP_deref_size [get_sizeof "int" 4] } SPECIAL_expr} - {DW_AT_upper_bound 5 DW_FORM_data1} } } DW_TAG_typedef { |