From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16684 invoked by alias); 21 Oct 2013 12:43:23 -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 16670 invoked by uid 89); 21 Oct 2013 12:43:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS,UNPARSEABLE_RELAY autolearn=ham version=3.3.2 X-HELO: aserp1040.oracle.com Received: from aserp1040.oracle.com (HELO aserp1040.oracle.com) (141.146.126.69) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Mon, 21 Oct 2013 12:43:22 +0000 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r9LChIYi008877 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 21 Oct 2013 12:43:18 GMT Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r9LChHcj013402 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 21 Oct 2013 12:43:18 GMT Received: from abhmt103.oracle.com (abhmt103.oracle.com [141.146.116.55]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r9LChH6A024365; Mon, 21 Oct 2013 12:43:17 GMT Received: from termi.oracle.com (/10.175.58.67) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 21 Oct 2013 05:43:17 -0700 From: jose.marchesi@oracle.com (Jose E. Marchesi) To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] testsuite: adjust line number in commands.exp References: <8761t9m8mo.fsf@oracle.com> <5252DE0D.4060106@redhat.com> <87zjqlknes.fsf@oracle.com> <52542F32.2060908@redhat.com> Date: Mon, 21 Oct 2013 12:43:00 -0000 In-Reply-To: <52542F32.2060908@redhat.com> (Pedro Alves's message of "Tue, 08 Oct 2013 17:13:38 +0100") Message-ID: <877gd6yeqq.fsf@oracle.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2013-10/txt/msg00621.txt.bz2 On 10/07/2013 06:20 PM, Jose E. Marchesi wrote: > > > Tested in both sparc64-*-linux-gnu and x86_64-*-linux-gnu. > > > > 2013-10-07 Jose E. Marchesi > > > > * gdb.base/commands.exp (watchpoint_command_test): Adjust line > > number in run.c with the end of scope of the block containing > > local_var. > > This is PR 15986. Could you make this use gdb_get_line_number? > > Something like this? Yes. This is OK, thanks. Committed as posted in http://sourceware.org/ml/gdb-patches/2013-10/msg00193.html