diff options
author | Tom Tromey <tromey@adacore.com> | 2022-02-28 08:21:55 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-02-28 11:33:30 -0700 |
commit | 972f7a4b97f81a0a5e6f46b9fb163796dc12ead5 (patch) | |
tree | ef051cf4349869e03ecdf31406afc1bb86edb660 /gdb/inferior.c | |
parent | 29928b8e3b79e14abb11cfa78daec447158b79d4 (diff) | |
download | gdb-972f7a4b97f81a0a5e6f46b9fb163796dc12ead5.zip gdb-972f7a4b97f81a0a5e6f46b9fb163796dc12ead5.tar.gz gdb-972f7a4b97f81a0a5e6f46b9fb163796dc12ead5.tar.bz2 |
Add more filename styling
I found a few spots where filename styling ought to be applied, but is
not.
Diffstat (limited to 'gdb/inferior.c')
-rw-r--r-- | gdb/inferior.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/inferior.c b/gdb/inferior.c index bebddb4..1abdde3 100644 --- a/gdb/inferior.c +++ b/gdb/inferior.c @@ -36,6 +36,7 @@ #include "readline/tilde.h" #include "progspace-and-thread.h" #include "gdbsupport/buildargv.h" +#include "cli/cli-style.h" /* Keep a registry of per-inferior data-pointers required by other GDB modules. */ @@ -521,7 +522,8 @@ print_inferior (struct ui_out *uiout, const char *requested_inferiors) uiout->field_string ("connection-id", conn); if (inf->pspace->exec_filename != nullptr) - uiout->field_string ("exec", inf->pspace->exec_filename.get ()); + uiout->field_string ("exec", inf->pspace->exec_filename.get (), + file_name_style.style ()); else uiout->field_skip ("exec"); |