| Index: gdb/testsuite/gdb.cp/pr-1210.exp
|
| diff --git a/gdb/testsuite/gdb.cp/pr-1210.exp b/gdb/testsuite/gdb.cp/pr-1210.exp
|
| index b0fc3c9e29e3d42b7f99ee797057cc0e0bca7892..6e4ab579d2800e5c6ceac7f29f0e30080b7f7328 100644
|
| --- a/gdb/testsuite/gdb.cp/pr-1210.exp
|
| +++ b/gdb/testsuite/gdb.cp/pr-1210.exp
|
| @@ -17,34 +17,22 @@
|
|
|
| # This file is part of the gdb testsuite.
|
|
|
| -if $tracelevel then {
|
| - strace $tracelevel
|
| -}
|
| -
|
| if { [skip_cplus_tests] } { continue }
|
|
|
| #
|
| # test running programs
|
| #
|
|
|
| -set testfile "pr-1210"
|
| -set srcfile ${testfile}.cc
|
| -set binfile ${objdir}/${subdir}/${testfile}
|
| +standard_testfile .cc
|
|
|
| -if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug c++}] != "" } {
|
| - untested pr-1210.exp
|
| +if [get_compiler_info "c++"] {
|
| return -1
|
| }
|
|
|
| -if [get_compiler_info ${binfile} "c++"] {
|
| +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
|
|
|