gdb/
authorThiago Jung Bauermann <bauerman@br.ibm.com>
Tue, 15 Feb 2011 13:35:23 +0000 (13:35 +0000)
committerThiago Jung Bauermann <bauerman@br.ibm.com>
Tue, 15 Feb 2011 13:35:23 +0000 (13:35 +0000)
commitd9492458a11ca366f79a4c8fb03e312bfe0b047e
treee16cd6352e047f8b795d5ad30eddc569660c2453
parent6fa052f0483dfa6a9f57e530983aef1349a670a3
gdb/
* rs6000-tdep.c (IS_EFP_PSEUDOREG): Use correct constant for
the EFP register set size.
(efpr_pseudo_register_read): Use regcache_raw_read_part to read
data from the VMX register.
(efpr_pseudo_register_write): Use regcache_raw_write_part to read
and write data from/to the VMX register.

gdb/testsuite/
* gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
"vector_register2_vr" test strings.  Test the extended floating
point registers (F32~F63).
* lib/gdb.exp (skip_vsx_tests): Update compile flags for the
IBM XL C compiler.  Make the test program use a register provided
by the compiler for the lxvd2x instruction.
gdb/ChangeLog
gdb/rs6000-tdep.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/vsx-regs.exp
gdb/testsuite/lib/gdb.exp