From a11ac3b3e8ff6769badcf0041894f6c5acc1b94f Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 2 Jan 2022 11:42:07 -0700 Subject: 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. --- gdb/p-typeprint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/p-typeprint.c') diff --git a/gdb/p-typeprint.c b/gdb/p-typeprint.c index 98bbee9..f8bdf72 100644 --- a/gdb/p-typeprint.c +++ b/gdb/p-typeprint.c @@ -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) -- cgit v1.1