From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 58182 invoked by alias); 5 Aug 2019 13:53:45 -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 58168 invoked by uid 89); 5 Aug 2019 13:53:44 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-13.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mx1.suse.de Received: from mx2.suse.de (HELO mx1.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 05 Aug 2019 13:53:43 +0000 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 8AED7AF92; Mon, 5 Aug 2019 13:53:41 +0000 (UTC) Subject: Re: [PATCH] Increase timeout in gdb.mi/list-thread-groups-available.exp To: Tom Tromey Cc: Simon Marchi , gdb-patches@sourceware.org References: <20190801143855.1640-1-simon.marchi@efficios.com> <87ftmkagwi.fsf@tromey.com> <9cc09b45-ba14-3299-6f99-b738c349ed94@efficios.com> <87tvazisy8.fsf@tromey.com> From: Tom de Vries Openpgp: preference=signencrypt Message-ID: Date: Mon, 05 Aug 2019 13:53:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <87tvazisy8.fsf@tromey.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-08/txt/msg00108.txt.bz2 On 02-08-19 15:43, Tom Tromey wrote: > Tom> +proc with_timeout_factor { factor body {body_uplevel 1}} { > > I think body_uplevel shouldn't be needed. > > Tom> + return [with_timeout_factor $factor $body 2] > > ... since this can just do > > return [uplevel [list with_timeout_factor $factor $body]] Ack, I've used that in the committed version ( https://sourceware.org/ml/gdb-patches/2019-08/msg00107.html ). Thanks, - Tom