strace/linux/powerpc
Eugene Syromyatnikov 7eac1da9be Introduce print_big_u64_addr
This is needed at least for bpf, btrfs, and sg_io, as 32-bit tracer
cannot figure out whether the kernel is 32-bit or 64-bit,
and its behaviour differs when it handles u64 as a pointer.

* linux/arch_defs_.h [!CAN_ARCH_BE_COMPAT_ON_64BIT_KERNEL]
(CAN_ARCH_BE_COMPAT_ON_64BIT_KERNEL): New definition, default to 0.
* linux/arm/arch_defs_.h (CAN_ARCH_BE_COMPAT_ON_64BIT_KERNEL):
Define to 1.
* linux/i386/arch_defs_.h (CAN_ARCH_BE_COMPAT_ON_64BIT_KERNEL):
Likewise.
* linux/mips/arch_defs_.h (CAN_ARCH_BE_COMPAT_ON_64BIT_KERNEL):
Likewise.
* linux/powerpc/arch_defs_.h (CAN_ARCH_BE_COMPAT_ON_64BIT_KERNEL):
Likewise.
* linux/riscv/arch_defs_.h (CAN_ARCH_BE_COMPAT_ON_64BIT_KERNEL):
Likewise.
* linux/s390/arch_defs_.h (CAN_ARCH_BE_COMPAT_ON_64BIT_KERNEL):
Likewise.
* linux/sparc/arch_defs_.h (CAN_ARCH_BE_COMPAT_ON_64BIT_KERNEL):
Likewise.
* linux/tile/arch_defs_.h (CAN_ARCH_BE_COMPAT_ON_64BIT_KERNEL):
Likewise.
* defs.h (print_big_u64_addr): New function.

Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
2018-04-04 12:24:19 +00:00
..
arch_defs_.h Introduce print_big_u64_addr 2018-04-04 12:24:19 +00:00
arch_regs.c Cleanup print_pc 2015-11-30 03:30:51 +00:00
arch_regs.h Move regs-related macros and declarations from defs.h to regs.h 2015-02-13 18:28:08 +00:00
arch_rt_sigframe.c Introduce get_rt_sigframe_addr function 2017-03-13 15:22:50 +00:00
arch_sigreturn.c ppc64: fix sigreturn parser for ppc personality 2017-09-20 00:15:02 +00:00
errnoent.h Change errnoent.h files to use designated initializers 2015-02-23 13:29:17 +00:00
get_error.c alpha, ia64, mips, nios2, powerpc, sparc: always check for syscall error 2015-12-27 01:02:53 +00:00
get_scno.c cleanup: make get_scno.c files more readable 2015-11-30 01:46:52 +00:00
get_syscall_args.c ppc64: truncate syscall args for 32-bit personality tracees 2017-09-20 00:15:02 +00:00
getregs_old.c Change the first argument of upeek from pid to tcp 2018-01-04 00:37:27 +01:00
getregs_old.h syscall.c: refactor getregs_old fallback in get_regs 2016-11-13 11:16:15 +00:00
ioctls_arch0.h Update ioctl entries from linux v4.16 2018-04-03 18:11:25 +00:00
ioctls_inc0.h ioctl: take all 32 bits of ioctl commands into account 2015-01-22 00:27:38 +00:00
raw_syscall.h Introduce raw syscall invocation wrappers 2018-03-23 13:43:13 +00:00
set_error.c Change the first argument of upoke from pid to tcp 2018-01-04 00:16:21 +01:00
set_scno.c Change the first argument of upoke from pid to tcp 2018-01-04 00:16:21 +01:00
syscallent.h Update copyright headers 2018-02-13 22:00:00 +00:00
userent.h process.c: split struct_user_offsets into architecture-specific include files 2014-12-11 19:25:02 +00:00