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

@ -140,11 +140,11 @@ deprecated_show_value_hack (struct ui_file *ignore_file,
case var_optional_filename:
case var_filename:
case var_enum:
printf_filtered ((" is \"%s\".\n"), value);
gdb_printf ((" is \"%s\".\n"), value);
break;
default:
printf_filtered ((" is %s.\n"), value);
gdb_printf ((" is %s.\n"), value);
break;
}
}