aboutsummaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-01-30 23:20:53 +0100
committerLaurent Vivier <laurent@vivier.eu>2023-02-03 22:55:12 +0100
commit7020e2fd9e1d23b16c8ef86a217a865f5ec66cbe (patch)
treef596b17378add60f90e42adc1e255625338940aa /linux-user
parent4530deb1fe81152ae2384a56eb7edb5467f894fa (diff)
downloadqemu-7020e2fd9e1d23b16c8ef86a217a865f5ec66cbe.zip
qemu-7020e2fd9e1d23b16c8ef86a217a865f5ec66cbe.tar.gz
qemu-7020e2fd9e1d23b16c8ef86a217a865f5ec66cbe.tar.bz2
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 <deller@gmx.de> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <Y9hCxdvdM1o+/iHC@p100> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/strace.c3
1 files changed, 2 insertions, 1 deletions
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