commit | 82ae5b9e1b270d0d80f925bbcf2df85312d675b7 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Fri Feb 13 23:22:56 2015 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Sat Feb 14 00:11:32 2015 +0000 |
tree | c63fc281540dbd61d53c18768b03aa1c1de82489 | |
parent | ebea3426bbef62341c4725fdf3fe28ae3c881c6e [diff] |
arm, i386: switch back to use PTRACE_GETREGS PTRACE_GETREGSET and PTRACE_GETREGS methods are equally good on arm and i386 architectures, but PTRACE_GETREGSET with fallback to PTRACE_GETREGS is a bit more costly, so choose the method that costs less. This partially reverts commit v4.7-149-gfaa177e. * syscall.c [ARM, I386] (ARCH_REGS_FOR_GETREGSET): Remove. (get_regset) [ARM || I386]: Remove. (get_regs) [ARM || I386]: Use PTRACE_GETREGS unconditionally.