On 8/29/23 07:35, Peter Maydell wrote:
+/* See arch/arm64/mm/fault.c, set_thread_esr. */
+if (sig == TARGET_SIGSEGV || sig == TARGET_SIGBUS) {
+return true;
+}
It's possible to get here without env->exception.syndrome
being set correctly, I think, if we take a host
SIGSEGV o
On Tue, 22 Aug 2023 at 18:03, Richard Henderson
wrote:
>
> These are all synchronous exceptions for which the kernel
> passes on ESR to the user signal handler.
>
> Signed-off-by: Richard Henderson
> @@ -191,6 +199,14 @@ static void target_setup_end_record(struct
> target_aarch64_ctx *end)
>
These are all synchronous exceptions for which the kernel
passes on ESR to the user signal handler.
Signed-off-by: Richard Henderson
---
linux-user/aarch64/signal.c | 48 -
1 file changed, 47 insertions(+), 1 deletion(-)
diff --git a/linux-user/aarch64/signal