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/compile | |
parent | 0426ad513f93bb1c5805988e60d6f87fbe738860 (diff) | |
download | gdb-a11ac3b3e8ff6769badcf0041894f6c5acc1b94f.zip gdb-a11ac3b3e8ff6769badcf0041894f6c5acc1b94f.tar.gz 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/compile')
-rw-r--r-- | gdb/compile/compile-cplus-types.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/compile/compile-cplus-types.c b/gdb/compile/compile-cplus-types.c index 18cf7b6..2b1b01e 100644 --- a/gdb/compile/compile-cplus-types.c +++ b/gdb/compile/compile-cplus-types.c @@ -1267,7 +1267,7 @@ static void compile_cplus_debug_output (T arg, Targs... Args) { compile_cplus_debug_output_1 (arg); - fputc_unfiltered (' ', gdb_stdlog); + gdb_putc (' ', gdb_stdlog); compile_cplus_debug_output (Args...); } @@ -1277,7 +1277,7 @@ compile_cplus_debug_output (T arg, Targs... Args) { \ gdb_puts (": ", gdb_stdlog); \ compile_cplus_debug_output (R); \ - fputc_unfiltered ('\n', gdb_stdlog); \ + gdb_putc ('\n', gdb_stdlog); \ } \ #define GCC_METHOD0(R, N) \ |