diff options
author | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2010-07-26 17:06:26 +0000 |
---|---|---|
committer | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2010-07-26 17:06:26 +0000 |
commit | 9fe70b4fe2ead9bc8782751ae9fb2b808bcc8f58 (patch) | |
tree | 33c272ab7cb9db275018fd8f2215c2729312e078 /gdb/ppc-linux-nat.c | |
parent | a99aee835b2314d62570ebd06ee862f50966f89c (diff) | |
download | fsf-binutils-gdb-9fe70b4fe2ead9bc8782751ae9fb2b808bcc8f58.zip fsf-binutils-gdb-9fe70b4fe2ead9bc8782751ae9fb2b808bcc8f58.tar.gz fsf-binutils-gdb-9fe70b4fe2ead9bc8782751ae9fb2b808bcc8f58.tar.bz2 |
* 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 e8d96f6..18ddee7 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) |