aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-02-01 19:33:47 +0000
committerTom Tromey <tromey@redhat.com>2013-02-01 19:33:47 +0000
commit17f2157dcc39cd6c5786ba70dd130e858728f1ac (patch)
treea0a4008bcd37efd57e1c7f58498b09eaf5bb8bb5 /gdb
parentd65f0a9cae3c5f4ed272b6b0f15e543474bd39f3 (diff)
downloadgdb-17f2157dcc39cd6c5786ba70dd130e858728f1ac.zip
gdb-17f2157dcc39cd6c5786ba70dd130e858728f1ac.tar.gz
gdb-17f2157dcc39cd6c5786ba70dd130e858728f1ac.tar.bz2
* gdb.dwarf2/method-ptr.exp: Use correct form for non-string
attributes.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.dwarf2/method-ptr.exp8
2 files changed, 9 insertions, 4 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 2711bb7..47fed77 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2013-02-01 Tom Tromey <tromey@redhat.com>
+
+ * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
+ attributes.
+
2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
Tom Tromey <tromey@redhat.com>
diff --git a/gdb/testsuite/gdb.dwarf2/method-ptr.exp b/gdb/testsuite/gdb.dwarf2/method-ptr.exp
index 5b930c6..d76d63e 100644
--- a/gdb/testsuite/gdb.dwarf2/method-ptr.exp
+++ b/gdb/testsuite/gdb.dwarf2/method-ptr.exp
@@ -34,18 +34,18 @@ Dwarf::assemble $asm_file {
int_label: base_type {
{name int}
{encoding @DW_ATE_signed}
- {byte_size 4}
+ {byte_size 4 DW_FORM_sdata}
}
float_label: base_type {
{name float}
{encoding @DW_ATE_float}
- {byte_size 4}
+ {byte_size 4 DW_FORM_sdata}
}
struct_label: structure_type {
{name S}
- {byte_size 1}
+ {byte_size 1 DW_FORM_sdata}
}
ptr_label: pointer_type {
@@ -57,7 +57,7 @@ Dwarf::assemble $asm_file {
} {
formal_parameter {
{type :$ptr_label}
- {artificial 1}
+ {artificial 1 DW_FORM_flag_present}
}
formal_parameter {
{type :$float_label}