gdb_file_up input = gdb_fopen_cloexec (filename.c_str (), "r");
debugfile = filename.c_str ();
- auto_load_debug_printf ("Attempted file \"%s\" %s.",
- debugfile,
+ auto_load_debug_printf ("Attempted file \"%ps\" %s.",
+ styled_string (file_name_style.style (), debugfile),
input != nullptr ? "exists" : "does not exist");
std::string debugfile_holder;
input = gdb_fopen_cloexec (debugfile, "r");
- auto_load_debug_printf ("Attempted file \"%s\" %s.",
- debugfile,
+ auto_load_debug_printf ("Attempted file \"%ps\" %s.",
+ styled_string (file_name_style.style (),
+ debugfile),
(input != nullptr
? "exists"
: "does not exist"));
{
}
+ bool can_emit_style_escape () override
+ { return m_stream->can_emit_style_escape (); }
+
DISABLE_COPY_AND_ASSIGN (timestamped_file);
void write (const char *buf, long len) override;