mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 18:44:20 +08:00
2012-03-29 Pedro Alves <palves@redhat.com>
* linux-low.c (regsets_store_inferior_registers) [__sparc__]: Correct ptrace arguments.
This commit is contained in:
parent
6c88661cd4
commit
689cc2ae8d
@ -1,3 +1,8 @@
|
||||
2012-03-29 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* linux-low.c (regsets_store_inferior_registers) [__sparc__]:
|
||||
Correct ptrace arguments.
|
||||
|
||||
2012-03-28 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* linux-ia64-low.c (ia64_regmap): Map IA64_EC_REGNUM to PT_AR_EC.
|
||||
|
@ -4036,7 +4036,7 @@ regsets_store_inferior_registers (struct regcache *regcache)
|
||||
#ifndef __sparc__
|
||||
res = ptrace (regset->get_request, pid, nt_type, data);
|
||||
#else
|
||||
res = ptrace (regset->get_request, pid, &iov, data);
|
||||
res = ptrace (regset->get_request, pid, data, nt_type);
|
||||
#endif
|
||||
|
||||
if (res == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user