aboutsummaryrefslogtreecommitdiff
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
commit2c5b56ce999bb9327c42afc09ad015e850298573 (patch)
tree17afb21a41357622cd26d0e042a0f23b4375a282 /gdb/cli/cli-logging.c
parentf17c130bd8665a588e814387e43b8fe35e3d2fad (diff)
downloadgdb-2c5b56ce999bb9327c42afc09ad015e850298573.zip
gdb-2c5b56ce999bb9327c42afc09ad015e850298573.tar.gz
gdb-2c5b56ce999bb9327c42afc09ad015e850298573.tar.bz2
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 4e04bdf..e0f6589 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);