summaryrefslogtreecommitdiff
path: root/gdb/cli/cli-logging.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-17 13:49:56 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-17 13:49:56 +0000
commitfbb38cc2f8bfd386c918d62fb81b2a25079c2801 (patch)
treed4a920a7102fa97428599847c992c1831f8fa6f8 /gdb/cli/cli-logging.c
parentdcfc9b8e1e54f1977623ffae10fa2117e4334979 (diff)
downloadgdb-fbb38cc2f8bfd386c918d62fb81b2a25079c2801.tar.gz
2005-02-17 Andrew Cagney <cagney@gnu.org>
* cli/cli-decode.c (add_setshow_cmd_full, add_setshow_enum_cmd) (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd) (add_setshow_filename_cmd, add_setshow_string_cmd) (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete fprint_setshow parameter. * command.h (fprint_setshow_ftype): Delete. (add_setshow_cmd_full, add_setshow_enum_cmd) (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd) (add_setshow_filename_cmd, add_setshow_string_cmd) (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete fprint_setshow parameter. * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update. * complaints.c, cris-tdep.c, dwarf2read.c, frame.c: Update. * hppa-tdep.c, infcall.c, m32r-rom.c, maint.c: Update. * mips-tdep.c, nto-tdep.c, observer.c, remote-rdi.c: Update * remote.c, target.c, cli/cli-logging.c: Update.
Diffstat (limited to 'gdb/cli/cli-logging.c')
-rw-r--r--gdb/cli/cli-logging.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/cli/cli-logging.c b/gdb/cli/cli-logging.c
index 4e04bdf563a..e0f65895686 100644
--- a/gdb/cli/cli-logging.c
+++ b/gdb/cli/cli-logging.c
@@ -179,21 +179,23 @@ _initialize_cli_logging (void)
Set whether logging overwrites or appends to the log file."), _("\
Show whether logging overwrites or appends to the log file."), _("\
If set, logging overrides the log file."),
+ NULL,
NULL, /* FIXME: i18n: Whether logging overwrites or appends to the log file is %s. */
- NULL, NULL, &set_logging_cmdlist, &show_logging_cmdlist);
+ &set_logging_cmdlist, &show_logging_cmdlist);
add_setshow_boolean_cmd ("redirect", class_support, &logging_redirect, _("\
Set the logging output mode."), _("\
Show the logging output mode."), _("\
If redirect is off, output will go to both the screen and the log file.\n\
If redirect is on, output will go only to the log file."),
+ NULL,
NULL, /* FIXME: i18n: The logging output mode is %s. */
- NULL, NULL, &set_logging_cmdlist, &show_logging_cmdlist);
+ &set_logging_cmdlist, &show_logging_cmdlist);
add_setshow_filename_cmd ("file", class_support, &logging_filename, _("\
Set the current logfile."), _("\
Show the current logfile."), _("\
The logfile is used when directing GDB's output."),
+ NULL,
NULL, /* FIXME: i18n: The current logfile is %s. */
- NULL, NULL,
&set_logging_cmdlist, &show_logging_cmdlist);
add_cmd ("on", class_support, set_logging_on,
_("Enable logging."), &set_logging_cmdlist);