From 972f7a4b97f81a0a5e6f46b9fb163796dc12ead5 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 28 Feb 2022 08:21:55 -0700 Subject: Add more filename styling I found a few spots where filename styling ought to be applied, but is not. --- gdb/inferior.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gdb/inferior.c') diff --git a/gdb/inferior.c b/gdb/inferior.c index bebddb44173..1abdde3b3b4 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"); -- cgit v1.2.1