[binutils-gdb] Remove note about C++ demangler from Rust documentation
Tom Tromey
tromey@sourceware.org
Tue Mar 10 20:06:08 GMT 2026
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=16fc179eb187c9574c99df040ba72924fb4c81d6
commit 16fc179eb187c9574c99df040ba72924fb4c81d6
Author: Tom Tromey <tromey@adacore.com>
Date: Tue Mar 10 12:00:43 2026 -0600
Remove note about C++ demangler from Rust documentation
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.
Approved-By: Eli Zaretskii <eliz@gnu.org>
Diff:
---
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<u32>}, where the parser would require
@code{crate::f::<u32>}.
More information about the Gdb-cvs
mailing list