From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3804 invoked by alias); 25 Jun 2013 14:16:26 -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 3793 invoked by uid 89); 25 Jun 2013 14:16:25 -0000 X-Spam-SWARE-Status: No, score=-8.1 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 25 Jun 2013 14:16:25 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r5PEGMPi018595 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 25 Jun 2013 10:16:23 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r5PEGKZ7022338; Tue, 25 Jun 2013 10:16:21 -0400 Message-ID: <51C9A634.20904@redhat.com> Date: Tue, 25 Jun 2013 14:21:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 MIME-Version: 1.0 To: Yao Qi CC: gdb-patches@sourceware.org Subject: Re: [PATCH] Upload TSVs in extend-remote mode References: <1371636174-9822-1-git-send-email-yao@codesourcery.com> <51C34B4A.7000606@redhat.com> <51C50AAC.70305@codesourcery.com> <51C864CD.5080008@redhat.com> <51C994D7.40603@codesourcery.com> In-Reply-To: <51C994D7.40603@codesourcery.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-06/txt/msg00699.txt.bz2 On 06/25/2013 02:02 PM, Yao Qi wrote: > On 06/24/2013 11:25 PM, Pedro Alves wrote: >> update the board file. I'd suggest in the same vein, making ".*${tsv}.*" >> less lax. Otherwise, I'm afraid this is the sort of board setting that >> will just go silently unnoticed. > > I think about making the regexp less lax, but run out of ideas. Users > can set a regexp in gdb,predefined_tsv if their targets has multiple > predfined tsvs, for example, there are two predefined tsvs "$foo" and > "$bar", and this line can be written in the board file, > > set_board_info gdb,predefined_tsv "\\\$foo.*\\\$bar" > > so it is hard to make ".*${tsv}.*" more strict, afaik. Well, it'd be the board writer's responsibility to only do that if he wanted to be lax, but I don't think this is that important. Fine with me as is. Thanks! -- Pedro Alves