diff options
author | Tom Tromey <tom@tromey.com> | 2022-01-02 11:42:07 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-03-29 12:46:24 -0600 |
commit | a11ac3b3e8ff6769badcf0041894f6c5acc1b94f (patch) | |
tree | 09cfacc40b2fbe929ca0013869915ddce49378ba /gdb/guile/scm-pretty-print.c | |
parent | 0426ad513f93bb1c5805988e60d6f87fbe738860 (diff) | |
download | binutils-a11ac3b3e8ff6769badcf0041894f6c5acc1b94f.zip binutils-a11ac3b3e8ff6769badcf0041894f6c5acc1b94f.tar.gz binutils-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/guile/scm-pretty-print.c')
-rw-r--r-- | gdb/guile/scm-pretty-print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/guile/scm-pretty-print.c b/gdb/guile/scm-pretty-print.c index 8a5c02d..707ef4b 100644 --- a/gdb/guile/scm-pretty-print.c +++ b/gdb/guile/scm-pretty-print.c @@ -689,7 +689,7 @@ ppscm_print_string_repr (SCM printer, enum display_hint hint, if (string.get ()[i] == '\0') gdb_puts ("\\000", stream); else - fputc_filtered (string.get ()[i], stream); + gdb_putc (string.get ()[i], stream); } } result = STRING_REPR_OK; |