| Index: gdb/testsuite/gdb.opt/inline-bt.exp
|
| diff --git a/gdb/testsuite/gdb.opt/inline-bt.exp b/gdb/testsuite/gdb.opt/inline-bt.exp
|
| index 6b356905ed738799d37bb05356f4f0259c5d1d74..8eecd35872aae44371d933acbf55affc491901d4 100644
|
| --- a/gdb/testsuite/gdb.opt/inline-bt.exp
|
| +++ b/gdb/testsuite/gdb.opt/inline-bt.exp
|
| @@ -13,28 +13,17 @@
|
| # 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 "inline-bt"
|
| -set srcfile ${testfile}.c
|
| -set srcfile2 "inline-markers.c"
|
| -set fullsrcfile "${srcdir}/${subdir}/${srcfile}"
|
| -set fullsrcfile2 "${srcdir}/${subdir}/${srcfile2}"
|
| -set sources [list ${fullsrcfile} ${fullsrcfile2}]
|
| -set binfile ${objdir}/${subdir}/${testfile}
|
| -
|
| -if { [gdb_compile ${sources} ${binfile} \
|
| - executable {debug optimize=-O2 additional_flags=-Winline}] != "" } {
|
| - untested inline-bt.exp
|
| +standard_testfile .c inline-markers.c
|
| +
|
| +if {[prepare_for_testing $testfile.exp $testfile \
|
| + [list $srcfile $srcfile2] \
|
| + {debug optimize=-O2 additional_flags=-Winline}]} {
|
| return -1
|
| }
|
|
|
| -gdb_exit
|
| -gdb_start
|
| -gdb_reinitialize_dir $srcdir/$subdir
|
| -gdb_load ${binfile}
|
| -
|
| runto_main
|
|
|
| -get_compiler_info $binfile
|
| +get_compiler_info
|
| get_debug_format
|
| if { [skip_inline_frame_tests] } {
|
| untested inline-bt.exp
|
|
|