summaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-02-28 08:21:55 -0700
committerTom Tromey <tromey@adacore.com>2022-02-28 11:33:30 -0700
commit972f7a4b97f81a0a5e6f46b9fb163796dc12ead5 (patch)
treeef051cf4349869e03ecdf31406afc1bb86edb660 /gdb/infcmd.c
parent29928b8e3b79e14abb11cfa78daec447158b79d4 (diff)
downloadbinutils-gdb-972f7a4b97f81a0a5e6f46b9fb163796dc12ead5.tar.gz
Add more filename styling
I found a few spots where filename styling ought to be applied, but is not.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r--gdb/infcmd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 682bebe1229..ea06ceb992c 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -438,7 +438,8 @@ run_command_1 (const char *args, int from_tty, enum run_how run_how)
uiout->field_string (NULL, "Starting program");
uiout->text (": ");
if (exec_file)
- uiout->field_string ("execfile", exec_file);
+ uiout->field_string ("execfile", exec_file,
+ file_name_style.style ());
uiout->spaces (1);
uiout->field_string ("infargs", current_inferior ()->args ());
uiout->text ("\n");