Unify gdb putc functions

Now that filtered and unfiltered output can be treated identically, we
can unify the putc family of functions.  This is done under the name
"gdb_putc".  Most of this patch was written by script.
This commit is contained in:
Tom Tromey 2022-01-02 11:42:07 -07:00
parent 0426ad513f
commit a11ac3b3e8
26 changed files with 62 additions and 78 deletions

View file

@ -152,7 +152,7 @@ pascal_language::type_print_method_args (const char *physname,
physname += len;
for (j = 0; j < i; ++j)
fputc_filtered (physname[j], stream);
gdb_putc (physname[j], stream);
physname += i;
if (physname[0] != 0)