mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-12-19 01:19:41 +08:00
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:
@@ -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) \
|
||||
|
||||
Reference in New Issue
Block a user