[PATCH 2/2] Add AArch64 support to strace

Steve McIntyre steve.mcintyre at linaro.org
Wed Oct 24 16:59:45 UTC 2012


On Wed, Oct 24, 2012 at 02:39:47PM +0400, Dmitry V. Levin wrote:
>On Tue, Oct 23, 2012 at 05:38:22PM +0100, Steve McIntyre wrote:
>[...]
>> * syscall.c: Support AArch64. Uses new PTRACE_GETREGSET ptrace request
>> instead of PTRACE_GETREGS, so also include sys/uio.h and elf.h for needed
>> definitions.
>
>Could you please enlighten us what was the rationale behind this decision?
>Is there any registers you need that couldn't be easily obtained using
>PTRACE_GETREGS?

Hi Dmitry,

The old PTRACE_GETREGS request only works for 32-bit mode; it seems
the kernel folks are preferring a new ptrace interface now.

Cheers,
-- 
Steve McIntyre                                steve.mcintyre at linaro.org
<http://www.linaro.org/> Linaro.org | Open source software for ARM SoCs





More information about the Strace-devel mailing list