]> granicus.if.org Git - strace/commit
powerpc: Use PTRACE_GETREGS to fetch all registers
authorAnton Blanchard <anton@samba.org>
Wed, 26 Jun 2013 13:53:33 +0000 (15:53 +0200)
committerDenys Vlasenko <dvlasenk@redhat.com>
Wed, 26 Jun 2013 13:56:53 +0000 (15:56 +0200)
commitce6e33be1dbfc16620ea7991a414e879ef84fe22
tree0a00b610e98bc7caf07a61c4986ea36e4385f841
parent711b17c44b50b6de7cfb9a3f2bd9d70dfdcacc8c
powerpc: Use PTRACE_GETREGS to fetch all registers

* defs.h: declare ppc_regs and get_regs_error.
* signal.c (sys_sigreturn): Use ppc_regs instead of upeek.
* syscall.c: define ppc_regs.
(printcall): Use ppc_regs instead of upeek.
(get_scno): Replace multiple upeek calls with one PTRACE_GETREGS call.
(get_syscall_result): Likewise.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
defs.h
signal.c
syscall.c