summaryrefslogtreecommitdiff
path: root/gdb/cli/cli-logging.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-14 16:18:43 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-14 16:18:43 +0000
commit7915a72c7f0c255cfcf47c1b186d3739aeafe4da (patch)
treef23858f72a74163f4ec1e652994bb47495f6090f /gdb/cli/cli-logging.c
parent5cba516c96c30419af2254897f0459ef4d640084 (diff)
downloadbinutils-gdb-7915a72c7f0c255cfcf47c1b186d3739aeafe4da.tar.gz
2005-02-14 Andrew Cagney <cagney@gnu.org>
Mark up add_setshow functions, replace "PRINT:" comment prefix with "FIXME: i18n:". * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update. * cris-tdep.c, dwarf2read.c, frame.c, hppa-tdep.c: Update. * infcall.c, m32r-rom.c, maint.c, mips-tdep.c: Update. * nto-tdep.c, observer.c, remote-rdi.c, remote.c: Update. * target.c, cli/cli-logging.c: Update.
Diffstat (limited to 'gdb/cli/cli-logging.c')
-rw-r--r--gdb/cli/cli-logging.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/gdb/cli/cli-logging.c b/gdb/cli/cli-logging.c
index c03b420369a..47e24b35e02 100644
--- a/gdb/cli/cli-logging.c
+++ b/gdb/cli/cli-logging.c
@@ -175,24 +175,24 @@ _initialize_cli_logging (void)
add_prefix_cmd ("logging", class_support, show_logging_command,
"Show logging options", &show_logging_cmdlist,
"show logging ", 0, &showlist);
- add_setshow_boolean_cmd ("overwrite", class_support, &logging_overwrite, "\
-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, /* PRINT: Whether logging overwrites or appends to the log file is %s. */
+ add_setshow_boolean_cmd ("overwrite", class_support, &logging_overwrite, _("\
+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, /* FIXME: i18n: Whether logging overwrites or appends to the log file is %s. */
NULL, NULL, &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.", "\
+ 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, /* PRINT: The logging output mode is %s. */
+If redirect is on, output will go only to the log file."),
+ NULL, /* FIXME: i18n: The logging output mode is %s. */
NULL, NULL, &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, /* PRINT: The current logfile is %s. */
+ 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, /* FIXME: i18n: The current logfile is %s. */
NULL, NULL,
&set_logging_cmdlist, &show_logging_cmdlist);
add_cmd ("on", class_support, set_logging_on,