| Index: gdb/testsuite/gdb.cp/pr9067.exp
|
| diff --git a/gdb/testsuite/gdb.cp/pr9067.exp b/gdb/testsuite/gdb.cp/pr9067.exp
|
| index 31d4e8096140c6a498a75259437f41a909491b58..cf80be0e145451a235c3a91a7c2981677bf24a07 100644
|
| --- a/gdb/testsuite/gdb.cp/pr9067.exp
|
| +++ b/gdb/testsuite/gdb.cp/pr9067.exp
|
| @@ -19,20 +19,12 @@ if { [skip_cplus_tests] } { continue }
|
|
|
| load_lib "cp-support.exp"
|
|
|
| -set testfile "pr9067"
|
| -set srcfile ${testfile}.cc
|
| -set binfile ${objdir}/${subdir}/${testfile}
|
| +standard_testfile .cc
|
|
|
| -if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {c++ debug}] != "" } {
|
| - untested pr9067.exp
|
| - return -1
|
| +if {[prepare_for_testing $testfile.exp $testfile $srcfile {debug c++}]} {
|
| + return -1
|
| }
|
|
|
| -gdb_exit
|
| -gdb_start
|
| -gdb_reinitialize_dir $srcdir/$subdir
|
| -gdb_load ${binfile}
|
| -
|
| if ![runto_main] then {
|
| perror "couldn't run to breakpoint"
|
| continue
|
|
|