From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id mERoH4RZ2WOVbyYAWB0awg (envelope-from ) for ; Tue, 31 Jan 2023 13:10:12 -0500 Received: by simark.ca (Postfix, from userid 112) id 7E6511E128; Tue, 31 Jan 2023 13:10:12 -0500 (EST) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=edBk3v1G; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 3A0521E112 for ; Tue, 31 Jan 2023 13:10:12 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 501D23858D3C for ; Tue, 31 Jan 2023 18:10:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 501D23858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1675188609; bh=UqV3y3/+k6C4WDt6Su5Z+LTI0CilghgMipJ1p2gIgLU=; h=Date:To:Cc:In-Reply-To:Subject:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=edBk3v1GwLBUq7xNfMnV9Rw/Po2MFXyl93vStSAvQBEYC0bSpJZ8qsC5h0K0Lx1Bi q0S2f4sW37UAIyJmhS/zDSfmcmGrFZyjFtv0Fm9Yfo1mUzXC0PCtO05t0urIFAm0z8 rCwBM0yFrVhBP+L2WAIUKRR4fG99jQDIk7Gj/DuM= Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 2390B3858407 for ; Tue, 31 Jan 2023 18:09:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2390B3858407 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMv4S-0002Gy-SO; Tue, 31 Jan 2023 13:09:29 -0500 Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMv4S-0003a4-5s; Tue, 31 Jan 2023 13:09:28 -0500 Date: Tue, 31 Jan 2023 20:09:25 +0200 Message-Id: <83sffq1sq2.fsf@gnu.org> To: Andrew Burgess Cc: gdb-patches@sourceware.org In-Reply-To: <4550bcb939249fa7618b80ed872dccdf51fa6f25.1675185990.git.aburgess@redhat.com> (message from Andrew Burgess via Gdb-patches on Tue, 31 Jan 2023 17:27:17 +0000) Subject: Re: [PATCHv3 12/13] gdb: introduce unwind-on-timeout setting References: <4550bcb939249fa7618b80ed872dccdf51fa6f25.1675185990.git.aburgess@redhat.com> X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Eli Zaretskii via Gdb-patches Reply-To: Eli Zaretskii Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" > Cc: Andrew Burgess > Date: Tue, 31 Jan 2023 17:27:17 +0000 > From: Andrew Burgess via Gdb-patches > > Now that inferior function calls can timeout (see the recent > introduction of direct-call-timeout and indirect-call-timeout), this > commit adds a new setting unwind-on-timeout. > > This new setting is just like the existing unwindonsignal and > unwind-on-terminating-exception, but the new setting will cause GDB to > unwind the stack if an inferior function call times out. > > The existing inferior function call timeout tests have been updated to > cover the new setting. > --- > gdb/NEWS | 9 +++ > gdb/doc/gdb.texinfo | 33 +++++++--- > gdb/infcall.c | 62 ++++++++++++++++--- > gdb/testsuite/gdb.base/infcall-timeout.exp | 49 +++++++++++---- > .../infcall-from-bp-cond-timeout.exp | 55 +++++++++++----- > 5 files changed, 164 insertions(+), 44 deletions(-) OK for the documentation parts, thanks.