diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-12 00:39:24 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-12 00:39:24 +0000 |
commit | a3f171870f6bcdf091a0647c37e4e25c0020e4f4 (patch) | |
tree | 9a4149aa4f66939d74184a3853f77fdda5780215 /gdb/utils.c | |
parent | 07450571864fbcc902268dac8cfb90cfa8533289 (diff) | |
download | gdb-a3f171870f6bcdf091a0647c37e4e25c0020e4f4.zip gdb-a3f171870f6bcdf091a0647c37e4e25c0020e4f4.tar.gz gdb-a3f171870f6bcdf091a0647c37e4e25c0020e4f4.tar.bz2 |
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/utils.c')
-rw-r--r-- | gdb/utils.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/gdb/utils.c b/gdb/utils.c index b6a99ac..f6fb20e 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -1130,15 +1130,15 @@ query (const char *ctlstr, ...) gdb_flush (gdb_stdout); if (annotation_level > 1) - printf_filtered ("\n\032\032pre-query\n"); + printf_filtered (("\n\032\032pre-query\n")); va_start (args, ctlstr); vfprintf_filtered (gdb_stdout, ctlstr, args); va_end (args); - printf_filtered ("(y or n) "); + printf_filtered (_("(y or n) ")); if (annotation_level > 1) - printf_filtered ("\n\032\032query\n"); + printf_filtered (("\n\032\032query\n")); wrap_here (""); gdb_flush (gdb_stdout); @@ -1171,11 +1171,11 @@ query (const char *ctlstr, ...) retval = 0; break; } - printf_filtered ("Please answer y or n.\n"); + printf_filtered (_("Please answer y or n.\n")); } if (annotation_level > 1) - printf_filtered ("\n\032\032post-query\n"); + printf_filtered (("\n\032\032post-query\n")); return retval; } @@ -1232,13 +1232,13 @@ defaulted_query (const char *ctlstr, const char defchar, va_list args) gdb_flush (gdb_stdout); if (annotation_level > 1) - printf_filtered ("\n\032\032pre-query\n"); + printf_filtered (("\n\032\032pre-query\n")); vfprintf_filtered (gdb_stdout, ctlstr, args); - printf_filtered ("(%s or %s) ", y_string, n_string); + printf_filtered (_("(%s or %s) "), y_string, n_string); if (annotation_level > 1) - printf_filtered ("\n\032\032query\n"); + printf_filtered (("\n\032\032query\n")); wrap_here (""); gdb_flush (gdb_stdout); @@ -1277,12 +1277,12 @@ defaulted_query (const char *ctlstr, const char defchar, va_list args) break; } /* Invalid entries are not defaulted and require another selection. */ - printf_filtered ("Please answer %s or %s.\n", + printf_filtered (_("Please answer %s or %s.\n"), y_string, n_string); } if (annotation_level > 1) - printf_filtered ("\n\032\032post-query\n"); + printf_filtered (("\n\032\032post-query\n")); return retval; } @@ -1666,7 +1666,7 @@ prompt_for_continue (void) char cont_prompt[120]; if (annotation_level > 1) - printf_unfiltered ("\n\032\032pre-prompt-for-continue\n"); + printf_unfiltered (("\n\032\032pre-prompt-for-continue\n")); strcpy (cont_prompt, "---Type <return> to continue, or q <return> to quit---"); @@ -1692,7 +1692,7 @@ prompt_for_continue (void) ignore = gdb_readline_wrapper (cont_prompt); if (annotation_level > 1) - printf_unfiltered ("\n\032\032post-prompt-for-continue\n"); + printf_unfiltered (("\n\032\032post-prompt-for-continue\n")); if (ignore) { |