|
From: | Richard Henderson |
Subject: | Re: [PATCH 01/13] linux-user: Add missing signals in strace output |
Date: | Fri, 26 Aug 2022 08:14:48 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 |
On 8/26/22 07:18, Helge Deller wrote:
+ if (arg < _NSIG) + signal_name = target_signal_to_host_signal_table[arg];
Oh, and _NSIG is a host thing. Leave the array as [] and then bound the lookup with ARRAY_SIZE(target_signal_name). Also, missing {}.
r~
[Prev in Thread] | Current Thread | [Next in Thread] |