diff options
author | Anton Blanchard <anton@samba.org> | 2013-06-26 14:42:37 +1000 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2013-06-26 15:57:29 +0200 |
commit | 14d51a6423aa47378518a71e8345a3d1944d97e7 (patch) | |
tree | 10013bf9e4ecdf4be63327de7b00ecdc657400e3 /.mailmap | |
parent | ce6e33be1dbfc16620ea7991a414e879ef84fe22 (diff) | |
download | strace-14d51a6423aa47378518a71e8345a3d1944d97e7.tar.gz strace-14d51a6423aa47378518a71e8345a3d1944d97e7.tar.bz2 strace-14d51a6423aa47378518a71e8345a3d1944d97e7.tar.xz |
powerpc: Provide a fallback for old kernels without PTRACE_GETREGS
PTRACE_GETREGS was added to the ppc kernel in 2.6.23. In order to
provide backward compatibility for very old kernels, add a manual
fallback.
* syscall.c (powerpc_getreg, powerpc_getregs_old): New functions.
(get_regs): Call powerpc_getregs_old if PTRACE_GETREGS is not supported.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions