summaryrefslogtreecommitdiff
path: root/gdb/nto-tdep.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
commit21c206de3c74f451b3b76a865f6ae8215886aecf (patch)
treec2923a543ae773d96ac8043fc051099d30f7a69f /gdb/nto-tdep.c
parentbbd943b1d5f59b80a874de2c818c7660d6782fe6 (diff)
downloadgdb-21c206de3c74f451b3b76a865f6ae8215886aecf.tar.gz
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.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/gdb/nto-tdep.c b/gdb/nto-tdep.c
index ed32a5c6145..f562ebddb47 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. */