From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id Sc1PE0+wsWnHBSQAWB0awg (envelope-from ) for ; Wed, 11 Mar 2026 14:11:27 -0400 Received: by simark.ca (Postfix, from userid 112) id 4B8F61E089; Wed, 11 Mar 2026 14:11:27 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id E14D11E089 for ; Wed, 11 Mar 2026 14:11:26 -0400 (EDT) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id 4FA594BB5915 for ; Wed, 11 Mar 2026 18:11:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4FA594BB5915 Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id 8D6DB4BB58EC for ; Wed, 11 Mar 2026 18:10:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8D6DB4BB58EC Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=efficios.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=efficios.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8D6DB4BB58EC Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=158.69.221.121 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1773252629; cv=none; b=ehlILP0VRJkXhwClzF8MEvGyIhmlJj+2dLwg+Oz+VnXbBRxfdk7Jo4cw60WmSRx+KuzUs5t6vFSjphz+mriIku4V2vGwDEzLA40oO3Gjhwn78GAPwkYX/VlzZhKJVmX6IMogqzYJx9JbpZgKmbXBx6VVJAbHyjAOLSfnq8lnV2c= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1773252629; c=relaxed/simple; bh=CS14wnqxAH3h6G1jdI9fL/WldA+4rSNwFinYxO04T+A=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=D8jut4odYPet9omYi0VZu+7bHWMwCXeQ31T9OwRs0Z3k4F7joDZ2enwtH8JV43rEyYYwaf+lL5WZA5rsvVcKhpuaPixISL78ZhGK/mB+Tb8D4jvWnnHU1d19nzwTkBe42fk3KVW3d221PlSOrMavKj6cCZoacMY415s9ap41vLw= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8D6DB4BB58EC Received: by simark.ca (Postfix) id F10401E0E7; Wed, 11 Mar 2026 14:10:28 -0400 (EDT) From: Simon Marchi To: gdb-patches@sourceware.org Cc: Simon Marchi Subject: [PATCH 12/23] gdb/dwarf: change frame_is_tailcall to return bool Date: Wed, 11 Mar 2026 14:05:37 -0400 Message-ID: <20260311180825.720803-13-simon.marchi@efficios.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260311180825.720803-1-simon.marchi@efficios.com> References: <20260311180825.720803-1-simon.marchi@efficios.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org Change-Id: Icc70cb565ece0f04fbd8950cf6ff41f9b3e2c242 --- gdb/dwarf2/frame-tailcall.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gdb/dwarf2/frame-tailcall.c b/gdb/dwarf2/frame-tailcall.c index 9e2e56b9bcb5..bfdf5db473f4 100644 --- a/gdb/dwarf2/frame-tailcall.c +++ b/gdb/dwarf2/frame-tailcall.c @@ -131,10 +131,10 @@ cache_unref (struct tailcall_cache *cache) } } -/* Return 1 if FI is a non-bottom (not the callee) tail call frame. Otherwise - return 0. */ +/* Return true if FI is a non-bottom (not the callee) tail call frame. + Otherwise return false. */ -static int +static bool frame_is_tailcall (const frame_info_ptr &fi) { return frame_unwinder_is (fi, &dwarf2_tailcall_frame_unwind); -- 2.53.0