summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2/implptrconst.exp
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2013-05-20 22:11:37 +0000
committerDoug Evans <dje@google.com>2013-05-20 22:11:37 +0000
commit6c9e2db469f1c0783213045c6d7680078575f641 (patch)
tree00708fdea82a95eb2a9763d18a576a88626bfe76 /gdb/testsuite/gdb.dwarf2/implptrconst.exp
parent4a6e676ceb43ee5d827c9264c35486dc1222a6e7 (diff)
downloadbinutils-gdb-6c9e2db469f1c0783213045c6d7680078575f641.tar.gz
* lib/dwarf.exp (Dwarf): New variable _abbrev_section.
(_handle_DW_TAG): Use it. (cu, tu): Replace parameters is_64, version, addr_size with options. All callers updated. Add Fission support. * gdb.dwarf2/implptrconst.exp: Update callers of "cu". * gdb.dwarf2/method-ptr.exp: Ditto. * gdb.dwarf2/nostaticblock.exp: Ditto. * gdb.dwarf2/subrange.exp: Ditto. * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/implptrconst.exp')
-rw-r--r--gdb/testsuite/gdb.dwarf2/implptrconst.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/implptrconst.exp b/gdb/testsuite/gdb.dwarf2/implptrconst.exp
index 7eca600d3cd..1c89c43002e 100644
--- a/gdb/testsuite/gdb.dwarf2/implptrconst.exp
+++ b/gdb/testsuite/gdb.dwarf2/implptrconst.exp
@@ -29,7 +29,7 @@ set asm_file [standard_output_file $srcfile2]
Dwarf::assemble $asm_file {
# Creating a CU with 4-byte addresses lets this test link on both
# 32- and 64-bit machines.
- cu 0 2 4 {
+ cu { addr_size 4 } {
compile_unit {} {
declare_labels byte_label size_type_label array_label
declare_labels var_label ptr_label