From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3262 invoked by alias); 14 Apr 2015 12:27:34 -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 3247 invoked by uid 89); 14 Apr 2015 12:27:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 14 Apr 2015 12:27:32 +0000 Received: from svr-orw-fem-06.mgc.mentorg.com ([147.34.97.120]) by relay1.mentorg.com with esmtp id 1Yhzw8-00035c-MV from Luis_Gustavo@mentor.com ; Tue, 14 Apr 2015 05:27:28 -0700 Received: from [172.30.1.77] (147.34.91.1) by SVR-ORW-FEM-06.mgc.mentorg.com (147.34.97.120) with Microsoft SMTP Server id 14.3.224.2; Tue, 14 Apr 2015 05:27:28 -0700 Message-ID: <552D07AD.2070408@codesourcery.com> Date: Tue, 14 Apr 2015 12:27:00 -0000 From: Luis Machado Reply-To: Luis Machado User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Pedro Alves , "'gdb-patches@sourceware.org'" Subject: Re: [PATCH] Harden gdb.base/bp-permanent.exp References: <5526B296.8040000@codesourcery.com> <5527A047.1030201@redhat.com> <5527D804.10709@codesourcery.com> <552C0212.5080102@codesourcery.com> <552CFA96.6070707@redhat.com> <552CFDCD.4030706@codesourcery.com> <552D00DB.6090002@redhat.com> In-Reply-To: <552D00DB.6090002@redhat.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg00522.txt.bz2 On 04/14/2015 08:58 AM, Pedro Alves wrote: > On 04/14/2015 12:45 PM, Luis Machado wrote: > >> for {set i 0} {$i < $count} {incr i} { >> + set test "p /x addr_bp\[$i\] = buffer\[$i\]" >> gdb_test_multiple "p /x addr_bp\[$i\] = buffer\[$i\]" $test { > > Might as well replace the same string in the gdb_test_multiple too: > > gdb_test_multiple $test $test { > > OK with that change. I've pushed this with the suggested change.