This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2] Add convenience variable $_exitsignal
- From: Tom Tromey <tromey at redhat dot com>
- To: Sergio Durigan Junior <sergiodj at redhat dot com>
- Cc: GDB Patches <gdb-patches at sourceware dot org>, Eli Zaretskii <eliz at gnu dot org>, Doug Evans <dje at google dot com>, Pedro Alves <palves at redhat dot com>
- Date: Thu, 18 Jul 2013 10:50:07 -0600
- Subject: Re: [PATCH v2] Add convenience variable $_exitsignal
- References: <m3ehbzqmsn dot fsf at redhat dot com>
>>>>> "Sergio" == Sergio Durigan Junior <sergiodj@redhat.com> writes:
Sergio> +#ifdef GENSEGV
Sergio> + /* Generating a SIGSEGV. */
Sergio> + *p = 1;
How about just calling raise?
Other tests do that.
Tom