[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] linux-user/strace: Add missing signal strings
From: |
Richard Henderson |
Subject: |
Re: [PATCH] linux-user/strace: Add missing signal strings |
Date: |
Tue, 19 Nov 2019 20:56:06 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 11/19/19 7:51 PM, Helge Deller wrote:
> Add the textual representations of some missing target signals.
>
> Signed-off-by: Helge Deller <address@hidden>
>
> diff --git a/linux-user/strace.c b/linux-user/strace.c
> index 3d4d684450..18b57a9ef9 100644
> --- a/linux-user/strace.c
> +++ b/linux-user/strace.c
> @@ -146,6 +146,22 @@ print_signal(abi_ulong arg, int last)
> case TARGET_SIGSTOP: signal_name = "SIGSTOP"; break;
> case TARGET_SIGTTIN: signal_name = "SIGTTIN"; break;
> case TARGET_SIGTTOU: signal_name = "SIGTTOU"; break;
> + case TARGET_SIGIO: signal_name = "SIGIO"; break;
> + case TARGET_SIGTRAP: signal_name = "SIGTRAP"; break;
> + /* case TARGET_SIGIOT: signal_name = "SIGIOT"; break; */
Unused commented code.
> +#ifdef SIGSTKFLT
> + case TARGET_SIGSTKFLT: signal_name = "SIGSTKFLT"; break;
> +#endif
Wrong ifdef.
r~