| commit | 143bcc1d59f174b6c6743bd4ca8f99415ed1aba2 | [log] [tgz] |
|---|---|---|
| author | Richard Henderson <richard.henderson@linaro.org> | Mon Apr 08 14:33:35 2024 -1000 |
| committer | Richard Henderson <richard.henderson@linaro.org> | Tue Apr 09 07:47:11 2024 -1000 |
| tree | 880680186cf7c312ef25b2d181de089c541d69b7 | |
| parent | dcd092a0636ec36e69e42a3dbbe447d97cb0d113 [diff] |
linux-user: Preserve unswapped siginfo_t for strace
Passing the tswapped structure to strace means that
our internal si_type is also gone, which then aborts
in print_siginfo.
Fixes: 4d6d8a05a0a ("linux-user: Move tswap_siginfo out of target code")
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>