From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29545 invoked by alias); 27 Mar 2009 13:57:35 -0000 Received: (qmail 29535 invoked by uid 22791); 27 Mar 2009 13:57:34 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from eu1sys200aog117.obsmtp.com (HELO eu1sys200aog117.obsmtp.com) (207.126.144.143) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 27 Mar 2009 13:57:28 +0000 Received: from source ([164.129.1.35]) (using TLSv1) by eu1sys200aob117.postini.com ([207.126.147.11]) with SMTP ID DSNKSczbRL0DOwwqWLgMWv9bog1lvPy9dwWx@postini.com; Fri, 27 Mar 2009 13:57:27 UTC Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id B177CDAA8 for ; Fri, 27 Mar 2009 13:56:17 +0000 (GMT) Received: from mail2.gnb.st.com (mail2.gnb.st.com [164.129.119.59]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 8D3244BFED for ; Fri, 27 Mar 2009 13:57:19 +0000 (GMT) Received: from [164.129.122.46] (gnx2504.gnb.st.com [164.129.122.46]) by mail2.gnb.st.com (MOS 3.8.7a) with ESMTP id DBL83746 (AUTH lyon); Fri, 27 Mar 2009 14:57:19 +0100 (CET) Message-ID: <49CCDB3D.5010302@st.com> Date: Fri, 27 Mar 2009 14:05:00 -0000 From: Christophe LYON User-Agent: Thunderbird 2.0.0.21 (X11/20090302) MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: [PATCH] obvious pattern fix in gdb.base/step-line.exp Content-Type: multipart/mixed; boundary="------------040106060707060704090901" X-IsSubscribed: yes 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 X-SW-Source: 2009-03/txt/msg00618.txt.bz2 This is a multi-part message in MIME format. --------------040106060707060704090901 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 111 Hello, I propose the attached small patch to allow printing the full path before 'step-line.c'. Christophe. --------------040106060707060704090901 Content-Type: text/plain; name="gdb.step-line.changelog" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="gdb.step-line.changelog" Content-length: 148 2009-03-27 Christophe Lyon testsuite/ * gdb.base/step-line.exp: Fix pattern to allow full path before "step-line.c". --------------040106060707060704090901 Content-Type: text/plain; name="gdb.step-line.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="gdb.step-line.patch" Content-length: 546 Index: gdb/testsuite/gdb.base/step-line.exp =================================================================== --- gdb/testsuite/gdb.base/step-line.exp (revision 308) +++ gdb/testsuite/gdb.base/step-line.exp (working copy) @@ -46,7 +46,7 @@ if ![runto_main] then { return 0 } -gdb_test "break f1" ".*Breakpoint 2 at .* file step-line.c.*" "break f1" +gdb_test "break f1" ".*Breakpoint 2 at .* file .*$srcfile.*" "break f1" gdb_test "continue" \ "Continuing.*Breakpoint 2, f1 \\(i=4\\).*dummy \\(1, i\\);" \ "continue to f1" --------------040106060707060704090901--