From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org 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 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=UqV3y3/+k6C4WDt6Su5Z+LTI0CilghgMipJ1p2gIgLU=; b=Q1bJTJaLVLTN ZeYISKczyWSU3dcxZG5a9cAs4xxFNGjhnla3rEpbN3+fVSeAsOg6bLtDczJRWZo6ZRw/L66Q/qbeO b1bdJdAlyUX65YIa1IHxogyKS0fGXCrohBgZBc2k24oX/jvhpWCoMxsi7gataRD39+YPWUEraucpz viZlt6SqZPqUMhszYuG3QaAK2PmJxyapGOwA1LRHkk5OzVB6FhwpHBz0Ye7f6ym0/TOd7MQjelsYc LrlrNrCkJzspGcuCshuLLe84GxXQzDM6zryBOXDD3nvjDbpi3+15JMZSY4eojREag1t9ry9hhK4lf xrz/UENjB+DuvMeXAM/UmQ==; 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> From: Eli Zaretskii 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-Spam-Status: No, score=1.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_BARRACUDACENTRAL,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: > 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.