From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21134 invoked by alias); 12 Sep 2014 13:00:57 -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 21118 invoked by uid 89); 12 Sep 2014 13:00:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00 autolearn=no version=3.3.2 X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 12 Sep 2014 13:00:55 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 530E0116455; Fri, 12 Sep 2014 09:00:53 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id hLhXgcZJGWmC; Fri, 12 Sep 2014 09:00:53 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 1780B116454; Fri, 12 Sep 2014 09:00:53 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id E812440E17; Fri, 12 Sep 2014 06:00:51 -0700 (PDT) Date: Fri, 12 Sep 2014 13:00:00 -0000 From: Joel Brobecker To: Pedro Alves Cc: Edjunior Barbosa Machado , gdb-patches@sourceware.org, Ulrich Weigand , Sergio Durigan Junior Subject: Re: [PATCH] [PR tdep/17379] Fix internal-error when stack pointer is invalid Message-ID: <20140912130051.GA4871@adacore.com> References: <1410490007-19756-1-git-send-email-emachado@linux.vnet.ibm.com> <5412C3F0.9000703@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5412C3F0.9000703@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2014-09/txt/msg00401.txt.bz2 > set test "run until SIGSEGV" > gdb_test_multiple "" $test { > -re "Program received signal SIGSEGV.*$gdb_prompt $" { > pass $test > } > } Taking this one step further, wouldn't a simpler gdb_test also work in this case? -- Joel