This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v3 6/8] Introduce thread-safe way to handle SIGSEGV
- From: Tom Tromey <tom at tromey dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: Tom Tromey <tom at tromey dot com>, gdb-patches at sourceware dot org
- Date: Sun, 09 Jun 2019 09:43:06 -0600
- Subject: Re: [PATCH v3 6/8] Introduce thread-safe way to handle SIGSEGV
- References: <20190529212916.23721-1-tom@tromey.com> <20190529212916.23721-7-tom@tromey.com> <bcefd340-6da8-27b5-65fc-d4d46b2174bb@redhat.com>
>>>>> "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