diff options
Diffstat (limited to 'gdb/complaints.c')
-rw-r--r-- | gdb/complaints.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/gdb/complaints.c b/gdb/complaints.c index 3f9be14..d060090 100644 --- a/gdb/complaints.c +++ b/gdb/complaints.c @@ -309,13 +309,23 @@ clear_complaints (struct complaints **c, int less_verbose, int noisy) complaints->series = SHORT_FIRST_MESSAGE; } +static void +fprint_setshow_complaints (struct cmd_list_element *cmd, + struct ui_file *file, + const char *value) +{ + fprintf_filtered (file, _("Max number of complaints about incorrect" + " symbols is %s."), + value); +} + void _initialize_complaints (void) { add_setshow_zinteger_cmd ("complaints", class_support, &stop_whining, _("\ Set max number of complaints about incorrect symbols."), _("\ -Show max number of complaints about incorrect symbols."), NULL, _("\ -Max number of complaints about incorrect symbols is %s."), +Show max number of complaints about incorrect symbols."), NULL, + fprint_setshow_complaints, NULL, NULL, &setlist, &showlist); |