summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/float.exp
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2008-05-08 16:30:53 +0000
committerDaniel Jacobowitz <drow@false.org>2008-05-08 16:30:53 +0000
commitbd5ddfe86556d18862982ba3ab87fdef1bfae9a8 (patch)
treed03ba270df0c257116beab3ddea38e7c1985eabd /gdb/testsuite/gdb.base/float.exp
parent45280a5259f209ba74ed8255674a3fd345307a55 (diff)
downloadbinutils-gdb-bd5ddfe86556d18862982ba3ab87fdef1bfae9a8.tar.gz
* gdb.base/commands.exp (watchpoint_command_test): Handle
gdb,no_hardware_watchpoints. * gdb.base/float.exp: Allow ARM targets without floating point. * gdb.base/step-test.exp: Allow callee@plt when stepping in.
Diffstat (limited to 'gdb/testsuite/gdb.base/float.exp')
-rw-r--r--gdb/testsuite/gdb.base/float.exp9
1 files changed, 8 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/float.exp b/gdb/testsuite/gdb.base/float.exp
index e0f0d9ffabc..e0308eb095a 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 {