summaryrefslogtreecommitdiff
path: root/syscall.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2015-09-15 21:51:15 +0000
committerDmitry V. Levin <ldv@altlinux.org>2015-09-16 00:14:55 +0000
commite2fb0bb2cfdf3a8c9374dd9dea5848f212fbfec3 (patch)
treebf074bb0ac8b6151588bd187e47d62c934ea6ab3 /syscall.c
parentb172a94d0263f163d33e0f2a0395267719916576 (diff)
downloadstrace-e2fb0bb2cfdf3a8c9374dd9dea5848f212fbfec3.tar.gz
Simplify use of mpers printers
* native_defs.h: New file. * syscall.c: Include it. * mpers_type.h [!IN_MPERS] (MPERS_DEFS): Change to "native_defs.h". * defs.h (MPERS_PRINTER_NAME): Remove. [SUPPORTED_PERSONALITIES > 1] (MPERS_PRINTER_NAME, printers): Move ... * Makefile.am (printers.h): ... here. Add macro definitions for mpers printers. (m%_defs.h): Add redefinition of MPERS_PRINTER_NAME and inclusion of "$(mpers_PREFIX)printer_decls.h". (strace_SOURCES): Add native_defs.h. * README-mpers: Update instructions for using mpers printers. * ipc_msg.c (tprint_msgsnd, tprint_msgrcv): Call tprint_msgbuf directly. * mq.c (sys_mq_open, mq_getsetattr): Call printmqattr directly. * process.c (sys_ptrace): Call printsiginfo_at directly. * signal.c (print_sigqueueinfo, sys_rt_sigtimedwait): Likewise. * resource.c (sys_getrusage): Call printrusage directly. * utimes.c (sys_utimensat): Call print_timespec_utime_pair directly. (sys_utimes, sys_futimesat): Call print_timeval_pair directly. * wait.c (printwaitn): Call printrusage directly. (sys_waitid): Call printrusage and printsiginfo_at directly.
Diffstat (limited to 'syscall.c')
-rw-r--r--syscall.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/syscall.c b/syscall.c
index 00060c9b4..b59388b36 100644
--- a/syscall.c
+++ b/syscall.c
@@ -32,6 +32,7 @@
*/
#include "defs.h"
+#include "native_defs.h"
#include <sys/param.h>
/* for struct iovec */