From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id sju+GzxnsGnSGiIAWB0awg (envelope-from ) for ; Tue, 10 Mar 2026 14:47:24 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256 header.s=google header.b=A9Yhew8t; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 5ACDB1E089; Tue, 10 Mar 2026 14:47:24 -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.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, 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 71D361E089 for ; Tue, 10 Mar 2026 14:47:23 -0400 (EDT) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id EDB7B4BAD157 for ; Tue, 10 Mar 2026 18:47:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EDB7B4BAD157 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256 header.s=google header.b=A9Yhew8t Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) by sourceware.org (Postfix) with ESMTPS id 3D1384B9DB6E for ; Tue, 10 Mar 2026 18:46:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3D1384B9DB6E Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3D1384B9DB6E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::72e ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1773168417; cv=none; b=NCJCPgfNC/T5fSraVILN4W64nai9euHTWLsNuDomagju0pLUtqk0AUo8BielHBfgvIw/rvk8a/Ar5eymj/5bozzZkviLj2ZHryzacGy+hnlOiKokq3zS5Bnm6NIZpOM/un4Hh8TwDXyHXDI2SYt8Wx14nIQtkTx6GJNuRB4Fezc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1773168417; c=relaxed/simple; bh=QaHuindlU7vtJT6l2zkbN31LoFTZbCy+u+ggoMiWwms=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=IgeqXxZLqbGoAw45pprnt10ZotpLDRx+mgv5hXx2wbEBlu0wvcK3oNqt91k24o/PtgX1KQG19TJ3RJ+tvSMTv/uM6wMMIveVYoxjjW56hNGzV7yn9KOqWnb2YsM6j5r8W/PHKm3NUiD4YlJhSy4+wRsjUIQe9TLKIoqnrn6Zz18= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3D1384B9DB6E Received: by mail-qk1-x72e.google.com with SMTP id af79cd13be357-8cd80f56b27so310377885a.1 for ; Tue, 10 Mar 2026 11:46:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1773168417; x=1773773217; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=EgpkuMMa/amQ+EcbE8/JSGtnoqa4Fws0yaY8u7lMcgg=; b=A9Yhew8tSi7SZ3wF53+4arIG5y6FE862mn5jnYzauIMHHzP+J/8nIKTVe41CdOF01F MzKx4+SVhM5jpM5FTeUO7Yage+NylTQzKl3H6QTSV+W700r7SGcPX5a8XVi7Z1WpCIqs IlaPDPlqAGfqkKFnsgY3gcnLbqvxRPao0qoSbG3WPpZImOpoSRybEi82iTOfLEpscuEf bZGrY9OOSjeVEYwmUMWKWp3TquwK0eXEIj/RTuuXsNUiv76AVwzR5E24lxUfG/gFKynN d52p9DCcezGJoJoyAXY4IIy1LgE8uX0jKdpV1eYgVPnqh36pipAY+njjQlsYG79OS1pF 0+UA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773168417; x=1773773217; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=EgpkuMMa/amQ+EcbE8/JSGtnoqa4Fws0yaY8u7lMcgg=; b=cw5k1o2RlSd7MGKUoHOb8ofwzyEyCY25IOKlQvsYMlVTcehnWSh1uIAuis3xemSx00 yUW+CIq6/FtpdxI9jAWcF7KRzLwJ6wq7v99R1dy9bXm7bRUxDdD0tpTb9kW6UowwGQ3B zhxcSzvEoj/mOc6qGAaxSFCsfa/RqedU7liALGBx94ZzfMNWsvvI9xyOcVh0aUH1l7nu RBZikIjtX3RdR5GvPlDIsXycs0lDy2IJ2WtiJ/NYEysW2ZoeO7HN3CQicZ8F55clW9sS btpAiniO8Wd/uqeVSe99iQ/gBVkAxhBiqQhnWQT3bhxCIaSHbQ8Vo+1RQZ4aFRDTG1hx ImZg== X-Gm-Message-State: AOJu0YxBNY5wRy+sPGRoOw0goBQDeX91BpYoSvBs8YG7IfUzDnIvO+ty ae1uKev9PaC++XKh0oUkS4qz4lHrqvwkfw8qXfnnsAvqD1fm/9DJUc093bTuYG5AOK8AidjqTMv juME= X-Gm-Gg: ATEYQzy4y3SswabBY+GeR+ZLWgK/6HYiCUDDs+OnmIHrQ4WLQsp5U3QcRBjjdXiHc5L tG/0L+5SwPDlM3niXm4rQZM99VJAyyk38yXtHXrILuaHMmSGes7+XZ20i2j88b5hVGY61UAplix 6NEIaffukmP6tJSl2qZ1w70idMsCtgLZG47nhXd7UQIcJS26ufyeCGJiDjS9lynNL0fswrjOVfY YHcV1WJRfdar8NLaJcn2bnaT1lIpeDzGuMxIcTkQI9eF5+0auCICJMsgu2OQAiA8fLGuMdplcUv Q7OSOJzabPwjF+poz/9JjEWb7PGQFanbGFSWZ/KJSnaFx0HfRsNNowHfpyo5hz6XH8lrFp7KARR O+KMZmxD0POwP/0TtQ6kjoccgOuaxGJyIbcRInVhFUk0R3MHqsa6TRx/X1y/tL5OiqV8hZ1D5kP jkHNI3KdA59bboh1Kg1qMGYjJMO2alMNxIuQCPMjDigEs= X-Received: by 2002:a05:620a:4102:b0:8cd:8ee7:446b with SMTP id af79cd13be357-8cd8ee748bcmr797919585a.55.1773168416509; Tue, 10 Mar 2026 11:46:56 -0700 (PDT) Received: from bapiya (75-166-225-82.hlrn.qwest.net. [75.166.225.82]) by smtp.gmail.com with ESMTPSA id af79cd13be357-8cda129d012sm11832985a.19.2026.03.10.11.46.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Mar 2026 11:46:56 -0700 (PDT) From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH] Remove note about C++ demangler from Rust documentation Date: Tue, 10 Mar 2026 12:46:53 -0600 Message-ID: <20260310184653.983690-1-tromey@adacore.com> X-Mailer: git-send-email 2.53.0 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 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::}. base-commit: 1add703e09f0f8d073cde4af9d11cd59996e9763 -- 2.53.0