diff options
author | Jim Blandy <jimb@codesourcery.com> | 2005-03-17 05:39:20 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2005-03-17 05:39:20 +0000 |
commit | 39e20a117b2f6b2fea64f73875bac3a1db8e14f2 (patch) | |
tree | db9093fbae088c3953f1f5e6f3c75c4dc4c05412 /gdb/testsuite/gdb.arch/e500-regs.exp | |
parent | 0bc2879b24508804b63b7ae70e73865ff81c7bfb (diff) | |
download | gdb-jimb-gdb_6_2-e500-branch.tar.gz |
gdb/ChangeLog:jimb-gdb_6_2-e500-branchcvs/jimb-gdb_6_2-e500-branch
2005-03-17 Jim Blandy <jimb@redhat.com>
* gdbtypes.c (build_builtin_type_vec64): Include a 'double' member
in the union, too, since these registers can hold 64-bit floating
point types.
gdb/testsuite/ChangeLog:
2005-03-17 Jim Blandy <jimb@redhat.com>
* gdb.arch/e500-regs.exp: Expect to see 'dbl' members in ev
registers.
Diffstat (limited to 'gdb/testsuite/gdb.arch/e500-regs.exp')
-rw-r--r-- | gdb/testsuite/gdb.arch/e500-regs.exp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.arch/e500-regs.exp b/gdb/testsuite/gdb.arch/e500-regs.exp index 30dae0a15f7..690e0c3933b 100644 --- a/gdb/testsuite/gdb.arch/e500-regs.exp +++ b/gdb/testsuite/gdb.arch/e500-regs.exp @@ -32,7 +32,7 @@ if $tracelevel then { set prms_id 0 set bug_id 0 -if ![istarget "powerpc-*eabispe"] then { +if ![istarget "powerpc-*"] then { verbose "Skipping e500 register tests." return } @@ -85,9 +85,9 @@ gdb_expect { # b) the register read (below) also works. if {$endianness == "big"} { -set vector_register ".uint64 = 0x100000001, v2_float = .0x0, 0x0., v2_int32 = .0x1, 0x1., v4_int16 = .0x0, 0x1, 0x0, 0x1., v8_int8 = .0x0, 0x0, 0x0, 0x1, 0x0, 0x0, 0x0, 0x1.." +set vector_register ".uint64 = 0x100000001, dbl = 0x0, v2_float = .0x0, 0x0., v2_int32 = .0x1, 0x1., v4_int16 = .0x0, 0x1, 0x0, 0x1., v8_int8 = .0x0, 0x0, 0x0, 0x1, 0x0, 0x0, 0x0, 0x1.." } else { -set vector_register ".uint64 = 0x100000001, v2_float = .0x0, 0x0., v2_int32 = .0x1, 0x1., v4_int16 = .0x1, 0x0, 0x1, 0x0., v8_int8 = .0x1, 0x0, 0x0, 0x0, 0x1, 0x0, 0x0, 0x0.." +set vector_register ".uint64 = 0x100000001, dbl = 0x0, v2_float = .0x0, 0x0., v2_int32 = .0x1, 0x1., v4_int16 = .0x1, 0x0, 0x1, 0x0., v8_int8 = .0x1, 0x0, 0x0, 0x0, 0x1, 0x0, 0x0, 0x0.." } for {set i 0} {$i < 32} {incr i 1} { @@ -110,9 +110,9 @@ for {set i 0} {$i < 32} {incr i 1} { # the way gdb works. if {$endianness == "big"} { - set decimal_vector ".uint64 = 4294967297, v2_float = .1.*e-45, 1.*e-45., v2_int32 = .1, 1., v4_int16 = .0, 1, 0, 1., v8_int8 = ..000.000.000.001.000.000.000.001.." + set decimal_vector ".uint64 = 4294967297, dbl = 0, v2_float = .1.*e-45, 1.*e-45., v2_int32 = .1, 1., v4_int16 = .0, 1, 0, 1., v8_int8 = ..000.000.000.001.000.000.000.001.." } else { - set decimal_vector ".uint64 = 4294967297, v2_float = .1.*e-45, 1.*e-45., v2_int32 = .1, 1., v4_int16 = .1, 0, 1, 0., v8_int8 = ..001.000.000.000.001.000.000.." + set decimal_vector ".uint64 = 4294967297, dbl = 0, v2_float = .1.*e-45, 1.*e-45., v2_int32 = .1, 1., v4_int16 = .1, 0, 1, 0., v8_int8 = ..001.000.000.000.001.000.000.." } for {set i 0} {$i < 32} {incr i 1} { |