[PATCH 2/2] Add AArch64 support to strace

Mike Frysinger vapier at gentoo.org
Wed Oct 24 19:09:07 UTC 2012

On Wednesday 24 October 2012 12:59:45 Steve McIntyre wrote:
> 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
> The old PTRACE_GETREGS request only works for 32-bit mode; it seems
> the kernel folks are preferring a new ptrace interface now.

hmm, i'm pretty sure it could work.  let the old syscall # route to a compat 
ptrace entry point and let the new syscall # route to the native 64bit ptrace.

whether the kernel folks want to go a different route is a different story 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20121024/2aa5f3b3/attachment.bin>

More information about the Strace-devel mailing list