| Index: gdb/testsuite/gdb.base/hook-stop-frame.exp
|
| diff --git a/gdb/testsuite/gdb.base/hook-stop-frame.exp b/gdb/testsuite/gdb.base/hook-stop-frame.exp
|
| index 70fa8081343cae25c6ccd784590d3afaf94b3a21..ce7ece40ce8e46d6287cc04767d16a86c6240395 100644
|
| --- a/gdb/testsuite/gdb.base/hook-stop-frame.exp
|
| +++ b/gdb/testsuite/gdb.base/hook-stop-frame.exp
|
| @@ -1,4 +1,4 @@
|
| -# Copyright 2009-2012 Free Software Foundation, Inc.
|
| +# Copyright 2009-2013 Free Software Foundation, Inc.
|
|
|
| # This program is free software; you can redistribute it and/or modify
|
| # it under the terms of the GNU General Public License as published by
|
| @@ -13,19 +13,12 @@
|
| # You should have received a copy of the GNU General Public License
|
| # along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
| -set testfile "hook-stop-frame"
|
| -set srcfile ${testfile}.c
|
| -set binfile ${objdir}/${subdir}/${testfile}
|
| +standard_testfile
|
|
|
| -if { [prepare_for_testing ${testfile}.exp "${testfile}" "${testfile}.c" {debug nowarnings}] } {
|
| +if { [prepare_for_testing ${testfile}.exp "${testfile}" $srcfile {debug nowarnings}] } {
|
| return -1
|
| }
|
|
|
| -gdb_exit
|
| -gdb_start
|
| -gdb_reinitialize_dir $srcdir/$subdir
|
| -gdb_load ${binfile}
|
| -
|
| if ![runto_main] then {
|
| perror "Couldn't run to main"
|
| }
|
|
|