diff options
author | Tom Tromey <tromey@redhat.com> | 2012-07-12 15:15:07 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-07-12 15:15:07 +0000 |
commit | 76027ef599f664d2c45574304d304abc962145c2 (patch) | |
tree | d5af4479ebec0ee9e6f3fe27b59433b5c3f191d1 /gdb/testsuite/gdb.dwarf2/dw2-strp.exp | |
parent | 85b4440aee65df8d448a532fe925999228004afc (diff) | |
download | gdb-76027ef599f664d2c45574304d304abc962145c2.zip gdb-76027ef599f664d2c45574304d304abc962145c2.tar.gz gdb-76027ef599f664d2c45574304d304abc962145c2.tar.bz2 |
* gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
* gdb.dwarf2/dw2-anonymous-func.exp: Use
prepare_for_testing_full.
* gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
* gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
* gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
* gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
* gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
* gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
* gdb.dwarf2/dw2-linkage-name-trust.exp: Use
prepare_for_testing_full.
* gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
* gdb.dwarf2/dw2-ref-missing-frame.exp: Use
prepare_for_testing_full.
* gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
* gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
* gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/dw2-strp.exp')
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/dw2-strp.exp | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-strp.exp b/gdb/testsuite/gdb.dwarf2/dw2-strp.exp index b98833e..d2820ae 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-strp.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-strp.exp @@ -24,23 +24,11 @@ if {![dwarf2_support]} { standard_testfile .S -if { [gdb_compile "${srcdir}/${subdir}/main.c" "main.o" object {debug}] != "" } { +if {[prepare_for_testing_full $testfile.exp \ + [list $testfile debug main.c debug $srcfile nodebug]]} { return -1 } -if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${testfile}.o" object {nodebug}] != "" } { - return -1 -} - -if { [gdb_compile "${testfile}.o main.o" "${binfile}" executable {debug}] != "" } { - return -1 -} - -gdb_exit -gdb_start -gdb_reinitialize_dir $srcdir/$subdir -gdb_load ${binfile} - gdb_test "p a_string" " = \"hello world!\\\\n\"" gdb_test "ptype a_string" "type = const char \\\[14\\\]" |