[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 21:17:54 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 11/19/19 9:06 PM, Helge Deller wrote:
>>> +#ifdef SIGSTKFLT
>>> + case TARGET_SIGSTKFLT: signal_name = "SIGSTKFLT"; break;
>>> +#endif
>>
>> Wrong ifdef.
>
> Same here, see in linux-user/signal.c (line 50):
> #ifdef SIGSTKFLT
> [SIGSTKFLT] = TARGET_SIGSTKFLT,
> #endif
But that one actually references SIGSTKFLT, but the case above does not.
You probably don't need the ifdef at all.
r~