]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.base/float.exp
gdb: new AndesTech NDS32 port
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.base / float.exp
index 939f07f9900a87961e93142a4fb3eb90158b561a..bc3e230357a4b412a9fce4bb6e4521f4d782867f 100644 (file)
@@ -76,6 +76,15 @@ if { [is_aarch64_target] } then {
              pass "info float (with FPU)"
          }
     }
+} elseif [istarget "nds32*-*-*"] then {
+    gdb_test_multiple "info float" "info_float" {
+        -re "fd0.*fd3.*$gdb_prompt $" {
+            pass "info float (with FPU)"
+       }
+        -re "No floating.point info available for this processor.*" {
+            pass "info float (without FPU)"
+       }
+    }
 } elseif [istarget "powerpc*-*-*"] then {
     gdb_test_multiple "info float" "info_float" {
         -re "f0.*f1.*f31.*fpscr.*$gdb_prompt $" {