strace/linux
Steve McIntyre 890a5cad23 Add support for tracing 32-bit ARM EABI binaries on AArch64
* defs.h [AARCH64]: Copy in the definition of arm_pt_regs and the
accessor macros, so it's possible to build on AArch64 without
ARM system headers.  Set SUPPORTED_PERSONALITIES to 2.
Define PERSONALITY0_WORDSIZE and PERSONALITY1_WORDSIZE.
Set DEFAULT_PERSONALITY to 1.
* linux/aarch64/errnoent1.h: New file, includes generic errnoent.h.
* linux/aarch64/ioctlent1.h: New file, includes generic ioctlent.h.
* linux/aarch64/signalent1.h: New file, includes generic signalent.h.
* linux/aarch64/syscallent1.h: Rename from linux/aarch64/syscallent.h.
* linux/aarch64/syscallent.h: New file, includes arm/syscallent.h.
* syscall.c [AARCH64]: Define aarch64_regs.
(update_personality) [AARCH64]: Add debug output.
(get_scno) [AARCH64]: Determine if we're in ARM or AArch64 mode by
checking the size of the returned uio structure from PTRACE_GETREGSET
and interpret the structure accordingly.
(get_syscall_result): Likewise.
(get_syscall_args): Merge the AArch64 and ARM sections so that on
AArch64 we can fall back to supporting the ARM personality.
(get_error): Likewise.

Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
2012-11-12 15:19:58 +00:00
..
aarch64 Add support for tracing 32-bit ARM EABI binaries on AArch64 2012-11-12 15:19:58 +00:00
alpha Enhance quotactl decoding 2012-10-26 23:43:13 +00:00
arm Enhance quotactl decoding 2012-10-26 23:43:13 +00:00
avr32 Enhance quotactl decoding 2012-10-26 23:43:13 +00:00
bfin Move asm-generic ioctl definitions to linux/ioctlent.h.in 2012-11-12 14:05:53 +00:00
hppa Enhance quotactl decoding 2012-10-26 23:43:13 +00:00
i386 Move asm-generic ioctl definitions to linux/ioctlent.h.in 2012-11-12 14:05:53 +00:00
ia64 Enhance quotactl decoding 2012-10-26 23:43:13 +00:00
m68k Enhance quotactl decoding 2012-10-26 23:43:13 +00:00
microblaze Enhance quotactl decoding 2012-10-26 23:43:13 +00:00
mips Enhance quotactl decoding 2012-10-26 23:43:13 +00:00
powerpc Move asm-generic ioctl definitions to linux/ioctlent.h.in 2012-11-12 14:05:53 +00:00
s390 Move asm-generic ioctl definitions to linux/ioctlent.h.in 2012-11-12 14:05:53 +00:00
s390x Enhance quotactl decoding 2012-10-26 23:43:13 +00:00
sh Enhance quotactl decoding 2012-10-26 23:43:13 +00:00
sh64 Enhance quotactl decoding 2012-10-26 23:43:13 +00:00
sparc Move asm-generic ioctl definitions to linux/ioctlent.h.in 2012-11-12 14:05:53 +00:00
sparc64 Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
tile Enhance quotactl decoding 2012-10-26 23:43:13 +00:00
x32 Enhance quotactl decoding 2012-10-26 23:43:13 +00:00
x86_64 Enhance quotactl decoding 2012-10-26 23:43:13 +00:00
dummy_check.sh Remove stray sys_swapon() declaration 2012-02-28 16:39:44 +01:00
dummy.h Implement prlimit64 decoding, rewrite [gs]etrlimit decoding 2012-03-16 19:05:21 +00:00
errnoent.h linux: add new errno values for EPROBE_DEFER and EOPENSTALE 2012-10-26 22:55:52 +00:00
ioctlent-filter.awk Filter out redundant "*32" ioctl entries 2012-10-27 01:13:53 +00:00
ioctlent.h.in Move asm-generic ioctl definitions to linux/ioctlent.h.in 2012-11-12 14:05:53 +00:00
ioctlent.sh Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
ioctlsort.c Compress blank lines 2012-02-25 15:41:21 +00:00
mtd-abi.h Decode mtd ioctls 2012-04-06 14:39:15 +00:00
signalent.h Regenerated 2001-08-03 21:51:48 +00:00
syscall.h x32: add ia32 support 2012-04-18 15:02:40 +00:00