aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli/cli-logging.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
commitb3f4233622f79fed7c4b9087734d97903770e9c9 (patch)
tree0a52830653b1b22b6a388ad58c9217eacbda4d89 /gdb/cli/cli-logging.c
parent3b64bf9877bc5cfacd10117a1a0656c464545995 (diff)
downloadgdb-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/cli/cli-logging.c')
-rw-r--r--gdb/cli/cli-logging.c5
1 files changed, 3 insertions, 2 deletions
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,