From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23594 invoked by alias); 30 Jun 2011 13:48:13 -0000 Received: (qmail 23583 invoked by uid 22791); 30 Jun 2011 13:48:12 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 30 Jun 2011 13:47:57 +0000 Received: (qmail 26216 invoked from network); 30 Jun 2011 13:47:57 -0000 Received: from unknown (HELO scottsdale.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 30 Jun 2011 13:47:57 -0000 From: Pedro Alves To: Mike Frysinger Subject: Re: [toolchain-devel] [PATCH v2] gdb: tests: set remotetimeout to gdb_load_timeout for remote targets Date: Thu, 30 Jun 2011 13:48:00 -0000 User-Agent: KMail/1.13.6 (Linux/2.6.38-8-generic; KDE/4.6.2; x86_64; ; ) Cc: gdb-patches@sourceware.org, toolchain-devel@blackfin.uclinux.org, Jie Zhang , Joel Brobecker References: <1307309678-10966-1-git-send-email-vapier@gentoo.org> <201106300958.52442.pedro@codesourcery.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201106301447.53566.pedro@codesourcery.com> X-IsSubscribed: yes 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 X-SW-Source: 2011-06/txt/msg00491.txt.bz2 On Thursday 30 June 2011 14:30:18, Mike Frysinger wrote: > On Thu, Jun 30, 2011 at 04:58, Pedro Alves wrote: > > On Wednesday 29 June 2011 17:25:27, Joel Brobecker wrote: > >> > + send_gdb "show remotetimeout\n" > >> > + gdb_expect { > >> > >> Can you use gdb_test_multiple instead? > > > > UUIC, that would add something like "PASS: show remotetimeout" > > to every test. Is that wanted? I was under the impression that > > was the reason we didn't use gdb_test_multiple for infrustructure > > setup within gdb.exp. > > i think that's only if the expect code passed to it calls `pass`. > when i ran it, i didnt see any "PASS: show remotetimeout" ... while, i > did test with gdb-6.6, i dont think this func has changed. Ah, yes, you're right. Thanks. > ... > (gdb) target remote vapier:2000 > Remote debugging using vapier:2000 > 0x20000000 in ?? () > (gdb) show remotetimeout > Timeout limit to wait for target to respond is 2. > (gdb) set remotetimeout 1600 > ... > Transfer rate: 385771 bits/sec, 5067 bytes/write. > (gdb) set remotetimeout 2 > (gdb) set print sevenbit-strings > ... > -mike > -- Pedro Alves