From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32640 invoked by alias); 27 Jul 2006 13:41:44 -0000 Received: (qmail 32631 invoked by uid 22791); 27 Jul 2006 13:41:43 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 27 Jul 2006 13:41:42 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1G667Q-00048o-0X; Thu, 27 Jul 2006 09:41:40 -0400 Date: Thu, 27 Jul 2006 13:41:00 -0000 From: Daniel Jacobowitz To: Joel Brobecker Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA/testsuite] check bt problem after 2 steps is gone Message-ID: <20060727134139.GB15735@nevyn.them.org> Mail-Followup-To: Joel Brobecker , gdb-patches@sources.redhat.com References: <20060428174035.GF930@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060428174035.GF930@adacore.com> User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-07/txt/msg00403.txt.bz2 On Fri, Apr 28, 2006 at 10:40:35AM -0700, Joel Brobecker wrote: > Hello, > > This is a new testcase that checks that the issue reported in: > > http://sources.redhat.com/ml/gdb-patches/2006-04/msg00367.html > > will not regress again. > > 2006-04-28 Joel Brobecker > > * gdb.base/step-bt.c: New file. > * gdb.base/step-bt.exp: New testcase. > > Tested on i686-pc-cygwin. on XFAIL on the last test with the current > sources, all PASSes once the patch in the message mentioned above is > applied. > > OK to apply? When the patch goes in, this is fine. Thanks for the test. > gdb_test "stepi 2" \ > "" \ > "step 2 instructions" > > gdb_test "bt" \ > "#0 +0x\[0-9a-z\]+ in hello .*#1 +0x\[0-9a-z\]* in main.*" \ > "backtrace after two instruction steps" Would it work to test backtrace after each of two stepi's? That might turn up interesting similar problems on more platforms. -- Daniel Jacobowitz CodeSourcery