]> granicus.if.org Git - strace/commit
s390, s390x: use PTRACE_GETREGSET to fetch registers
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 5 Mar 2015 22:10:15 +0000 (22:10 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 5 Mar 2015 22:10:15 +0000 (22:10 +0000)
commit20eca8a1c5913043fcf4a67ff6cdc6293985831f
tree556b5a136d7610a1735183168bcc9e53ffd7eaf9
parent07d70f03eec944a95053d90b2e352ce59603a94d
s390, s390x: use PTRACE_GETREGSET to fetch registers

* linux/s390/arch_regs.h: New file.
* linux/s390x/arch_regs.h: New file.
* Makefile.am (EXTRA_DIST): Add them.
* signal.c (sys_sigreturn) [S390 || S390X]: Use s390_frame_ptr.
* syscall.c [S390 || S390X] (s390_regset, s390_frame_ptr): New variable.
[S390 || S390X] (ARCH_REGS_FOR_GETREGSET): New macro.
(print_pc) [S390 || S390X]: Use s390_regset.
(get_scno) [S390 || S390X]: Likewise.
(get_syscall_args) [S390 || S390X]: Likewise.
(get_error) [S390 || S390X]: Likewise.
(get_syscall_result) [S390 || S390X]: Remove.
Makefile.am
NEWS
linux/s390/arch_regs.h [new file with mode: 0644]
linux/s390x/arch_regs.h [new file with mode: 0644]
signal.c
syscall.c