gdb/testsuite: Add support for LoongArch in gdb.base/float.exp
authorHui Li <lihui@loongson.cn>
Sat, 4 Mar 2023 00:45:28 +0000 (08:45 +0800)
committerTiezhu Yang <yangtiezhu@loongson.cn>
Thu, 16 Mar 2023 14:59:34 +0000 (22:59 +0800)
commit74975df62cf0c02cb8651b64ca5c36a131b307b3
treec1ad6edbaebc45e2fec96688303ff44d26ed78f0
parentb7571e1e6fed2ee52143797e17fcca487e894b92
gdb/testsuite: Add support for LoongArch in gdb.base/float.exp

The test results on LoongArch as follows:

Without this patch:

```
$ make check-gdb TESTS="gdb.base/float.exp"
=== gdb Summary ===

 # of expected passes 2
 # of unexpected failures 1

```
With this patch:

```
$ make check-gdb TESTS="gdb.base/float.exp"
=== gdb Summary ===

 # of expected passes 3

```

Signed-off-by: Hui Li <lihui@loongson.cn>
Reviewed-By: Tom Tromey <tom@tromey.com>
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
gdb/testsuite/gdb.base/float.exp