strace/linux/tile
Dmitry V. Levin a7c4ee41ff Mpersify parsers of struct stat and struct stat64
On many architectures that support multiple personalities,
struct stat differ between personalities.  While old code could handle
these differences, there are some architectures, e.g. sparc64, that also
have different struct stat64.  Rewrite parsers using mpers functionality
to fix these issues.

* fetch_struct_stat.c: New file.
* fetch_struct_stat64.c: Likewise.
* print_struct_stat.c: Likewise.
* oldstat.c: Likewise.
* stat.c: Likewise.
* stat.h: Likewise.
* stat64.c: Likewise.
* file.c: Remove.
* printstat.h: Likewise.
* linux/aarch64/stat32.h: Likewise.
* linux/powerpc64/stat32.h: Likewise.
* linux/riscv/stat32.h: Likewise.
* linux/sparc64/stat32.h: Likewise.
* linux/tile/stat32.h: Likewise.
* linux/x32/stat32.h: Likewise.
* linux/x86_64/stat32.h: Likewise.
* Makefile.am (strace_SOURCES): Add fetch_struct_stat.c,
fetch_struct_stat64.c, print_struct_stat.c, oldstat.c, stat.c, stat.h,
and stat64.c.  Remove file.c, printstat.h, linux/aarch64/stat32.h,
linux/powerpc64/stat32.h, linux/riscv/stat32.h, linux/sparc64/stat32.h,
linux/tile/stat32.h, linux/x32/stat32.h, and linux/x86_64/stat32.h.
* configure.ac (AC_CHECK_MEMBERS): Add struct stat64.st_mtime_nsec.
* defs.h (struct strace_stat): New declaration.
(print_struct_stat): New prototype.
* linux/dummy.h (sys_fstatat64): Remove.
2016-08-24 15:32:10 +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_sigreturn.c cleanup: make arch_sigreturn.c files more readable 2015-11-28 02:58:29 +00:00
errnoent1.h Cleanup auxiliary errnoent files 2015-02-23 03:56:06 +00:00
get_error.c cleanup: make get_error.c files more readable 2015-11-29 00:06:45 +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 cleanup: make get_syscall_args.c files more readable 2015-11-30 00:57:14 +00:00
ioctls_arch0.h ioctl: take all 32 bits of ioctl commands into account 2015-01-22 00:27:38 +00:00
ioctls_arch1.h ioctl: take all 32 bits of ioctl commands into account 2015-01-22 00:27:38 +00:00
ioctls_inc0.h ioctl: take all 32 bits of ioctl commands into account 2015-01-22 00:27:38 +00:00
ioctls_inc1.h ioctl: take all 32 bits of ioctl commands into account 2015-01-22 00:27:38 +00:00
signalent1.h Cleanup auxiliary signalent files 2015-02-23 20:55:11 +00:00
syscallent1.h Remove initialization of big holes in syscallent.h files 2016-04-29 21:51:00 +00:00
syscallent.h Remove initialization of big holes in syscallent.h files 2016-04-29 21:51:00 +00:00
userent.h process.c: split struct_user_offsets into architecture-specific include files 2014-12-11 19:25:02 +00:00