From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12016 invoked by alias); 3 Jun 2013 11:09:31 -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 12003 invoked by uid 89); 3 Jun 2013 11:09:31 -0000 X-Spam-SWARE-Status: No, score=-7.8 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; Mon, 03 Jun 2013 11:09:30 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r53B9SQi007098 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 3 Jun 2013 07:09:28 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r53B9QpS011127; Mon, 3 Jun 2013 07:09:27 -0400 Message-ID: <51AC7966.3030804@redhat.com> Date: Mon, 03 Jun 2013 11:09:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 MIME-Version: 1.0 To: Sterling Augustine CC: gdb-patches Subject: Re: [Patch] Mechanism for board files to set default remotetimeout References: <51A877BD.4020804@redhat.com> <51AC7565.9070400@redhat.com> In-Reply-To: <51AC7565.9070400@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-06/txt/msg00009.txt.bz2 On 06/03/2013 11:52 AM, Pedro Alves wrote: > That's always nice, thanks. > > Note however, given "-ex", you don't even need the special -l switch. > > This > > gdb -ex "set remotetimeout xxx" > > works just as fine. So you can do this from the command line: > > $ make check RUNTESTFLAGS="GDBFLAGS='-ex set\ remotetimeout\ 1000'" > > Or, for example, this is a board file I have for testing > GDB in different modes: Added this info to the wiki, in: http://sourceware.org/gdb/wiki/TestingGDB -- Pedro Alves