From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14385 invoked by alias); 10 Aug 2006 13:05:38 -0000 Received: (qmail 14373 invoked by uid 22791); 10 Aug 2006 13:05:37 -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, 10 Aug 2006 13:05:35 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GBAE8-0004q5-Te; Thu, 10 Aug 2006 09:05:33 -0400 Date: Thu, 10 Aug 2006 15:21:00 -0000 From: Daniel Jacobowitz To: Joel Brobecker Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA/testsuite] Adjust step-bt testcase Message-ID: <20060810130532.GA18475@nevyn.them.org> Mail-Followup-To: Joel Brobecker , gdb-patches@sources.redhat.com References: <20060810041258.GD15936@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060810041258.GD15936@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-08/txt/msg00078.txt.bz2 On Wed, Aug 09, 2006 at 09:12:58PM -0700, Joel Brobecker wrote: > Hello Daniel, > > re: http://www.sourceware.org/ml/gdb/2006-08/msg00079.html > > Would the attached patch fix your problem? Nope - the "in" is apparently optional too. I tested and committed this variant. -- Daniel Jacobowitz CodeSourcery 2006-08-10 Joel Brobecker Daniel Jacobowitz * gdb.base/step-bt.exp: Make hexadecimal address optional in expected output of the backtrace commands. Index: step-bt.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.base/step-bt.exp,v retrieving revision 1.1 diff -u -p -r1.1 step-bt.exp --- step-bt.exp 8 Aug 2006 21:50:54 -0000 1.1 +++ step-bt.exp 10 Aug 2006 13:03:19 -0000 @@ -63,7 +63,7 @@ gdb_test "stepi" \ "step first instruction" gdb_test "bt" \ - "#0 +0x\[0-9a-z\]+ in hello .*#1 +0x\[0-9a-z\]* in main.*" \ + "#0 +(0x\[0-9a-z\]+ in )?hello .*#1 +(0x\[0-9a-z\]* in )?main.*" \ "backtrace after first instruction step" gdb_test "stepi" \ @@ -71,6 +71,6 @@ gdb_test "stepi" \ "step second instruction" gdb_test "bt" \ - "#0 +0x\[0-9a-z\]+ in hello .*#1 +0x\[0-9a-z\]* in main.*" \ + "#0 +(0x\[0-9a-z\]+ in )?hello .*#1 +(0x\[0-9a-z\]* in )?main.*" \ "backtrace after second instruction step"