Add more filename styling

I found a few spots where filename styling ought to be applied, but is
not.
This commit is contained in:
Tom Tromey 2022-02-28 08:21:55 -07:00
parent 29928b8e3b
commit 972f7a4b97
7 changed files with 21 additions and 9 deletions

View file

@ -4508,7 +4508,8 @@ info_sources_worker (struct ui_out *uiout,
if (group_by_objfile)
{
output_tuple.emplace (uiout, nullptr);
uiout->field_string ("filename", objfile_name (objfile));
uiout->field_string ("filename", objfile_name (objfile),
file_name_style.style ());
uiout->text (":\n");
bool debug_fully_readin = !objfile->has_unexpanded_symtabs ();
if (uiout->is_mi_like_p ())