This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] AArch64: gdb.base/float.exp: Fix `info float' test


> 2014-01-14  Maciej W. Rozycki  <macro@codesourcery.com>
> 
> 	gdb/testsuite/
> 	* gdb.base/float.exp: Handle "aarch64*-*-*" targets.

FWIW, no problem with the patch. But I don't know AArch64.
Does it always have an FPU? Otherwise, we perhaps should look at
what is being done for arm-*?

> 
>   Maciej
> 
> gdb-test-aarch64-info-float.diff
> Index: gdb-fsf-trunk-quilt/gdb/testsuite/gdb.base/float.exp
> ===================================================================
> --- gdb-fsf-trunk-quilt.orig/gdb/testsuite/gdb.base/float.exp	2014-01-14 22:12:55.798957511 +0000
> +++ gdb-fsf-trunk-quilt/gdb/testsuite/gdb.base/float.exp	2014-01-14 22:38:14.458923719 +0000
> @@ -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" {

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]