Rename fprintf_symbol_filtered

fprintf_symbol_filtered is misnamed, because whether filtering happens
is now up to the stream.  This renames it to fprintf_symbol, which
isn't a great name (the first "f" doesn't mean much and the second one
is truly meaningless here), but "print_symbol" was already taken.
This commit is contained in:
Tom Tromey
2022-01-02 11:55:39 -07:00
parent 9fbf7f083e
commit bed009b9d8
6 changed files with 21 additions and 21 deletions

View File

@@ -230,10 +230,10 @@ cp_print_value_fields (struct value *val, struct ui_file *stream,
if (field_is_static (&type->field (i)))
{
gdb_puts ("static ", stream);
fprintf_symbol_filtered (stream,
type->field (i).name (),
current_language->la_language,
DMGL_PARAMS | DMGL_ANSI);
fprintf_symbol (stream,
type->field (i).name (),
current_language->la_language,
DMGL_PARAMS | DMGL_ANSI);
}
else
fputs_styled (type->field (i).name (),