mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-25 08:47:28 +00:00
* ppc-linux-nat.c (store_vsx_register): Use PTRACE_GETVSXREGS to get
VSX registers contents.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user