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/auto-load.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/auto-load.c')
-rw-r--r-- | gdb/auto-load.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gdb/auto-load.c b/gdb/auto-load.c index 680b879..9a1ccec 100644 --- a/gdb/auto-load.c +++ b/gdb/auto-load.c @@ -476,15 +476,18 @@ file_is_auto_load_safe (const char *filename) printf_filtered (_("\ To enable execution of this file add\n\ \tadd-auto-load-safe-path %s\n\ -line to your configuration file \"%s\".\n\ +line to your configuration file \"%ps\".\n\ To completely disable this security protection add\n\ \tset auto-load safe-path /\n\ -line to your configuration file \"%s\".\n\ +line to your configuration file \"%ps\".\n\ For more information about this security protection see the\n\ \"Auto-loading safe path\" section in the GDB manual. E.g., run from the shell:\n\ \tinfo \"(gdb)Auto-loading safe path\"\n"), filename_real.get (), - home_config.c_str (), home_config.c_str ()); + styled_string (file_name_style.style (), + home_config.c_str ()), + styled_string (file_name_style.style (), + home_config.c_str ())); advice_printed = true; } |