aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.dwarf2/dynarr-ptr.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 6098a62..9fa680d 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2015-04-15 Yao Qi <yao.qi@linaro.org>
+
+ * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
+ of ":$ptr_size" and set its form explicitly.
+
2015-04-15 Pedro Alves <palves@redhat.com>
Yao Qi <yao.qi@linaro.org>
diff --git a/gdb/testsuite/gdb.dwarf2/dynarr-ptr.exp b/gdb/testsuite/gdb.dwarf2/dynarr-ptr.exp
index 544509b..3dcb3d7 100644
--- a/gdb/testsuite/gdb.dwarf2/dynarr-ptr.exp
+++ b/gdb/testsuite/gdb.dwarf2/dynarr-ptr.exp
@@ -74,7 +74,7 @@ Dwarf::assemble $asm_file {
}
}
array_ptr_label: DW_TAG_pointer_type {
- {DW_AT_byte_size :$ptr_size }
+ {DW_AT_byte_size $ptr_size DW_FORM_data1}
{DW_AT_type :$array_label}
}
array_typedef_label: DW_TAG_typedef {