From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3589 invoked by alias); 4 Apr 2013 01:36:56 -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 3580 invoked by uid 89); 4 Apr 2013 01:36:55 -0000 X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL autolearn=ham version=3.3.1 Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 04 Apr 2013 01:36:52 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1UNZ6h-00017A-3R from Sandra_Loosemore@mentor.com for gdb-patches@sourceware.org; Wed, 03 Apr 2013 18:36:51 -0700 Received: from SVR-ORW-FEM-04.mgc.mentorg.com ([147.34.97.41]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Wed, 3 Apr 2013 18:36:50 -0700 Received: from [IPv6:::1] (147.34.91.1) by svr-orw-fem-04.mgc.mentorg.com (147.34.97.41) with Microsoft SMTP Server id 14.1.289.1; Wed, 3 Apr 2013 18:36:50 -0700 Message-ID: <515CD922.7030801@codesourcery.com> Date: Thu, 04 Apr 2013 08:29:00 -0000 From: Sandra Loosemore User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: Subject: [patch] fix remote-host fails in gdb.cp/cplabel.exp Content-Type: multipart/mixed; boundary="------------040103010809080407080409" X-Virus-Found: No X-SW-Source: 2013-04/txt/msg00094.txt.bz2 --------------040103010809080407080409 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Content-length: 445 This 1-character patch is very similar to this already-approved one: http://sourceware.org/ml/gdb-patches/2013-04/msg00053.html It fixes the regexp in the testcase to allow the test to pass when the file is compiled without a directory prefix in remote-host testing. OK to commit? -Sandra 2013-04-03 Sandra Loosemore gdb/testsuite/ * gdb.cp/cplabel.exp: Fix regexp to allow tests to pass on remote hosts. --------------040103010809080407080409 Content-Type: text/x-patch; name="cplabel.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="cplabel.patch" Content-length: 631 Index: gdb/testsuite/gdb.cp/cplabel.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.cp/cplabel.exp,v retrieving revision 1.3 diff -u -p -r1.3 cplabel.exp --- gdb/testsuite/gdb.cp/cplabel.exp 1 Jan 2013 06:33:27 -0000 1.3 +++ gdb/testsuite/gdb.cp/cplabel.exp 4 Apr 2013 01:30:12 -0000 @@ -35,6 +35,6 @@ foreach m $methods { foreach l $labels { set line [gdb_get_line_number "$m:$l"] gdb_test "break foo::$m:$l" \ - "Breakpoint $decimal at $hex: file .*/$srcfile, line $line\." + "Breakpoint $decimal at $hex: file .*$srcfile, line $line\." } } --------------040103010809080407080409--