]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Remove note about C++ demangler from Rust documentation
authorTom Tromey <tromey@adacore.com>
Tue, 10 Mar 2026 18:00:43 +0000 (12:00 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 10 Mar 2026 20:05:27 +0000 (14:05 -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.

Approved-By: Eli Zaretskii <eliz@gnu.org>
gdb/doc/gdb.texinfo

index 63f6fe39a552087a0f44d3226167e564a8b3a086..ceb69669ea6057b97ccf4da9cbd909be8f4a9de2 100644 (file)
@@ -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>}.