Unify gdb printf functions

Now that filtered and unfiltered output can be treated identically, we
can unify the printf family of functions.  This is done under the name
"gdb_printf".  Most of this patch was written by script.
This commit is contained in:
Tom Tromey 2022-01-02 11:46:15 -07:00
parent a11ac3b3e8
commit 6cb06a8cda
249 changed files with 8449 additions and 8463 deletions

View file

@ -64,16 +64,16 @@ show_target_file_system_kind_command (struct ui_file *file,
const char *value)
{
if (target_file_system_kind == file_system_kind_auto)
fprintf_filtered (file, _("\
gdb_printf (file, _("\
The assumed file system kind for target reported file names \
is \"%s\" (currently \"%s\").\n"),
value,
effective_target_file_system_kind ());
value,
effective_target_file_system_kind ());
else
fprintf_filtered (file, _("\
gdb_printf (file, _("\
The assumed file system kind for target reported file names \
is \"%s\".\n"),
value);
value);
}
void _initialize_filesystem ();