AArch64: gdb.base/float.exp: Fix `info float' test
authorMaciej W. Rozycki <macro@codesourcery.com>
Wed, 15 Jan 2014 22:17:53 +0000 (22:17 +0000)
committerMaciej W. Rozycki <macro@codesourcery.com>
Wed, 15 Jan 2014 22:17:53 +0000 (22:17 +0000)
* gdb.base/float.exp: Handle "aarch64*-*-*" targets.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/float.exp

index 473ba9b..df8678e 100644 (file)
@@ -1,3 +1,7 @@
+2014-01-15  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
+
 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
 
        * lib/gdb.exp (supports_process_record): Return true for
index 87aa07f..5da9630 100644 (file)
@@ -36,7 +36,9 @@ if ![runto_main] then {
 
 # Test "info float".
 
-if { [istarget "alpha*-*-*"] } then {
+if { [istarget "aarch64*-*-*"] } then {
+    gdb_test "info float" "d0.*d1.*d31.*s0.*s1.*s31.*" "info float"
+} elseif { [istarget "alpha*-*-*"] } then {
     gdb_test "info float" "f0.*" "info float"
 } elseif { [istarget "arm*-*-*"] } then {
     gdb_test_multiple "info float" "info float" {