diff options
Diffstat (limited to 'gdb/cli-out.c')
-rw-r--r-- | gdb/cli-out.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/gdb/cli-out.c b/gdb/cli-out.c index d208207..e882756 100644 --- a/gdb/cli-out.c +++ b/gdb/cli-out.c @@ -272,21 +272,16 @@ cli_text (struct ui_out *uiout, const char *string) fputs_filtered (string, stream); } -static void ATTRIBUTE_PRINTF (3, 0) -cli_message (struct ui_out *uiout, int verbosity, - const char *format, va_list args) +static void ATTRIBUTE_PRINTF (2, 0) +cli_message (struct ui_out *uiout, const char *format, va_list args) { cli_out_data *data = (cli_out_data *) ui_out_data (uiout); if (data->suppress_output) return; - if (ui_out_get_verblvl (uiout) >= verbosity) - { - struct ui_file *stream = VEC_last (ui_filep, data->streams); - - vfprintf_unfiltered (stream, format, args); - } + struct ui_file *stream = VEC_last (ui_filep, data->streams); + vfprintf_unfiltered (stream, format, args); } static void |