diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2016-11-26 22:06:07 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2016-11-26 22:06:21 -0500 |
commit | 7fb048a2ee38bbc85ba0e96e2932cb0cb1f7381e (patch) | |
tree | 70825090a35517f819b81a61481c51ed7347b7ca /gdb/breakpoint.c | |
parent | d2c0eef48a1bb331ca08f8f26ff82c5d4086ba0c (diff) | |
download | gdb-7fb048a2ee38bbc85ba0e96e2932cb0cb1f7381e.zip gdb-7fb048a2ee38bbc85ba0e96e2932cb0cb1f7381e.tar.gz gdb-7fb048a2ee38bbc85ba0e96e2932cb0cb1f7381e.tar.bz2 |
Remove verbosity from ui_out_message and friends
That concept is never actually used, so it's just a burden. Removing it
facilitates the refactoring in upcoming patches.
gdb/ChangeLog:
* mi/mi-out.c (mi_message): Remove verbosity argument.
* ada-tasks.c (print_ada_task_info, info_task, task_command):
Update call.
* auto-load.c (auto_load_info_scripts): Likewise.
* breakpoint.c (breakpoint_1, watchpoints_info, tracepoints_info):
Likewise.
* cli-out.c (cli_message): Remove verbosity argument.
* inferior.c (print_inferior): Update call.
* linux-thread-db.c (info_auto_load_libthread_db): Likewise.
* probe.c (info_probes_for_ops): Likewise.
* skip.c (skip_info): Likewise.
* solib.c (info_sharedlibrary_command): Likewise.
* symfile.c (load_progress): Likewise.
* thread.c (print_thread_info_1): Likewise.
* ui-out.c (uo_message, ui_out_message): Remove verbosity argument.
(ui_out_get_verblvl): Remove.
* ui-out.h (ui_out_message): Remove verbosity argument.
(ui_out_get_verblvl): Remove.
(message_ftype): Remove verbosity argument.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index e2fcc08..d737cad 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -6954,9 +6954,9 @@ breakpoint_1 (char *args, int allflag, if (!filter) { if (args == NULL || *args == '\0') - ui_out_message (uiout, 0, "No breakpoints or watchpoints.\n"); + ui_out_message (uiout, "No breakpoints or watchpoints.\n"); else - ui_out_message (uiout, 0, + ui_out_message (uiout, "No breakpoint or watchpoint matching '%s'.\n", args); } @@ -7012,9 +7012,9 @@ watchpoints_info (char *args, int from_tty) if (num_printed == 0) { if (args == NULL || *args == '\0') - ui_out_message (uiout, 0, "No watchpoints.\n"); + ui_out_message (uiout, "No watchpoints.\n"); else - ui_out_message (uiout, 0, "No watchpoint matching '%s'.\n", args); + ui_out_message (uiout, "No watchpoint matching '%s'.\n", args); } } @@ -15478,9 +15478,9 @@ tracepoints_info (char *args, int from_tty) if (num_printed == 0) { if (args == NULL || *args == '\0') - ui_out_message (uiout, 0, "No tracepoints.\n"); + ui_out_message (uiout, "No tracepoints.\n"); else - ui_out_message (uiout, 0, "No tracepoint matching '%s'.\n", args); + ui_out_message (uiout, "No tracepoint matching '%s'.\n", args); } default_collect_info (); |