From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lndn.lancelotsix.com (vps-42846194.vps.ovh.net [IPv6:2001:41d0:801:2000::2400]) by sourceware.org (Postfix) with ESMTPS id 46FC23858C78 for ; Mon, 16 Jan 2023 09:44:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 46FC23858C78 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=lancelotsix.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=lancelotsix.com Received: from ubuntu.lan (cust120-dsl54.idnet.net [212.69.54.120]) by lndn.lancelotsix.com (Postfix) with ESMTPSA id 24A3E80AC5; Mon, 16 Jan 2023 09:44:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=lancelotsix.com; s=2021; t=1673862249; bh=scS3OByMb47kO4gfeu5mCL+OdW89k8OHmMETlgiIF3U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uwKFCHn2coYO2UMFrLQEwJblmgqvU53rvflJsB4Uc4YkTACgdiXzZiiGEdgD+3+kT qlvOXYjDLIaRrRXENkos/TftaiPwD2/4QfJxsbmAVdKz8afq0YSOZmowNN73SNz2gz LBZRQULZyFLibrRkLY/vhIlzBe66jo/aaKKPhcAqUDGzwmsnoviNtL479k/Aynz0ri ZvUJkkm/VFmuUkyHCs4Y0vtMcY98Nn6CVPOFf+2yQspZ/dWt1w6boDLlAycY32IB4p 7P5+qsJ8lHCzAx77B7cKkesto1+8k+dKfXe9twDLdSd3NH1At2KyyWBBEnHos/WT4e p56boHOs5PqKA== Date: Mon, 16 Jan 2023 09:44:02 +0000 From: Lancelot SIX To: Andrew Burgess Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 11/12] gdb: add timeouts for inferior function calls Message-ID: <20230116094320.nhriuwq4nrm4zavk@ubuntu.lan> References: <20221104231700.evhnzbuwexevh2hd@ubuntu.lan> <87mt6mfkgx.fsf@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87mt6mfkgx.fsf@redhat.com> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.11 (lndn.lancelotsix.com [0.0.0.0]); Mon, 16 Jan 2023 09:44:09 +0000 (UTC) X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi, > > It seems to me that only having the setting for the indirect call > > timeout would make the interface simpler. > > > > That being said, once you have implemented the mechanism for the > > "indirect" calls, "direct" call timeout implementation comes for free. > > I guess this was your reasoning. > > That was indeed why I provided both - it pretty much came for free. > Like you say, it might offer some benefits in a GDB scripting setup. > > If you feel really strongly then I can drop it, but I don't feel it adds > much additional maintenance overhead. That's OK with me, as you say the extra maintenance overhead is close to none. Best, Lancelot.