summaryrefslogtreecommitdiff
path: root/gdb/cli/cli-cmds.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-12 00:39:24 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-12 00:39:24 +0000
commitdbe7319c7cad35fb5c5a012e056d67224cb09b02 (patch)
tree654d662ab72683abb5b968ebaacc86b930130a5b /gdb/cli/cli-cmds.c
parent638ba9185f02e50de82bede4914c9ece5c728d05 (diff)
downloadgdb-dbe7319c7cad35fb5c5a012e056d67224cb09b02.tar.gz
2005-02-11 Andrew Cagney <cagney@gnu.org>
Mark up some of printf_filtered and printf_unfiltered. * ada-lang.c, annotate.c, arch-utils.c, breakpoint.c: Update. * corelow.c, cp-namespace.c, cp-support.c, dcache.c: Update. * demangle.c, dsrec.c, dwarf2read.c, dwarfread.c: Update. * event-loop.c, event-top.c, exec.c, f-valprint.c: Update. * gdbtypes.c, inf-loop.c, inf-ptrace.c, inf-ttrace.c: Update. * infcmd.c, inflow.c, infrun.c, inftarg.c, language.c: Update. * linespec.c, linux-nat.c, linux-thread-db.c, maint.c: Update. * mdebugread.c, memattr.c, monitor.c, objc-lang.c: Update. * ocd.c, osabi.c, printcmd.c, procfs.c, regcache.c: Update. * remote.c, solib-som.c, solib.c, somsolib.c, source.c: Update. * stack.c, symfile.c, symmisc.c, target.c, thread.c: Update. * top.c, utils.c, valprint.c, value.c, cli/cli-cmds.c: Update. * cli/cli-dump.c, cli/cli-logging.c, tui/tui-hooks.c: Update. * tui/tui-regs.c, tui/tui-win.c: Update.
Diffstat (limited to 'gdb/cli/cli-cmds.c')
-rw-r--r--gdb/cli/cli-cmds.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c
index ed3cd8b0560..0e93182fbf3 100644
--- a/gdb/cli/cli-cmds.c
+++ b/gdb/cli/cli-cmds.c
@@ -190,7 +190,7 @@ error_no_arg (char *why)
static void
info_command (char *arg, int from_tty)
{
- printf_unfiltered ("\"info\" must be followed by the name of an info command.\n");
+ printf_unfiltered (_("\"info\" must be followed by the name of an info command.\n"));
help_list (infolist, "info ", -1, gdb_stdout);
}
@@ -317,10 +317,10 @@ pwd_command (char *args, int from_tty)
getcwd (gdb_dirbuf, sizeof (gdb_dirbuf));
if (strcmp (gdb_dirbuf, current_directory) != 0)
- printf_unfiltered ("Working directory %s\n (canonically %s).\n",
+ printf_unfiltered (_("Working directory %s\n (canonically %s).\n"),
current_directory, gdb_dirbuf);
else
- printf_unfiltered ("Working directory %s.\n", current_directory);
+ printf_unfiltered (_("Working directory %s.\n"), current_directory);
}
void
@@ -994,14 +994,14 @@ ambiguous_line_spec (struct symtabs_and_lines *sals)
int i;
for (i = 0; i < sals->nelts; ++i)
- printf_filtered ("file: \"%s\", line number: %d\n",
+ printf_filtered (_("file: \"%s\", line number: %d\n"),
sals->sals[i].symtab->filename, sals->sals[i].line);
}
static void
set_debug (char *arg, int from_tty)
{
- printf_unfiltered ("\"set debug\" must be followed by the name of a print subcommand.\n");
+ printf_unfiltered (_("\"set debug\" must be followed by the name of a print subcommand.\n"));
help_list (setdebuglist, "set debug ", -1, gdb_stdout);
}