{
ui_file *stream = m_streams.back ();
stream->emit_style_escape (style);
- if (test_flags (unfiltered_output))
- stream->puts_unfiltered (string);
- else
- stream->puts (string);
+ stream->puts (string);
stream->emit_style_escape (ui_file_style ());
}
if (m_suppress_output)
return;
- if (test_flags (unfiltered_output))
- gdb_printf (m_streams.back (), "%*s", numspaces, "");
- else
- print_spaces (numspaces, m_streams.back ());
+ print_spaces (numspaces, m_streams.back ());
}
void
if (m_suppress_output)
return;
- if (test_flags (unfiltered_output))
- gdb_puts (string, m_streams.back ());
- else
- gdb_puts (string, m_streams.back ());
+ gdb_puts (string, m_streams.back ());
}
void
{
ui_file *stream = m_streams.back ();
stream->emit_style_escape (style);
- if (test_flags (unfiltered_output))
- stream->puts_unfiltered (str.c_str ());
- else
- stream->puts (str.c_str ());
+ stream->puts (str.c_str ());
stream->emit_style_escape (ui_file_style ());
}
}
void
cli_ui_out::field_separator ()
{
- if (test_flags (unfiltered_output))
- gdb_putc (' ', m_streams.back ());
- else
- gdb_putc (' ', m_streams.back ());
+ gdb_putc (' ', m_streams.back ());
}
/* Constructor for cli_ui_out. */
{
ui_source_list = (1 << 0),
fix_multi_location_breakpoint_output = (1 << 1),
- /* For CLI output, this flag is set if unfiltered output is desired.
- This should only be used by low-level formatting functions. */
- unfiltered_output = (1 << 2),
/* This indicates that %pF should be disallowed in a printf format
string. */
- disallow_ui_out_field = (1 << 3)
+ disallow_ui_out_field = (1 << 2)
};
DEF_ENUM_FLAGS_TYPE (ui_out_flag, ui_out_flags);