From b3f4233622f79fed7c4b9087734d97903770e9c9 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 28 Jul 2004 19:42:01 +0000 Subject: 2004-07-28 Andrew Cagney * 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. --- gdb/cli/cli-logging.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gdb/cli/cli-logging.c') diff --git a/gdb/cli/cli-logging.c b/gdb/cli/cli-logging.c index ec362e3..6b32b33 100644 --- a/gdb/cli/cli-logging.c +++ b/gdb/cli/cli-logging.c @@ -187,12 +187,13 @@ 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.", "\ The logging output mode is %s.", NULL, NULL, &set_logging_cmdlist, &show_logging_cmdlist); - add_setshow_cmd ("file", class_support, var_filename, &logging_filename, "\ + 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.", "\ The current logfile is %s.", - NULL, NULL, &set_logging_cmdlist, &show_logging_cmdlist); + NULL, NULL, + &set_logging_cmdlist, &show_logging_cmdlist); add_cmd ("on", class_support, set_logging_on, "Enable logging.", &set_logging_cmdlist); add_cmd ("off", class_support, set_logging_off, -- cgit v1.1