| Index: gdb/testsuite/gdb.cp/annota3.exp
|
| diff --git a/gdb/testsuite/gdb.cp/annota3.exp b/gdb/testsuite/gdb.cp/annota3.exp
|
| index e34973bc17b30a9ca6a6e18825c05ffa0743f58a..61ee22275b7c03aca38525937b6f11cfc4a213b9 100644
|
| --- a/gdb/testsuite/gdb.cp/annota3.exp
|
| +++ b/gdb/testsuite/gdb.cp/annota3.exp
|
| @@ -15,10 +15,6 @@
|
|
|
| # This file was written by Elena Zannoni (ezannoni@cygnus.com)
|
|
|
| -if $tracelevel then {
|
| - strace $tracelevel
|
| -}
|
| -
|
|
|
| #
|
| # test running programs
|
| @@ -26,12 +22,10 @@ if $tracelevel then {
|
|
|
| if { [skip_cplus_tests] } { continue }
|
|
|
| -set testfile "annota3"
|
| -set srcfile ${testfile}.cc
|
| -set binfile ${objdir}/${subdir}/${testfile}
|
| +standard_testfile .cc
|
|
|
| -if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug c++ nowarnings}] != "" } {
|
| - untested annota3.exp
|
| +if {[prepare_for_testing $testfile.exp $testfile $srcfile \
|
| + {debug c++ nowarnings}]} {
|
| return -1
|
| }
|
|
|
| @@ -44,16 +38,6 @@ if [is_remote target] then {
|
| return 0
|
| }
|
|
|
| -
|
| -gdb_exit
|
| -gdb_start
|
| -gdb_reinitialize_dir $srcdir/$subdir
|
| -gdb_load ${binfile}
|
| -
|
| -if [target_info exists gdb_stub] {
|
| - gdb_step_for_stub;
|
| -}
|
| -
|
| #
|
| # line number where we need to stop in main
|
| #
|
|
|