[PATCH v3 6/8] Introduce thread-safe way to handle SIGSEGV

Tom Tromey tom@tromey.com
Sun Jun 9 15:43:00 GMT 2019


>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

>> +      signal (sig, handle_sigsegv);

Pedro> Doesn't this lose the SA_ONSTACK?

Yeah.  I'm glad you caught this since it points out that we have to call
sigaltstack per-thread.

Tom



More information about the Gdb-patches mailing list