diff options
author | Pedro Alves <palves@redhat.com> | 2012-03-29 21:27:28 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-03-29 21:27:28 +0000 |
commit | 689cc2ae8dfc7931d24eb26fb518a31e8624fae4 (patch) | |
tree | ba8c612e4dfcfbbd36396416d4f44409a4d069a6 /gdb/gdbserver | |
parent | 6c88661cd473bf1e78bb996e8bcf0a00c7499097 (diff) | |
download | gdb-689cc2ae8dfc7931d24eb26fb518a31e8624fae4.zip gdb-689cc2ae8dfc7931d24eb26fb518a31e8624fae4.tar.gz gdb-689cc2ae8dfc7931d24eb26fb518a31e8624fae4.tar.bz2 |
2012-03-29 Pedro Alves <palves@redhat.com>
* linux-low.c (regsets_store_inferior_registers) [__sparc__]:
Correct ptrace arguments.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbserver/linux-low.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 8627aa9..63df5b0 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -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. diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c index aea8d36..ab87570 100644 --- a/gdb/gdbserver/linux-low.c +++ b/gdb/gdbserver/linux-low.c @@ -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) |