aboutsummaryrefslogtreecommitdiff
path: root/gdb/p-typeprint.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-01-02 11:42:07 -0700
committerTom Tromey <tom@tromey.com>2022-03-29 12:46:24 -0600
commita11ac3b3e8ff6769badcf0041894f6c5acc1b94f (patch)
tree09cfacc40b2fbe929ca0013869915ddce49378ba /gdb/p-typeprint.c
parent0426ad513f93bb1c5805988e60d6f87fbe738860 (diff)
downloadfsf-binutils-gdb-a11ac3b3e8ff6769badcf0041894f6c5acc1b94f.zip
fsf-binutils-gdb-a11ac3b3e8ff6769badcf0041894f6c5acc1b94f.tar.gz
fsf-binutils-gdb-a11ac3b3e8ff6769badcf0041894f6c5acc1b94f.tar.bz2
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.
Diffstat (limited to 'gdb/p-typeprint.c')
-rw-r--r--gdb/p-typeprint.c2
1 files changed, 1 insertions, 1 deletions
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)