From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18197 invoked by alias); 10 Aug 2006 04:13:05 -0000 Received: (qmail 18189 invoked by uid 22791); 10 Aug 2006 04:13:04 -0000 X-Spam-Check-By: sourceware.org Received: from nile.gnat.com (HELO nile.gnat.com) (205.232.38.5) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 10 Aug 2006 04:13:02 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-nile.gnat.com (Postfix) with ESMTP id CEAA448CE03 for ; Thu, 10 Aug 2006 00:12:59 -0400 (EDT) Received: from nile.gnat.com ([127.0.0.1]) by localhost (nile.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09526-01-10 for ; Thu, 10 Aug 2006 00:12:59 -0400 (EDT) Received: from takamaka.act-europe.fr (unknown [70.71.0.212]) by nile.gnat.com (Postfix) with ESMTP id 4519648CD98 for ; Thu, 10 Aug 2006 00:12:59 -0400 (EDT) Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 52F3E47EFA; Wed, 9 Aug 2006 21:12:58 -0700 (PDT) Date: Thu, 10 Aug 2006 13:05:00 -0000 From: Joel Brobecker To: gdb-patches@sources.redhat.com Subject: [RFA/testsuite] Adjust step-bt testcase Message-ID: <20060810041258.GD15936@adacore.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="+HP7ph2BbKc20aGI" Content-Disposition: inline User-Agent: Mutt/1.4i 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/msg00076.txt.bz2 --+HP7ph2BbKc20aGI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 347 Hello Daniel, re: http://www.sourceware.org/ml/gdb/2006-08/msg00079.html Would the attached patch fix your problem? 2006-08-09 Joel Brobecker * gdb.base/step-bt.exp: Make hexadecimal address option in expected output of the backtrace commands. Tested on x86-linux, no regression. Thanks, -- Joel --+HP7ph2BbKc20aGI Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="step-bt.diff" Content-length: 889 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 04:10:02 -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" --+HP7ph2BbKc20aGI--