From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29640 invoked by alias); 18 Jul 2013 16:50:20 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 29631 invoked by uid 89); 18 Jul 2013 16:50:20 -0000 X-Spam-SWARE-Status: No, score=-5.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1 Received: from Unknown (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 18 Jul 2013 16:50:20 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r6IGoA54020879 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 18 Jul 2013 12:50:10 -0400 Received: from barimba (ovpn-113-128.phx2.redhat.com [10.3.113.128]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r6IGo77w009939 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 18 Jul 2013 12:50:09 -0400 From: Tom Tromey To: Sergio Durigan Junior Cc: GDB Patches , Eli Zaretskii , Doug Evans , Pedro Alves Subject: Re: [PATCH v2] Add convenience variable $_exitsignal References: Date: Thu, 18 Jul 2013 16:50:00 -0000 In-Reply-To: (Sergio Durigan Junior's message of "Tue, 18 Jun 2013 15:46:48 -0300") Message-ID: <877ggnbyo0.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2013-07/txt/msg00457.txt.bz2 >>>>> "Sergio" == Sergio Durigan Junior writes: Sergio> +#ifdef GENSEGV Sergio> + /* Generating a SIGSEGV. */ Sergio> + *p = 1; How about just calling raise? Other tests do that. Tom