aboutsummaryrefslogtreecommitdiff
path: root/gdb/event-top.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
commita3f171870f6bcdf091a0647c37e4e25c0020e4f4 (patch)
tree9a4149aa4f66939d74184a3853f77fdda5780215 /gdb/event-top.c
parent07450571864fbcc902268dac8cfb90cfa8533289 (diff)
downloadgdb-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/event-top.c')
-rw-r--r--gdb/event-top.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/event-top.c b/gdb/event-top.c
index 3540343..fab94f7 100644
--- a/gdb/event-top.c
+++ b/gdb/event-top.c
@@ -410,7 +410,7 @@ stdin_event_handler (int error, gdb_client_data client_data)
{
if (error)
{
- printf_unfiltered ("error detected on stdin\n");
+ printf_unfiltered (_("error detected on stdin\n"));
delete_file_handler (input_fd);
discard_all_continuations ();
/* If stdin died, we may as well kill gdb. */
@@ -533,7 +533,7 @@ command_handler (char *command)
{
long cmd_time = get_run_time () - time_at_cmd_start;
- printf_unfiltered ("Command execution time: %ld.%06ld\n",
+ printf_unfiltered (_("Command execution time: %ld.%06ld\n"),
cmd_time / 1000000, cmd_time % 1000000);
}
@@ -544,7 +544,7 @@ command_handler (char *command)
long space_now = lim - lim_at_start;
long space_diff = space_now - space_at_cmd_start;
- printf_unfiltered ("Space used: %ld (%c%ld for this command)\n",
+ printf_unfiltered (_("Space used: %ld (%c%ld for this command)\n"),
space_now,
(space_diff >= 0 ? '+' : '-'),
space_diff);
@@ -572,7 +572,7 @@ command_line_handler_continuation (struct continuation_arg *arg)
{
long cmd_time = get_run_time () - time_at_cmd_start;
- printf_unfiltered ("Command execution time: %ld.%06ld\n",
+ printf_unfiltered (_("Command execution time: %ld.%06ld\n"),
cmd_time / 1000000, cmd_time % 1000000);
}
if (display_space)
@@ -582,7 +582,7 @@ command_line_handler_continuation (struct continuation_arg *arg)
long space_now = lim - lim_at_start;
long space_diff = space_now - space_at_cmd_start;
- printf_unfiltered ("Space used: %ld (%c%ld for this command)\n",
+ printf_unfiltered (_("Space used: %ld (%c%ld for this command)\n"),
space_now,
(space_diff >= 0 ? '+' : '-'),
space_diff);
@@ -615,9 +615,9 @@ command_line_handler (char *rl)
if (annotation_level > 1 && instream == stdin)
{
- printf_unfiltered ("\n\032\032post-");
+ printf_unfiltered (("\n\032\032post-"));
puts_unfiltered (async_annotation_suffix);
- printf_unfiltered ("\n");
+ printf_unfiltered (("\n"));
}
if (linebuffer == 0)