forked from Imagelibrary/binutils-gdb
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:
@@ -381,9 +381,9 @@ void
|
||||
cli_ui_out::field_separator ()
|
||||
{
|
||||
if (test_flags (unfiltered_output))
|
||||
fputc_unfiltered (' ', m_streams.back ());
|
||||
gdb_putc (' ', m_streams.back ());
|
||||
else
|
||||
fputc_filtered (' ', m_streams.back ());
|
||||
gdb_putc (' ', m_streams.back ());
|
||||
}
|
||||
|
||||
/* Constructor for cli_ui_out. */
|
||||
|
||||
Reference in New Issue
Block a user