aboutsummaryrefslogtreecommitdiff
path: root/gdb/complaints.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-07-28 17:26:27 +0000
committerAndrew Cagney <cagney@redhat.com>2004-07-28 17:26:27 +0000
commit3b64bf9877bc5cfacd10117a1a0656c464545995 (patch)
tree8083bfb73b0053da51316ca45794ef24073e0671 /gdb/complaints.c
parent54a5b07d668e9320efb1ada27582f859ccfaaaf3 (diff)
downloadgdb-3b64bf9877bc5cfacd10117a1a0656c464545995.zip
gdb-3b64bf9877bc5cfacd10117a1a0656c464545995.tar.gz
gdb-3b64bf9877bc5cfacd10117a1a0656c464545995.tar.bz2
2004-07-28 Andrew Cagney <cagney@gnu.org>
* cli/cli-decode.c (add_setshow_zinteger_cmd) (add_setshow_cmd, add_setshow_auto_boolean_cmd) (add_setshow_boolean_cmd, add_setshow_cmd_full): Add help_doc and print parameters. Make string parameters constant. * command.h: Update. Update copyright. * remote.c (add_packet_config_cmd, _initialize_remote): Ditto. * observer.c (_initialize_observer): Ditto. * frame.c (_initialize_frame): Ditto. * complaints.c (_initialize_complaints): Ditto. * maint.c (_initialize_maint_cmds): Ditto. * target.c (initialize_targets): Ditto. * cli/cli-logging.c (_initialize_cli_logging): Ditto. * infcall.c (_initialize_infcall): Ditto. * arm-tdep.c (_initialize_arm_tdep): Ditto. * m32r-rom.c (_initialize_m32r_rom): Ditto. * remote-rdi.c (_initialize_remote_rdi): Ditto. * d10v-tdep.c (_initialize_d10v_tdep): Ditto. * mips-tdep.c (_initialize_mips_tdep): Ditto.
Diffstat (limited to 'gdb/complaints.c')
-rw-r--r--gdb/complaints.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/gdb/complaints.c b/gdb/complaints.c
index bd869f0..4c9ea14 100644
--- a/gdb/complaints.c
+++ b/gdb/complaints.c
@@ -1,7 +1,7 @@
/* Support for complaint handling during symbol reading in GDB.
- Copyright 1990, 1991, 1992, 1993, 1995, 1998, 1999, 2000, 2002 Free
- Software Foundation, Inc.
+ Copyright 1990, 1991, 1992, 1993, 1995, 1998, 1999, 2000, 2002,
+ 2004 Free Software Foundation, Inc.
This file is part of GDB.
@@ -312,9 +312,11 @@ void
_initialize_complaints (void)
{
add_setshow_cmd ("complaints", class_support, var_zinteger,
- &stop_whining,
- "Set max number of complaints about incorrect symbols.",
- "Show max number of complaints about incorrect symbols.",
+ &stop_whining, "\
+Set max number of complaints about incorrect symbols.", "\
+Show max number of complaints about incorrect symbols.", "\
+Set to zero to disable incorrect symbol complaints.", "\
+Max number of complaints about incorrect symbols is %s.",
NULL, NULL,
&setlist, &showlist);