aboutsummaryrefslogtreecommitdiff
path: root/gdb/complaints.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-07-28 19:42:01 +0000
committerAndrew Cagney <cagney@redhat.com>2004-07-28 19:42:01 +0000
commitb3f4233622f79fed7c4b9087734d97903770e9c9 (patch)
tree0a52830653b1b22b6a388ad58c9217eacbda4d89 /gdb/complaints.c
parent3b64bf9877bc5cfacd10117a1a0656c464545995 (diff)
downloadfsf-binutils-gdb-b3f4233622f79fed7c4b9087734d97903770e9c9.zip
fsf-binutils-gdb-b3f4233622f79fed7c4b9087734d97903770e9c9.tar.gz
fsf-binutils-gdb-b3f4233622f79fed7c4b9087734d97903770e9c9.tar.bz2
2004-07-28 Andrew Cagney <cagney@gnu.org>
* cli/cli-decode.c (add_setshow_cmd): Delete function. (add_setshow_cmd_full): Make static. * command.h (add_setshow_cmd, add_setshow_cmd_full): Delete. (add_setshow_filename_cmd, add_setshow_string_cmd): Declare. * cli/cli-decode.c (add_setshow_filename_cmd) (add_setshow_string_cmd): New functions. * nto-tdep.c (_initialize_nto_tdep): Update. Fix parameters. * mips-tdep.c (_initialize_mips_tdep): Update. * m32r-rom.c (_initialize_m32r_rom): Update. Update copyright. * cli/cli-logging.c (_initialize_cli_logging): Update. * complaints.c (_initialize_complaints): Update. * remote.c (_initialize_remote): Update.
Diffstat (limited to 'gdb/complaints.c')
-rw-r--r--gdb/complaints.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/complaints.c b/gdb/complaints.c
index 4c9ea14..378ad70 100644
--- a/gdb/complaints.c
+++ b/gdb/complaints.c
@@ -311,13 +311,12 @@ clear_complaints (struct complaints **c, int less_verbose, int noisy)
void
_initialize_complaints (void)
{
- add_setshow_cmd ("complaints", class_support, var_zinteger,
- &stop_whining, "\
+ 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.", "\
Set to zero to disable incorrect symbol complaints.", "\
Max number of complaints about incorrect symbols is %s.",
- NULL, NULL,
- &setlist, &showlist);
+ NULL, NULL,
+ &setlist, &showlist);
}