From: Laurent Vivier <laurent@vivier.eu>
To: Helge Deller <deller@gmx.de>
Cc: qemu-devel@nongnu.org
Subject: Re: [PATCH v2] linux-user: Show 4th argument of rt_sigprocmask() in strace
Date: Tue, 31 Jan 2023 12:57:24 +0100 [thread overview]
Message-ID: <3ab3cf3f-a27e-2134-6373-da33cfc9c995@vivier.eu> (raw)
In-Reply-To: <Y9hCxdvdM1o+/iHC@p100>
Le 30/01/2023 à 23:20, Helge Deller a écrit :
> Add output for the missing 4th parameter (size_t sigsetsize).
>
> Signed-off-by: Helge Deller <deller@gmx.de>
> ---
> v2: Use %u instead of %d, as suggested by Laurent Vivier
>
>
> diff --git a/linux-user/strace.c b/linux-user/strace.c
> index 3157e4b420..f0f6ada8cb 100644
> --- a/linux-user/strace.c
> +++ b/linux-user/strace.c
> @@ -3146,7 +3146,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
>
Applied to my linux-user-for-8.0 branch.
Thanks,
Laurent
prev parent reply other threads:[~2023-01-31 11:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-30 22:20 [PATCH v2] linux-user: Show 4th argument of rt_sigprocmask() in strace Helge Deller
2023-01-30 22:24 ` Richard Henderson
2023-01-31 11:52 ` Laurent Vivier
2023-01-31 11:57 ` Laurent Vivier [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3ab3cf3f-a27e-2134-6373-da33cfc9c995@vivier.eu \
--to=laurent@vivier.eu \
--cc=deller@gmx.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).