From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21754 invoked by alias); 19 Jun 2013 20:37:42 -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 21744 invoked by uid 89); 19 Jun 2013 20:37:41 -0000 X-Spam-SWARE-Status: No, score=-4.7 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,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; Wed, 19 Jun 2013 20:37:41 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1UpP8N-0006Pp-Qf from Luis_Gustavo@mentor.com ; Wed, 19 Jun 2013 13:37:39 -0700 Received: from NA1-MAIL.mgc.mentorg.com ([147.34.98.181]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 19 Jun 2013 13:37:39 -0700 Received: from [172.30.14.165] ([172.30.14.165]) by NA1-MAIL.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 19 Jun 2013 13:37:38 -0700 Message-ID: <51C2168E.2070406@codesourcery.com> Date: Wed, 19 Jun 2013 21:04:00 -0000 From: Luis Machado Reply-To: lgustavo@codesourcery.com User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: Pedro Alves CC: "'gdb-patches@sourceware.org'" Subject: Re: [PATCH, testsuite] Fix subst.exp failure when GDB is configured with --with-relocated-sources References: <51C209FC.3040206@codesourcery.com> <51C21101.1090904@redhat.com> In-Reply-To: <51C21101.1090904@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2013-06/txt/msg00513.txt.bz2 On 06/19/2013 05:13 PM, Pedro Alves wrote: > On 06/19/2013 08:43 PM, Luis Machado wrote: >> Hi, >> >> The gdb.base/subst.exp test assumes GDB starts with no default >> substitution rules, which is not true if GDB has been configured with >> --with-relocated-sources. In that case we start with a default rule, >> causing the first test (checking that there are no rules) to fail. >> >> This patch clears any default substitution rules that may exist prior to >> doing all the other tests. >> >> OK? >> > > Looks obviously correct to me. > Thanks. Checked in.