summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2/dw2-ranges.exp
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-06-27 17:00:09 +0000
committerTom Tromey <tromey@redhat.com>2012-06-27 17:00:09 +0000
commitc83ee9021b77f1c88121ab6abd3224fbcaa530ca (patch)
tree1b9d3e1c30ca643d9eaea37e9328f379eb40ca4a /gdb/testsuite/gdb.dwarf2/dw2-ranges.exp
parent0bc3a05c52a91935d21ce006d68bc6455f63eeff (diff)
downloadbinutils-gdb-c83ee9021b77f1c88121ab6abd3224fbcaa530ca.tar.gz
* gdb.dwarf2/pr10770.exp: Use standard_testfile.
* gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile. * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile. * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile. * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile, prepare_for_testing. * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile. * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile. * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use standard_testfile. * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile. * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile. * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile. * gdb.dwarf2/callframecfa.exp: Use standard_testfile, prepare_for_testing. * gdb.dwarf2/dup-psym.exp: Use standard_testfile. * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile. * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile. * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile. * gdb.dwarf2/dw2-basic.exp: Use standard_testfile. * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile. * gdb.dwarf2/dw2-const.exp: Use standard_testfile. * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile. * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile. * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile. * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile. * gdb.dwarf2/dw2-filename.exp: Use standard_testfile. * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile. * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile. * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile. * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile. * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile. * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile. * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile. * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile. * gdb.dwarf2/dw2-producer.exp: Use standard_testfile. * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile, standard_output_file. * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile, standard_output_file. * gdb.dwarf2/dw2-restore.exp: Use standard_testfile. * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile. * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile. * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile. * gdb.dwarf2/dw2-strp.exp: Use standard_testfile. * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile. * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile. * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile. * gdb.dwarf2/implptr.exp: Use standard_testfile. * gdb.dwarf2/mac-fileno.exp: Use standard_testfile. * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile. * gdb.dwarf2/pieces.exp: Use standard_testfile. * gdb.dwarf2/pr11465.exp: Use standard_testfile. * gdb.dwarf2/pr13961.exp: Use standard_testfile. * gdb.dwarf2/valop.exp: Use standard_testfile, prepare_for_testing.
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/dw2-ranges.exp')
-rw-r--r--gdb/testsuite/gdb.dwarf2/dw2-ranges.exp18
1 files changed, 7 insertions, 11 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-ranges.exp b/gdb/testsuite/gdb.dwarf2/dw2-ranges.exp
index 83abd2a4511..dea212d475d 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-ranges.exp
+++ b/gdb/testsuite/gdb.dwarf2/dw2-ranges.exp
@@ -32,17 +32,13 @@ if !$gcc_compiled {
return 0
}
-set testfile "dw2-ranges"
-set srcfile ${testfile}.c
-set srcfile2 ${testfile}2.c
-set srcfile3 ${testfile}3.c
-set asmfile ${objdir}/${subdir}/${testfile}.s
-set asmfile2 ${objdir}/${subdir}/${testfile}2.s
-set asmfile3 ${objdir}/${subdir}/${testfile}3.s
-set objfile ${objdir}/${subdir}/${testfile}.o
-set objfile2 ${objdir}/${subdir}/${testfile}2.o
-set objfile3 ${objdir}/${subdir}/${testfile}3.o
-set binfile ${objdir}/${subdir}/${testfile}
+standard_testfile dw2-ranges.c dw2-ranges2.c dw2-ranges3.c
+set asmfile [standard_output_file ${testfile}.s]
+set asmfile2 [standard_output_file ${testfile}2.s]
+set asmfile3 [standard_output_file ${testfile}3.s]
+set objfile [standard_output_file ${testfile}.o]
+set objfile2 [standard_output_file ${testfile}2.o]
+set objfile3 [standard_output_file ${testfile}3.o]
# Generate .s without debug info but provide debug info by the assembler.
# This way we get DW_TAG_compile_unit DIE and only that DIE.