diff options
author | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2010-07-26 17:06:24 +0000 |
---|---|---|
committer | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2010-07-26 17:06:24 +0000 |
commit | 0237a5b0c0050cae462ce98c89b64cd92a95d75e (patch) | |
tree | eec11d1bf385cbc9513c9fc76c81fea0937841f3 /gdb/ppc-linux-nat.c | |
parent | b85b0aa3aeb0947ebeb409ec87f95dbd0a640f79 (diff) | |
download | gdb-0237a5b0c0050cae462ce98c89b64cd92a95d75e.tar.gz |
* ppc-linux-nat.c (store_vsx_register): Use PTRACE_GETVSXREGS to get
VSX registers contents.
Diffstat (limited to 'gdb/ppc-linux-nat.c')
-rw-r--r-- | gdb/ppc-linux-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ppc-linux-nat.c b/gdb/ppc-linux-nat.c index e8d96f617f0..18ddee79fcf 100644 --- a/gdb/ppc-linux-nat.c +++ b/gdb/ppc-linux-nat.c @@ -877,7 +877,7 @@ store_vsx_register (const struct regcache *regcache, int tid, int regno) 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) |