From: Christina Schimpe Date: Mon, 29 Dec 2025 15:15:14 +0000 (+0000) Subject: gdb: Update comment of c_type_print_template_args. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00e8b3a9bec097c4fcf72376aed6268d1f53f2c5;p=thirdparty%2Fbinutils-gdb.git gdb: Update comment of c_type_print_template_args. Remove function description for TABLE. This function does not take a parameter "table". Approved-By: Tom Tromey --- diff --git a/gdb/c-typeprint.c b/gdb/c-typeprint.c index 07d16ed361e..683517a2176 100644 --- a/gdb/c-typeprint.c +++ b/gdb/c-typeprint.c @@ -787,14 +787,8 @@ c_type_print_varspec_suffix (struct type *type, } } -/* A helper for c_type_print_base that displays template - parameters and their bindings, if needed. - - TABLE is the local bindings table to use. If NULL, no printing is - done. Note that, at this point, TABLE won't have any useful - information in it -- but it is also used as a flag to - print_name_maybe_canonical to activate searching the global typedef - table. +/* A helper for c_type_print_base_struct_union that displays template + parameters. TYPE is the type whose template arguments are being displayed.