diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-07-28 19:42:01 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-07-28 19:42:01 +0000 |
commit | b3f4233622f79fed7c4b9087734d97903770e9c9 (patch) | |
tree | 0a52830653b1b22b6a388ad58c9217eacbda4d89 /gdb/nto-tdep.c | |
parent | 3b64bf9877bc5cfacd10117a1a0656c464545995 (diff) | |
download | gdb-b3f4233622f79fed7c4b9087734d97903770e9c9.zip gdb-b3f4233622f79fed7c4b9087734d97903770e9c9.tar.gz 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/nto-tdep.c')
-rw-r--r-- | gdb/nto-tdep.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/gdb/nto-tdep.c b/gdb/nto-tdep.c index ed32a5c..f562ebd 100644 --- a/gdb/nto-tdep.c +++ b/gdb/nto-tdep.c @@ -1,6 +1,6 @@ /* nto-tdep.c - general QNX Neutrino target functionality. - Copyright 2003 Free Software Foundation, Inc. + Copyright 2003, 2004 Free Software Foundation, Inc. Contributed by QNX Software Systems Ltd. @@ -306,12 +306,15 @@ static struct core_fns regset_core_fns = { void _initialize_nto_tdep (void) { - add_setshow_cmd ("nto-debug", class_maintenance, var_zinteger, - &nto_internal_debugging, "Set QNX NTO internal debugging.\n\ + add_setshow_zinteger_cmd ("nto-debug", class_maintenance, + &nto_internal_debugging, "\ +Set QNX NTO internal debugging.", "\ +Show QNX NTO internal debugging.", "\ When non-zero, nto specific debug info is\n\ displayed. Different information is displayed\n\ -for different positive values.", "Show QNX NTO internal debugging.\n", - NULL, NULL, &setdebuglist, &showdebuglist); +for different positive values.", "\ +QNX NTO internal debugging is %s.", + NULL, NULL, &setdebuglist, &showdebuglist); /* We use SIG45 for pulses, or something, so nostop, noprint and pass them. */ |