| Index: gdb/testsuite/gdb.arch/i386-float.exp
|
| diff --git a/gdb/testsuite/gdb.arch/i386-permbkpt.exp b/gdb/testsuite/gdb.arch/i386-float.exp
|
| similarity index 58%
|
| copy from gdb/testsuite/gdb.arch/i386-permbkpt.exp
|
| copy to gdb/testsuite/gdb.arch/i386-float.exp
|
| index df3b3738f9b7bc3006e3345088ca694c51bad2fa..c4175324ab9ec6d6b1b5b8036a076a4c203d4e22 100644
|
| --- a/gdb/testsuite/gdb.arch/i386-permbkpt.exp
|
| +++ b/gdb/testsuite/gdb.arch/i386-float.exp
|
| @@ -1,4 +1,4 @@
|
| -# Copyright (C) 2009-2012 Free Software Foundation, Inc.
|
| +# Copyright (C) 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
|
| @@ -16,29 +16,28 @@
|
|
|
| # This file is part of the gdb testsuite.
|
|
|
| -# Test inserting breakpoints over permanent breakpoints on i386 and amd64.
|
| +# Test the x87 floating point information printout.
|
|
|
| if { ![istarget "i?86-*-*"] && ![istarget "x86_64-*-*"] } then {
|
| - verbose "Skipping i386 test for multi break at permanent breakpoint location."
|
| + verbose "Skipping i386 tests for x87 floating point support."
|
| return
|
| }
|
|
|
| -set testfile "i386-permbkpt"
|
| -set srcfile ${testfile}.S
|
| -set binfile ${objdir}/${subdir}/${testfile}
|
| +standard_testfile .S
|
|
|
| # some targets have leading underscores on assembly symbols.
|
| set additional_flags [gdb_target_symbol_prefix_flags]
|
|
|
| -if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list debug $additional_flags]] != "" } {
|
| - untested i386-permbkpt.exp
|
| +if { [prepare_for_testing break.exp $testfile $srcfile [list debug $additional_flags]] } {
|
| return -1
|
| }
|
|
|
| -gdb_exit
|
| -gdb_start
|
| -gdb_reinitialize_dir $srcdir/$subdir
|
| -gdb_load ${binfile}
|
| +if ![runto_main] then {
|
| + fail "Can't run to main"
|
| + return 0
|
| +}
|
|
|
| -gdb_test "break main" "" "First permanent break"
|
| -gdb_test "break main" "" "Second permanent break"
|
| +gdb_test "stepi" ".*fldt.*" "first stepi"
|
| +gdb_test "info float" ".*R7: Empty 0x00000000000000000000\r\n.*"
|
| +gdb_test "stepi" ".*ret.*" "second stepi"
|
| +gdb_test "info float" ".*=>R7: Valid 0xbffee922191107450000 .*"
|
|
|