+2010-07-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
+
+ * ppc-linux-nat.c (store_vsx_register): Use PTRACE_GETVSXREGS to get
+ VSX registers contents.
+
2010-07-26 Jerome Guitton <guitton@adacore.com>
* dwarf2read.c (add_partial_symbol): Do not add a global variable if
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
int vsxregsize = register_size (gdbarch, tdep->ppc_vsr0_upper_regnum);
- ret = ptrace (PTRACE_SETVSXREGS, tid, 0, ®s);
+ ret = ptrace (PTRACE_GETVSXREGS, tid, 0, ®s);
if (ret < 0)
{
if (errno == EIO)