Unify gdb puts functions
Now that filtered and unfiltered output can be treated identically, we can unify the puts family of functions. This is done under the name "gdb_puts". Most of this patch was written by script.
This commit is contained in:
parent
19a7b8ab87
commit
0426ad513f
86 changed files with 1196 additions and 1204 deletions
|
@ -221,9 +221,9 @@ cli_ui_out::do_text (const char *string)
|
|||
return;
|
||||
|
||||
if (test_flags (unfiltered_output))
|
||||
fputs_unfiltered (string, m_streams.back ());
|
||||
gdb_puts (string, m_streams.back ());
|
||||
else
|
||||
fputs_filtered (string, m_streams.back ());
|
||||
gdb_puts (string, m_streams.back ());
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue