From a3f171870f6bcdf091a0647c37e4e25c0020e4f4 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 12 Feb 2005 00:39:24 +0000 Subject: 2005-02-11 Andrew Cagney 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. --- gdb/tui/tui-hooks.c | 4 ++-- gdb/tui/tui-regs.c | 4 ++-- gdb/tui/tui-win.c | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'gdb/tui') diff --git a/gdb/tui/tui-hooks.c b/gdb/tui/tui-hooks.c index 64bcb99..91129be 100644 --- a/gdb/tui/tui-hooks.c +++ b/gdb/tui/tui-hooks.c @@ -88,7 +88,7 @@ tui_query_hook (const char * msg, va_list argp) gdb_flush (gdb_stdout); vfprintf_filtered (gdb_stdout, msg, argp); - printf_filtered ("(y or n) "); + printf_filtered (_("(y or n) ")); wrap_here (""); gdb_flush (gdb_stdout); @@ -121,7 +121,7 @@ tui_query_hook (const char * msg, va_list argp) retval = 0; break; } - printf_filtered ("Please answer y or n.\n"); + printf_filtered (_("Please answer y or n.\n")); } noecho (); return retval; diff --git a/gdb/tui/tui-regs.c b/gdb/tui/tui-regs.c index abb92a4..f7626b4 100644 --- a/gdb/tui/tui-regs.c +++ b/gdb/tui/tui-regs.c @@ -582,8 +582,8 @@ static struct cmd_list_element *tuireglist; static void tui_reg_command (char *args, int from_tty) { - printf_unfiltered ("\"tui reg\" must be followed by the name of a " - "tui reg command.\n"); + printf_unfiltered (_("\"tui reg\" must be followed by the name of a " + "tui reg command.\n")); help_list (tuireglist, "tui reg ", -1, gdb_stdout); } diff --git a/gdb/tui/tui-win.c b/gdb/tui/tui-win.c index 443172d..fba3700 100644 --- a/gdb/tui/tui-win.c +++ b/gdb/tui/tui-win.c @@ -295,8 +295,8 @@ static struct cmd_list_element *tuilist; static void tui_command (char *args, int from_tty) { - printf_unfiltered ("\"tui\" must be followed by the name of a " - "tui command.\n"); + printf_unfiltered (_("\"tui\" must be followed by the name of a " + "tui command.\n")); help_list (tuilist, "tui ", -1, gdb_stdout); } @@ -866,7 +866,7 @@ The window name specified must be valid and visible.\n")); if (TUI_DATA_WIN && TUI_DATA_WIN->generic.is_visible) tui_refresh_data_win (); xfree (buf_ptr); - printf_filtered ("Focus set to %s window.\n", + printf_filtered (_("Focus set to %s window.\n"), tui_win_name ((struct tui_gen_win_info *) tui_win_with_focus ())); } else -- cgit v1.1