diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/float.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/float.exp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/float.exp b/gdb/testsuite/gdb.base/float.exp index e0f0d9f..e0308eb 100644 --- a/gdb/testsuite/gdb.base/float.exp +++ b/gdb/testsuite/gdb.base/float.exp @@ -56,7 +56,14 @@ if { [istarget "alpha*-*-*"] } then { } elseif { [istarget "arm*-*-*"] || \ [istarget "xscale*-*-*"] || \ [istarget "strongarm*-*-*"] } then { - gdb_test "info float" "Software FPU type.*mask:.*flags:.*" "info float" + gdb_test_multiple "info float" "info float" { + -re "Software FPU type.*mask:.*flags:.*$gdb_prompt $" { + pass "info float (FPA)" + } + -re "No floating.point info available for this processor.*" { + pass "info float (without FPU)" + } + } } elseif { [istarget "i?86-*-*"] || [istarget "x86_64-*-*"] } then { gdb_test "info float" "R7:.*Status Word:.*Opcode:.*" "info float" } elseif [istarget "ia64-*-*"] then { |