From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22930 invoked by alias); 7 Nov 2014 15:25:20 -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 22919 invoked by uid 89); 7 Nov 2014 15:25:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-yk0-f176.google.com Received: from mail-yk0-f176.google.com (HELO mail-yk0-f176.google.com) (209.85.160.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 07 Nov 2014 15:25:18 +0000 Received: by mail-yk0-f176.google.com with SMTP id 9so667536ykp.7 for ; Fri, 07 Nov 2014 07:25:16 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.170.80.138 with SMTP id w132mr13066426ykw.118.1415373916518; Fri, 07 Nov 2014 07:25:16 -0800 (PST) Received: by 10.170.140.214 with HTTP; Fri, 7 Nov 2014 07:25:16 -0800 (PST) In-Reply-To: <545C9D31.2020305@redhat.com> References: <545C9D31.2020305@redhat.com> Date: Fri, 07 Nov 2014 15:25:00 -0000 Message-ID: Subject: Re: [PATCH] Allow board file to specify remotetimeout From: Doug Evans To: Pedro Alves Cc: "gdb-patches@sourceware.org" Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-11/txt/msg00138.txt.bz2 On Fri, Nov 7, 2014 at 2:21 AM, Pedro Alves wrote: > On 11/07/2014 01:01 AM, Doug Evans wrote: > >> I was cross-testing from linux to windows7 with stdio gdbserver, >> and ssh was taking longer to connect than the default remotetimeout >> of 2 seconds. >> >> This patch adds the ability to specify remotetimeout in the board file. >> >> For reference sake, here's my board file. > > Note you can already put > > set GDBFLAGS "-l 15" > > in the board file for this. See: > > https://sourceware.org/gdb/wiki/TestingGDB#Running_GDB_with_a_larger_remote_serial_protocol_timeout > > Is there an advantage to this method? Yeah, it's documented in testsuite/README so I'll find it next time. 1/2 :-) I'd long since forgotten about the wiki page. Having both places being reasonably large, and neither having a reference to the other, is unfortunate. [The README mentions the wiki, but without an explicit link it's not that helpful.] I'd be happy with gutting testsuite/README and just mentioning the wiki url. Thoughts?