From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id P9maOhtvsGl/MiIAWB0awg (envelope-from ) for ; Tue, 10 Mar 2026 15:20:59 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=gnu.org header.i=@gnu.org header.a=rsa-sha256 header.s=fencepost-gnu-org header.b=i7cNO4Ip; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id CEE7D1E0DD; Tue, 10 Mar 2026 15:20:59 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,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 DBCBD1E089 for ; Tue, 10 Mar 2026 15:20:58 -0400 (EDT) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id 537704BAD163 for ; Tue, 10 Mar 2026 19:20:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 537704BAD163 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=gnu.org header.i=@gnu.org header.a=rsa-sha256 header.s=fencepost-gnu-org header.b=i7cNO4Ip Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 899EC4B9DB71 for ; Tue, 10 Mar 2026 19:20:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 899EC4B9DB71 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 899EC4B9DB71 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:470:142:3::10 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1773170433; cv=none; b=D5t1M4TIvRh/raZCnptB+TdSAJhHryR3KF2b2aqwxZFz/gBYuCLH8wsAJjTWunXBzg8djgFCqjKJnD/spaoYUyp5UCrqF9ma2N5zy+AFuBPuUvOoYbYGu1Y6IsvcJ695FJCDWVtvo0496rf48zrQduw2XhypdlbQqscvEiM/sSw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1773170433; c=relaxed/simple; bh=T9ENDWLAlClNYVLtQK4PKtrM6ND3y+8UrhLd4L9G3WI=; h=DKIM-Signature:Date:Message-Id:From:To:Subject; b=I/MZ8iq/QvjGvfco5eJFvCY3NyPgaUDMsDQVHvJBLbrMZ+NUR6V2/lJUopMtyEpvUFdCKlUyxCUmKyfFQIJTCom7vqc03Mq0LnbbpGZWpMVaoZ3atk0IbhiW/nS9w9S5kIJfPfE7PR0GlXY27Bcgb3QJrxPKjRt3fDuMKVS5tUk= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 899EC4B9DB71 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 1w02d6-0007FX-Iy; Tue, 10 Mar 2026 15:20:32 -0400 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=nhHB5Zv4HnHx3ukq/yJ0ObzRWWCxVRc0/hTeEepyYw0=; b=i7cNO4IpHb4W 7TXallw3hejRbTO/6VHrt+plRvLFb1tQl8e2rixU1qme/cAux0xuyzo6fsEIyZ4QGUf6fwLUr1m4+ YQKVvMOPaFOGPBKobiDvzPNoiNQAyNxdzEQNC5RtBqrIMEY/WQgev8AOc/Jv3wsm8KPE3/yooHTyR Wf7lAOip80hmwfhGj1MhcbrLWlh9zj9jIbhG9BykSmiA4IgUH7TSencWf+eKfLrkjB4ukaGypyZBx SqQfo6dhKBFe7P/fiEO9hHjJ+RlM8INlLyTsfaC6g+xFlR2RYOmhZcvCslIYXe31yhgRQWGhYtkdl 91Fh9k4k/zUzUc4avxF2cw==; Date: Tue, 10 Mar 2026 21:20:27 +0200 Message-Id: <86zf4fo5j8.fsf@gnu.org> From: Eli Zaretskii To: Tom Tromey Cc: gdb-patches@sourceware.org In-Reply-To: <20260310184653.983690-1-tromey@adacore.com> (message from Tom Tromey on Tue, 10 Mar 2026 12:46:53 -0600) Subject: Re: [PATCH] Remove note about C++ demangler from Rust documentation References: <20260310184653.983690-1-tromey@adacore.com> 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 > From: Tom Tromey > Cc: Tom Tromey > Date: Tue, 10 Mar 2026 12:46:53 -0600 > > A note about the C++ demangler in the Rust documentation hasn't been > accurate for a while. Also, it probably isn't clear to users how this > related to the next bit of text in the same bullet point. This patch > removes the obsolete comment. > --- > gdb/doc/gdb.texinfo | 10 ++++------ > 1 file changed, 4 insertions(+), 6 deletions(-) > > diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo > index 63f6fe39a55..ceb69669ea6 100644 > --- a/gdb/doc/gdb.texinfo > +++ b/gdb/doc/gdb.texinfo > @@ -18396,12 +18396,10 @@ to call generic functions or otherwise refer to generic items, you > will have to specify the type parameters manually. > > @item > -@value{GDBN} currently uses the C@t{++} demangler for Rust. In most > -cases this does not cause any problems. However, in an expression > -context, completing a generic function name will give syntactically > -invalid results. This happens because Rust requires the @samp{::} > -operator between the function name and its generic arguments. For > -example, @value{GDBN} might provide a completion like > +In an expression context, completing a generic function name will give > +syntactically invalid results. This happens because Rust requires the > +@samp{::} operator between the function name and its generic > +arguments. For example, @value{GDBN} might provide a completion like > @code{crate::f}, where the parser would require > @code{crate::f::}. OK, thanks. Approved-By: Eli Zaretskii