From 7020e2fd9e1d23b16c8ef86a217a865f5ec66cbe Mon Sep 17 00:00:00 2001 From: Helge Deller Date: Mon, 30 Jan 2023 23:20:53 +0100 Subject: linux-user: Show 4th argument of rt_sigprocmask() in strace Add output for the missing 4th parameter (size_t sigsetsize). Signed-off-by: Helge Deller Reviewed-by: Richard Henderson Reviewed-by: Laurent Vivier Message-Id: Signed-off-by: Laurent Vivier --- linux-user/strace.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linux-user') diff --git a/linux-user/strace.c b/linux-user/strace.c index f38227b..3400106 100644 --- a/linux-user/strace.c +++ b/linux-user/strace.c @@ -3224,7 +3224,8 @@ print_rt_sigprocmask(CPUArchState *cpu_env, const struct syscallname *name, } qemu_log("%s,", how); print_pointer(arg1, 0); - print_pointer(arg2, 1); + print_pointer(arg2, 0); + print_raw_param("%u", arg3, 1); print_syscall_epilogue(name); } #endif -- cgit v1.1